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 <TrackHitAnaProcessor.h>
Public Member Functions | |
TrackHitAnaProcessor (const std::string &name, Process &process) | |
Class constructor. | |
~TrackHitAnaProcessor () | |
virtual void | configure (const ParameterSet ¶meters) |
Configure the Ana Processor. | |
virtual bool | process (IEvent *ievent) |
Process the event and put new data products into it. | |
virtual void | initialize (TTree *tree) |
Callback for the Processor to take any necessary action when the processing of events starts. | |
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 Types | |
typedef std::map< std::string, std::shared_ptr< TrackHistos > >::iterator | reg_it |
description | |
Private Attributes | |
std::vector< Track * > * | tracks_ {} |
TBranch * | btracks_ {nullptr} |
description | |
std::string | trkCollName_ |
Track Collection name. | |
std::string | selectionCfg_ |
std::shared_ptr< BaseSelector > | trkSelector_ |
description | |
std::vector< std::string > | regionSelections_ |
description | |
std::map< std::string, std::shared_ptr< BaseSelector > > | reg_selectors_ |
description | |
std::map< std::string, std::shared_ptr< TrackHistos > > | reg_histos_ |
description | |
std::vector< std::string > | regions_ |
description | |
std::string | histCfgFilename_ |
description | |
std::string | truthHistCfgFilename_ |
description | |
TrackHistos * | trkHistos_ {nullptr} |
description | |
TrackHistos * | truthHistos_ {nullptr} |
description | |
bool | doTruth_ {false} |
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_ |
Insert description here. more details.
Definition at line 35 of file TrackHitAnaProcessor.h.
|
private |
description
Definition at line 93 of file TrackHitAnaProcessor.h.
TrackHitAnaProcessor | ( | 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 5 of file TrackHitAnaProcessor.cxx.
~TrackHitAnaProcessor | ( | ) |
Destructor
Definition at line 9 of file TrackHitAnaProcessor.cxx.
|
virtual |
Configure the Ana Processor.
parameters | The configuration parameters |
Reimplemented from Processor.
Definition at line 12 of file TrackHitAnaProcessor.cxx.
|
virtual |
Callback for the Processor to take any necessary action when the processing of events finishes.
Implements Processor.
Definition at line 192 of file TrackHitAnaProcessor.cxx.
|
virtual |
Callback for the Processor to take any necessary action when the processing of events starts.
tree |
Implements Processor.
Definition at line 32 of file TrackHitAnaProcessor.cxx.
|
virtual |
Process the event and put new data products into it.
event | The Event to process. |
Implements Processor.
Definition at line 80 of file TrackHitAnaProcessor.cxx.
|
private |
description
Definition at line 81 of file TrackHitAnaProcessor.h.
|
private |
debug level
Definition at line 103 of file TrackHitAnaProcessor.h.
|
private |
description
Definition at line 102 of file TrackHitAnaProcessor.h.
|
private |
description
Definition at line 98 of file TrackHitAnaProcessor.h.
|
private |
description
Definition at line 92 of file TrackHitAnaProcessor.h.
|
private |
description
Definition at line 90 of file TrackHitAnaProcessor.h.
|
private |
description
Definition at line 95 of file TrackHitAnaProcessor.h.
|
private |
description
Definition at line 88 of file TrackHitAnaProcessor.h.
|
private |
Definition at line 86 of file TrackHitAnaProcessor.h.
|
private |
Container to hold all Track objects.
Definition at line 80 of file TrackHitAnaProcessor.h.
|
private |
Track Collection name.
Definition at line 83 of file TrackHitAnaProcessor.h.
|
private |
description
Definition at line 100 of file TrackHitAnaProcessor.h.
|
private |
description
Definition at line 87 of file TrackHitAnaProcessor.h.
|
private |
description
Definition at line 99 of file TrackHitAnaProcessor.h.
|
private |
description
Definition at line 101 of file TrackHitAnaProcessor.h.