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.
|
Processor used to write event info. more details. More...
#include <EventProcessor.h>
Public Member Functions | |
EventProcessor (const std::string &name, Process &process) | |
Class constructor. | |
~EventProcessor () | |
virtual void | configure (const ParameterSet ¶meters) |
Callback for the Processor to configure itself from the given set of parameters. | |
virtual void | initialize (TTree *tree) |
Callback for the Processor to take any necessary action when the processing of events starts. | |
virtual bool | process (IEvent *ievent) |
Process the event and put new data products into it. | |
virtual void | finalize () |
Callback for the Processor to take any necessary action when the processing of events finishes. | |
![]() | |
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 Member Functions | |
void | parseVTPData (EVENT::LCGenericObject *vtp_data_lcio) |
void | parseTSData (EVENT::LCGenericObject *ts_data_lcio) |
Private Attributes | |
EventHeader * | header_ {nullptr} |
std::string | headCollRoot_ {"EventHeader"} |
description | |
std::string | rfCollLcio_ {"RFHits"} |
description | |
std::string | trigCollLcio_ {"TriggerBank"} |
description | |
VTPData * | vtpData {nullptr} |
std::string | vtpCollLcio_ {""} |
description | |
std::string | vtpCollRoot_ {""} |
description | |
TSData * | tsData {nullptr} |
std::string | tsCollLcio_ {"TSBank"} |
description | |
std::string | tsCollRoot_ {"TSBank"} |
description | |
std::string | run_evt_list_ {""} |
std::map< int, std::vector< int > > | run_evts_map_ |
description | |
int | debug_ {0} |
Debug Level. | |
int | year_ {2021} |
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_ |
Processor used to write event info. more details.
Definition at line 48 of file EventProcessor.h.
EventProcessor | ( | 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 11 of file EventProcessor.cxx.
~EventProcessor | ( | ) |
Destructor
Definition at line 15 of file EventProcessor.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 18 of file EventProcessor.cxx.
|
virtual |
Callback for the Processor to take any necessary action when the processing of events finishes.
Implements Processor.
Definition at line 428 of file EventProcessor.cxx.
|
virtual |
Callback for the Processor to take any necessary action when the processing of events starts.
tree |
Implements Processor.
Definition at line 42 of file EventProcessor.cxx.
|
private |
Parsing method
Definition at line 370 of file EventProcessor.cxx.
|
private |
Parsing method
Definition at line 215 of file EventProcessor.cxx.
|
virtual |
Process the event and put new data products into it.
event | The Event to process. |
Implements Processor.
Definition at line 66 of file EventProcessor.cxx.
|
private |
Debug Level.
Definition at line 119 of file EventProcessor.h.
|
private |
description
Definition at line 96 of file EventProcessor.h.
|
private |
Containers for event header
Definition at line 95 of file EventProcessor.h.
|
private |
description
Definition at line 97 of file EventProcessor.h.
|
private |
single events checks
Definition at line 116 of file EventProcessor.h.
|
private |
description
Definition at line 117 of file EventProcessor.h.
|
private |
description
Definition at line 98 of file EventProcessor.h.
|
private |
description
Definition at line 107 of file EventProcessor.h.
|
private |
description
Definition at line 108 of file EventProcessor.h.
|
private |
Containers for ts data
Definition at line 106 of file EventProcessor.h.
|
private |
description
Definition at line 102 of file EventProcessor.h.
|
private |
description
Definition at line 103 of file EventProcessor.h.
|
private |
Containers for vtp data
Definition at line 101 of file EventProcessor.h.
|
private |
Definition at line 120 of file EventProcessor.h.