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 add simulated ecal hits to the event more details. More...
#include <MCEcalHitProcessor.h>
Public Member Functions | |
MCEcalHitProcessor (const std::string &name, Process &process) | |
Class constructor. | |
~MCEcalHitProcessor () | |
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 Attributes | |
std::vector< MCEcalHit * > | ecalhits_ |
std::string | hitCollLcio_ {"EcalHits"} |
description | |
std::string | hitCollRoot_ {"EcalHits"} |
description | |
int | debug_ {0} |
Debug Level. | |
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 add simulated ecal hits to the event more details.
Definition at line 42 of file MCEcalHitProcessor.h.
MCEcalHitProcessor | ( | 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 8 of file MCEcalHitProcessor.cxx.
~MCEcalHitProcessor | ( | ) |
Destructor
Definition at line 12 of file MCEcalHitProcessor.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 15 of file MCEcalHitProcessor.cxx.
|
virtual |
Callback for the Processor to take any necessary action when the processing of events finishes.
Implements Processor.
Definition at line 93 of file MCEcalHitProcessor.cxx.
|
virtual |
Callback for the Processor to take any necessary action when the processing of events starts.
tree |
Implements Processor.
Definition at line 30 of file MCEcalHitProcessor.cxx.
|
virtual |
Process the event and put new data products into it.
event | The Event to process. |
Implements Processor.
Definition at line 35 of file MCEcalHitProcessor.cxx.
|
private |
Debug Level.
Definition at line 93 of file MCEcalHitProcessor.h.
|
private |
Container to hold all MCEcalHit objects.
Definition at line 89 of file MCEcalHitProcessor.h.
|
private |
description
Definition at line 90 of file MCEcalHitProcessor.h.
|
private |
description
Definition at line 91 of file MCEcalHitProcessor.h.