Module that kips a configurable number of events between each that it allows through. Note that this module really skips (N-1) events, it uses a simple modular division as its critera. This module will cut down the data sample to 1/N of its original size. More...
Classes | |
class | Filter |
Filter events based on simple expressions. More... | |
class | FLSFilter |
class | SkipNEvents |
class | TruthContain |
class | TruthFilter |
A class for filtering Truth hits and truth interactions. More... | |
Enumerations | |
enum | kPars { kNEvts, kPdg, kCcNc, kIact, kEnu, kX, kY, kZ, kEdge, kInsideFiducialVolume, kNhit, kTotAdc, kNSlice, kSliceNXHit, kSliceNYHit, kVertexInFiducial, kNFLShit, kNumPars } |
Functions | |
bool | compareBySecondLength (const std::pair< int, std::string > &a, const std::pair< int, std::string > &b) |
Variables | |
const TString | kParNames [kNumPars] |
Module that kips a configurable number of events between each that it allows through. Note that this module really skips (N-1) events, it uses a simple modular division as its critera. This module will cut down the data sample to 1/N of its original size.
Class to filter truth information.
enum filter::kPars |
Enumerator | |
---|---|
kNEvts |
Number of true neutrino interactions. |
kPdg |
PDG code of the neutrino. |
kCcNc |
Value of Nu().CCNC() |
kIact |
Value of Nu().InteractionType() |
kEnu |
True neutrino energy (GeV) |
kX |
True vertex x position (cm) |
kY |
True vertex y position (cm) |
kZ |
True vertex z position (cm) |
kEdge |
Distance to detector edge (cm) |
kInsideFiducialVolume |
Is event inside fiducial volume? (fiducial volume is defined in Geometry.fcl) |
kNhit |
Total number of hits in the event. |
kTotAdc |
Total ADC in the event. |
kNSlice |
Total number of slices in the event (including noise slice) |
kSliceNXHit |
Number of hits in X view of the biggest physics slice. |
kSliceNYHit |
Number of hits in X view of the biggest physics slice. |
kVertexInFiducial |
Is track vertex (start position) inside the fiducial volume defined in filter. |
kNFLShit | |
kNumPars |
Definition at line 28 of file Filter_module.cc.
bool filter::compareBySecondLength | ( | const std::pair< int, std::string > & | a, |
const std::pair< int, std::string > & | b | ||
) |
const TString filter::kParNames[kNumPars] |
Definition at line 51 of file Filter_module.cc.