#include <TrackReducer.h>
Public Member Functions | |
void | Initialize (fhicl::ParameterSet *config=NULL) |
void | Finalize () |
bool | ProcessEvent (const gallery::Event &ev, const std::vector< event::Interaction > &truth, std::vector< event::RecoInteraction > &reco) |
Public Member Functions inherited from core::SelectionBase | |
SelectionBase () | |
virtual | ~SelectionBase () |
Public Member Functions inherited from core::ProcessorBase | |
ProcessorBase () | |
virtual | ~ProcessorBase () |
virtual void | FillTree () |
virtual void | FillRecoTree () |
virtual void | EventCleanup () |
template<class T > | |
TBranch * | AddBranch (std::string name, T *obj) |
template<class T > | |
TBranch * | AddRecoBranch (std::string name, T *obj) |
Private Attributes | |
Tracks | fTracks |
Additional Inherited Members | |
Public Attributes inherited from core::ProcessorBase | |
std::vector < event::RecoInteraction > * | fReco |
Reco interaction list. More... | |
Protected Member Functions inherited from core::ProcessorBase | |
virtual void | Initialize (char *config=NULL) |
virtual void | Setup (char *config=NULL) |
virtual void | Setup (fhicl::ParameterSet *config=NULL) |
virtual void | Teardown () |
void | BuildEventTree (gallery::Event &ev) |
void | SetupServices (gallery::Event &ev) |
void | UpdateSubRuns (gallery::Event &ev) |
void | UpdateFileMeta (gallery::Event &ev) |
Protected Attributes inherited from core::ProcessorBase | |
unsigned long | fEventIndex |
An incrementing index. More... | |
Experiment | fExperimentID |
Experiment identifier. More... | |
ProviderManager * | fProviderManager |
Interface for provider access. More... | |
std::string | fOutputFilename |
The output filename. More... | |
std::string | fProviderConfig |
A custom provider config fcl file. More... | |
std::vector< geo::BoxBoundedGeo > | fActiveVolumes |
List of active volumes in configured detector. More... | |
bool | fWriteTree |
Enable writing of the main tree. More... | |
TFile * | fOutputFile |
The output ROOT file. More... | |
TTree * | fTree |
The output ROOT tree. More... | |
event::Event * | fEvent |
The standard output event data structure. More... | |
bool | fWriteRecoTree |
Enable writing of the reco tree. More... | |
TTree * | fRecoTree |
The output reco ROOT tree. More... | |
event::RecoEvent * | fRecoEvent |
The standard output reco event data structure. More... | |
TTree * | fSubRunTree |
Subrun output tree. More... | |
SubRun * | fSubRun |
Standard output subrun structure. More... | |
TTree * | fFileMetaTree |
File metadata output tree. More... | |
FileMeta * | fFileMeta |
standard output file metadata structure More... | |
TParameter< int > * | fExperimentParameter |
Saves value of experiment enum. More... | |
std::set< std::pair< int, int > > | fSubRunCache |
Cache stored subruns. More... | |
art::InputTag | fTruthTag |
art tag for MCTruth information More... | |
art::InputTag | fFluxTag |
art tag for MCFlux information More... | |
std::vector< art::InputTag > | fWeightTags |
art tag(s) for MCEventWeight information More... | |
art::InputTag | fMCTrackTag |
art tag for MCTrack More... | |
art::InputTag | fMCShowerTag |
art tag for MCShower More... | |
art::InputTag | fMCParticleTag |
art tag for MCParticle More... | |
std::string | fGeneratorProcess |
process_name of process used to run genie. Used to extract subrun/POT information More... | |
Definition at line 11 of file TrackReducer.h.
|
inlinevirtual |
Perform user-level finalization.
Implements core::ProcessorBase.
Definition at line 14 of file TrackReducer.h.
|
virtual |
Perform user-level initialization.
config | A configuration, as a JSON object. |
Implements core::ProcessorBase.
Definition at line 16 of file TrackReducer.cxx.
|
virtual |
Process one event.
This also serves as a filter: if the function results false, it acts as a filter and the event is not written out.
ev | The event, as a gallery::Event |
reco | Reco interactions, to be populated by the user |
Implements core::ProcessorBase.
Definition at line 20 of file TrackReducer.cxx.
|
private |
Definition at line 18 of file TrackReducer.h.