hpstr
The Heavy Photon Search Toolkit for Reconstruction (hpstr) provides an interface to physics data from the HPS experiment saved in the LCIO format and converts it into an ROOT based format.
|
#include <Tracker2DHitProcessor.h>
Public Member Functions | |
Tracker2DHitProcessor (const std::string &name, Process &process) | |
~Tracker2DHitProcessor () | |
virtual void | configure (const ParameterSet ¶meters) |
virtual void | initialize (TTree *tree) |
virtual bool | process (IEvent *ievent) |
virtual void | finalize () |
![]() | |
Processor (const std::string &name, Process &process) | |
Class constructor. | |
virtual | ~Processor () |
virtual void | initialize (std::string inFilename, std::string outFilename) |
Callback for the Processor to take any necessary action when the processing of events starts, such as initializing files. | |
virtual void | setFile (TFile *outFile) |
Set output TFile for AnaProcessors. | |
virtual bool | process () |
Process the histograms and generate analysis output. | |
Private Attributes | |
std::vector< TrackerHit * > | hits_ |
std::string | hitCollLcio_ {"RotatedHelicalTrackHits"} |
std::string | hitCollRoot_ {"RotatedHelicalTrackHits"} |
std::string | hitFitCollLcio_ {"SvtFittedRawTrackerHits"} |
std::string | mcPartRelLcio_ {"RotatedHelicalTrackMCRelations"} |
int | debug_ {0} |
Additional Inherited Members | |
![]() | |
static void | declare (const std::string &classname, ProcessorMaker *) |
Internal function which is part of the ProcessorFactory machinery. | |
![]() | |
Process & | process_ |
TFile * | outF_ {nullptr} |
std::string | name_ |
Definition at line 38 of file Tracker2DHitProcessor.h.
Tracker2DHitProcessor | ( | const std::string & | name, |
Process & | process | ||
) |
Class constructor.
name | Name for this instance of the class. |
process | The Process class associated with Processor, provided by the processing framework. |
Definition at line 4 of file Tracker2DHitProcessor.cxx.
Destructor
Definition at line 8 of file Tracker2DHitProcessor.cxx.
|
virtual |
Callback for the Processor to configure itself from the given set of parameters.
parameters | ParameterSet for configuration. |
Reimplemented from Processor.
Definition at line 11 of file Tracker2DHitProcessor.cxx.
|
virtual |
Callback for the Processor to take any necessary action when the processing of events finishes.
Implements Processor.
Definition at line 157 of file Tracker2DHitProcessor.cxx.
|
virtual |
Callback for the Processor to take any necessary action when the processing of events starts.
Implements Processor.
Definition at line 28 of file Tracker2DHitProcessor.cxx.
|
virtual |
Process the event and put new data products into it.
event | The Event to process. |
Implements Processor.
Definition at line 33 of file Tracker2DHitProcessor.cxx.
|
private |
Definition at line 89 of file Tracker2DHitProcessor.h.
|
private |
Definition at line 82 of file Tracker2DHitProcessor.h.
|
private |
Definition at line 83 of file Tracker2DHitProcessor.h.
|
private |
Definition at line 84 of file Tracker2DHitProcessor.h.
|
private |
Container to hold all TrackerHit objects.
Definition at line 81 of file Tracker2DHitProcessor.h.
|
private |
Definition at line 86 of file Tracker2DHitProcessor.h.