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.
|
Insert description here. more details. More...
#include <ECalDataProcessor.h>
Public Member Functions | |
ECalDataProcessor (const std::string &name, Process &process) | |
Class constructor. | |
~ECalDataProcessor () | |
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 *event) |
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 | |
UTIL::BitFieldValue | getIdentifierFieldValue (std::string field, EVENT::CalorimeterHit *hit) |
Method to unpack field value from a calorimeter hit ID. | |
Private Attributes | |
std::vector< CalHit * > | cal_hits_ |
std::string | hitCollLcio_ {"EcalCalHits"} |
description | |
std::string | hitCollRoot_ {"RecoEcalHits"} |
description | |
std::vector< CalCluster * > | clusters_ |
std::string | clusCollLcio_ {"EcalClustersCorr"} |
description | |
std::string | clusCollRoot_ {"RecoEcalClusters"} |
description | |
const std::string | encoder_string_ {"system:6,layer:2,ix:-8,iy:-6"} |
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_ |
Insert description here. more details.
Definition at line 46 of file ECalDataProcessor.h.
ECalDataProcessor | ( | 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 10 of file ECalDataProcessor.cxx.
~ECalDataProcessor | ( | ) |
Destructor
Definition at line 14 of file ECalDataProcessor.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 17 of file ECalDataProcessor.cxx.
|
virtual |
Callback for the Processor to take any necessary action when the processing of events finishes.
Implements Processor.
Definition at line 171 of file ECalDataProcessor.cxx.
|
private |
Method to unpack field value from a calorimeter hit ID.
field | The field ID to unpack |
hit | The CalorimeterHit whose ID will be used to unpack the the field value. |
Definition at line 174 of file ECalDataProcessor.cxx.
|
virtual |
Callback for the Processor to take any necessary action when the processing of events starts.
tree |
Implements Processor.
Definition at line 34 of file ECalDataProcessor.cxx.
|
virtual |
Process the event and put new data products into it.
event | The Event to process. |
Implements Processor.
Definition at line 40 of file ECalDataProcessor.cxx.
|
private |
TClonesArray collection containing all ECal hits.
Definition at line 102 of file ECalDataProcessor.h.
|
private |
description
Definition at line 108 of file ECalDataProcessor.h.
|
private |
description
Definition at line 109 of file ECalDataProcessor.h.
|
private |
TClonesArray collection containing all ECal clusters.
Definition at line 107 of file ECalDataProcessor.h.
|
private |
Debug Level.
Definition at line 114 of file ECalDataProcessor.h.
|
private |
Encoding string describing cell ID.
Definition at line 112 of file ECalDataProcessor.h.
|
private |
description
Definition at line 103 of file ECalDataProcessor.h.
|
private |
description
Definition at line 104 of file ECalDataProcessor.h.