1 #ifndef p0dExampleAnalysis_h 2 #define p0dExampleAnalysis_h 4 #include "baseP0DAnalysis.hxx" 5 #include "P0DDataClasses.hxx" 6 #include "ND280AnalysisUtils.hxx" 7 #include "p0dExampleSelection.hxx" 18 void DefineSelections();
19 void DefineCorrections();
20 void DefineSystematics();
21 void DefineConfigurations();
22 void DefineMicroTrees(
bool addBase=
true);
23 void DefineTruthTree();
25 void FillMicroTrees(
bool addBase=
true);
26 void FillToyVarsInMicroTrees(
bool addBase=
true);
30 using baseAnalysis::FillTruthTree;
37 if( _isUsingReconDirP0D){
41 else if(_isUsingReconDirP0DNew){
61 void FillMicroTreesNative();
62 void FillMicroTreesLocal();
63 void FillCategories();
67 enum enumStandardMicroTrees_p0dExampleAnalysis{
68 vertexFiducial = enumStandardMicroTreesLast_baseP0DAnalysis+1,
72 ClusterInVertexTruePDG,
73 ClusterInVertexPosition,
78 nP0DOnlyTracksInGlobal,
80 P0DOnlyTracksInGlobalID,
106 nClustersInParticleInVertex,
107 nTracksInParticleInVertex,
108 nShowersInParticleInVertex,
109 nHitsInParticleInVertex,
110 nNodesInParticleInVertex,
111 nClustersInParticleInVertex2,
113 ParticleInVertexPosition,
114 ParticleInVertexMomentum,
115 ParticleInVertexEDeposit,
116 ParticleInVertexLength,
118 ParticleInVertexLink,
119 ParticleInVertexGlobal,
120 ParticleInVertexTrueMomentum,
121 ParticleInVertexTruePDG,
123 ClusterInParticleInVertexTruePDG,
124 ClusterInParticleInVertexPosition,
126 HitInParticleInVertexPosition,
127 HitInParticleInVertexCharge,
128 HitInParticleInVertexType,
134 enumStandardMicroTreesLast_p0dExampleAnalysis
139 bool _isUsingReconDirP0D;
140 bool _isUsingReconDirP0DNew;
bool Initialize()
[AnalysisAlgorithm_mandatory]
virtual AnaVertexB * GetVertex() const
The ToyBoxP0D does not have a Vertex method.
virtual AnaEventC * MakeEvent()
Create the appropriate event type from an Spill and a Bunch in that spill.
Representation of a true Monte Carlo vertex.
AnaP0DBunch & GetBunch()
Get a casted AnaBunchBB to AnaBunch from the InputManager.
AnaTrueVertexB * TrueVertex
For storing the true vertex, for analyses with no reconstructed primary vertex.
virtual const ToyBoxP0D & box(Int_t isel=-1) const
Returns the ToyBoxP0D.
Representation of a true Monte Carlo vertex.
virtual AnaEventC * MakeEvent()
Create the appropriate event time from an Spill and a Bunch in that spill.
Representation of a global vertex.
virtual AnaTrueVertexB * GetTrueVertex() const
returns the true vertex from the ToyBoxP0D
AnaSpill & GetSpill()
Get a casted AnaSpillC to AnaSpill from the InputManager.