1 #include "ECalEMEnergySystematicsBase.hxx" 2 #include "EventBoxTracker.hxx" 23 for (Int_t iecal=0; iecal<static_cast<AnaTrackB*>(tracks[itrk])->nECALSegments; iecal++){
67 if (det == SubDetId::kFGD1 || det == SubDetId::kFGD){
68 IDs[ngroups++] = EventBoxTracker::kTracksWithTPCorFGD1;
70 if (det == SubDetId::kFGD2 || det == SubDetId::kFGD){
71 IDs[ngroups++] = EventBoxTracker::kTracksWithTPCorFGD2;
AnaECALParticleB * ECALSegments[NMAXECALS]
The ECAL segments that contributed to this global track.
int nECALSegments
How many ECAL tracks are associated with this track.
virtual bool UndoSystematic(AnaEventC &event)
Undo the systematic variations done by ApplyVariation. This is faster tha reseting the full Spill...
Representation of an ECAL segment of a global track.
SystBoxB * GetSystBox(const AnaEventC &event, Int_t isel=0, Int_t ibranch=0) const
Get the SystBox corresponding to a selection, branch and event.
void SetNParameters(int N)
Set the number of systematic parameters associated to this systematic.
static bool GetDetectorUsed(unsigned long BitField, SubDetId::SubDetEnum det)
Method to see if a certain subdetector or subdetector system is used.
const AnaParticleB * Original
Int_t GetRelevantRecObjectGroups(const SelectionBase &sel, Int_t *IDs) const
Get the TrackGroup IDs array for this systematic.
Representation of a global track.
TypeEnum
Enumerator describing the values that _type member can take.
UInt_t GetNBranches() const
Return the number of branches.
Int_t nRelevantRecObjects
----—— Relevant rec objects and true objects for each systematic ------------—— ...
Int_t GetNBins()
Get the number of bins.
SubDetId_h GetDetectorFV(Int_t ibranch=0) const
Get the detector in which the Fiducial Volume is defined.
virtual bool IsRelevantRecObject(const AnaEventC &, const AnaRecObjectC &) const
Check whether a RecObject is relevant for this systematic or not.