1 #ifndef CoreDataClasses_hxx 2 #define CoreDataClasses_hxx 10 #include "TLorentzVector.h" 11 #include "BasicTypes.hxx" 19 #define dump_array4(par) std::cout<< #par << ": \t" << par[0] << " " << par[1] << " " << par[2] << " " << par[3] << std::endl; 20 #define dump_array3(par) std::cout<< #par << ": \t" << par[0] << " " << par[1] << " " << par[2] << std::endl; 24 const UInt_t NMAXRECOBJECTGROUPS = 20;
25 const UInt_t NMAXTRUEOBJECTGROUPS = 20;
27 const UInt_t NMAXEVENTBOXES = 5;
124 AnaParticleB* LeptonCandidate[SampleId::kNSamples];
127 AnaTrueVertexB* TrueVertex[SampleId::kNSamples];
130 float VertexPosition[SampleId::kNSamples][4];
133 SampleId::SampleEnum EventSample;
136 UInt_t RooVertexIndex[SampleId::kNSamples];
150 Int_t nRecObjectsInGroup[NMAXRECOBJECTGROUPS];
154 Int_t nTrueObjectsInGroup[NMAXTRUEOBJECTGROUPS];
170 virtual void Print()
const;
197 virtual void Print()
const;
200 virtual bool GetIsMC()
const = 0;
203 virtual void CopyArraysIntoVectors() = 0;
206 virtual void CopyVectorsIntoArrays() = 0;
209 virtual void RedoLinks() = 0;
236 virtual bool GetIsMC()
const = 0;
239 virtual void Copy(
const AnaEventC& event,
bool copyBunchInfo =
true,
bool cloneTruth=
true);
242 virtual void Print()
const;
AnaEventC * Event
The modified event.
virtual AnaRecObjectC * Clone()
Clone this object.
Int_t Status
The Status of the fit of this reconstructed object.
std::vector< AnaBunchC * > Bunches
The reconstructed objects, split into timing bunches.
virtual AnaTrueObjectC * Clone()
Clone this object.
AnaTrueObjectC * TrueObject
The link to the true oject that most likely generated this reconstructed object.
virtual AnaBunchC * Clone()
Clone this object.
Int_t UniqueID
The UniqueID of this reconstructed object.
Int_t ID
The ID of the trueObj, which corresponds to the ID of the TTruthParticle that created it...
bool isClone
Is this the original Event or a clone.
Int_t UniqueID
The event unique ID.
bool isClone
Is this the original Event or a clone.
Float_t Weight
The weight to apply to this bunch (nominally 1). An example is the beam flux weight.
Float_t Weight
Run, subrun, event, time stamp, etc.
AnaEventC * RawEvent
The Raw event.
AnaEventSummaryC * Summary
A summary of the event with high level quantities.
Int_t Bunch
The index of this bunch (0-7).
virtual AnaSuperEventB * Clone()
Clone this object.
bool isClone
Is this the original Event or a clone.
void Print() const
Dump the object to screen.
virtual std::string GetEventInfoString() const
User-frienly method to get event info (run,subrun,etc)
Int_t nEventBoxes
The array of boxes where objects that are valid for all toys are stored.
Float_t POTWeight
The data/MC POT ratio.