1 #include "baseSelection.hxx" 2 #include "p0dNumuCCSelection.hxx" 3 #include "CutUtils.hxx" 4 #include "trackerSelectionUtils.hxx" 5 #include "EventBoxUtils.hxx" 9 p0dNumuCCSelection::p0dNumuCCSelection(
bool forceBreak):
SelectionBase(forceBreak,
EventBoxId::kEventBoxTracker) {
27 SetBranchAlias(0,
"trunk");
37 if (!event.EventBoxes[EventBoxId::kEventBoxTracker])
40 boxUtils::FillTracksWithTPC(event, static_cast<SubDetId::SubDetEnum>(GetDetectorFV()));
41 boxUtils::FillTracksWithP0D(event);
42 boxUtils::FillTrajsChargedInTPC(event);
43 boxUtils::FillTrajsChargedInP0D(event);
51 SetDetectorFV(SubDetId::kP0D);
62 trackerSelUtils::FindLeadingTracks(event, box);
73 box->
VetoTrack = cutUtils::FindP0DVetoTrack(event);
bool Apply(AnaEventC &event, ToyBoxB &box) const
bool Apply(AnaEventC &event, ToyBoxB &box) const
AnaTrackB * MainTrack
For storing the Main Track (The lepton candidate in geranal: HMN or HMP track)
bool Apply(AnaEventC &event, ToyBoxB &box) const
AnaTrackB * VetoTrack
For storing the veto track.
void DefineSteps()
Define all steps in the selection.
AnaTrackB * HMNtrack
For storing the highest momentum negative track.
void DefineDetectorFV()
Define the detector Fiducial Volume in which this selection is applied.
Find the Vertex. For the moment it's just the Star position of the HM track.
A cut on event quality. Requires good beam and ND280 data quality flags.
virtual void InitializeEvent(AnaEventC &)
Fill the EventBox with the objects needed by this selection.