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 <TrackEfficiencyProcessor.h>
Classes | |
struct | ThreeProngCand |
struct | TridentCand |
Public Member Functions | |
TrackEfficiencyProcessor (const std::string &name, Process &process) | |
~TrackEfficiencyProcessor () | |
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, such as creating histograms. | |
virtual void | finalize () |
Callback for the Processor to take any necessary action when the processing of events finishes, such as calculating job-summary quantities. | |
virtual void | configure (const ParameterSet ¶meters) |
Callback for the Processor to configure itself from the given set of parameters. | |
![]() | |
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< TrackEfficHistos > >::iterator | reg_it |
typedef std::map< std::string, std::shared_ptr< ThreeProngHistos > >::iterator | three_prong_reg_it |
Private Attributes | |
std::shared_ptr< BaseSelector > | cluSelector |
std::shared_ptr< BaseSelector > | trkSelector |
std::vector< std::string > | regionSelections_ |
std::vector< std::string > | threeProngSelections_ |
std::string | selectionCfg_ |
std::string | trkSelCfg_ |
std::string | cluSelCfg_ |
TBranch * | bfspart_ {nullptr} |
TBranch * | bclus_ {nullptr} |
TBranch * | btrks_ {nullptr} |
TBranch * | bevth_ {nullptr} |
std::vector< CalCluster * > * | clus_ {} |
std::vector< Particle * > * | fspart_ {} |
std::vector< Track * > * | trks_ {} |
EventHeader * | evth_ {nullptr} |
std::string | anaName_ {"trkEffAna"} |
std::string | cluColl_ {"ECalClusters"} |
std::string | fspartColl_ {"FinalStateParticles"} |
std::string | trkColl_ {"GBLTracks"} |
TTree * | tree_ {nullptr} |
std::shared_ptr< TrackEfficHistos > | _trkeff_histos |
std::map< std::string, std::shared_ptr< BaseSelector > > | _reg_trkeff_selectors |
std::map< std::string, std::shared_ptr< TrackEfficHistos > > | _reg_trkeff_histos |
std::vector< std::string > | _regions |
std::map< std::string, std::shared_ptr< BaseSelector > > | _reg_three_prong_trkeff_selectors |
std::map< std::string, std::shared_ptr< ThreeProngHistos > > | _reg_three_prong_trkeff_histos |
std::vector< std::string > | _three_prong_regions |
std::string | histoCfg_ {""} |
std::string | thrProngCfg_ {""} |
std::string | cluHistoCfg_ {""} |
double | timeOffset_ {-999} |
double | beamE_ {2.3} |
int | isData {0} |
std::shared_ptr< AnaHelpers > | _ah |
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 31 of file TrackEfficiencyProcessor.h.
|
private |
Definition at line 83 of file TrackEfficiencyProcessor.h.
|
private |
Definition at line 84 of file TrackEfficiencyProcessor.h.
TrackEfficiencyProcessor | ( | const std::string & | name, |
Process & | process | ||
) |
Definition at line 11 of file TrackEfficiencyProcessor.cxx.
Definition at line 17 of file TrackEfficiencyProcessor.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 19 of file TrackEfficiencyProcessor.cxx.
|
virtual |
Callback for the Processor to take any necessary action when the processing of events finishes, such as calculating job-summary quantities.
Implements Processor.
Definition at line 379 of file TrackEfficiencyProcessor.cxx.
|
virtual |
Callback for the Processor to take any necessary action when the processing of events starts, such as creating histograms.
tree |
Implements Processor.
Definition at line 49 of file TrackEfficiencyProcessor.cxx.
|
virtual |
Process the event and put new data products into it.
event | The Event to process. |
Implements Processor.
Definition at line 112 of file TrackEfficiencyProcessor.cxx.
|
private |
Definition at line 93 of file TrackEfficiencyProcessor.h.
|
private |
Definition at line 79 of file TrackEfficiencyProcessor.h.
|
private |
Definition at line 78 of file TrackEfficiencyProcessor.h.
|
private |
Definition at line 75 of file TrackEfficiencyProcessor.h.
|
private |
Definition at line 74 of file TrackEfficiencyProcessor.h.
|
private |
Definition at line 76 of file TrackEfficiencyProcessor.h.
|
private |
Definition at line 80 of file TrackEfficiencyProcessor.h.
|
private |
Definition at line 72 of file TrackEfficiencyProcessor.h.
|
private |
Definition at line 66 of file TrackEfficiencyProcessor.h.
|
private |
Definition at line 57 of file TrackEfficiencyProcessor.h.
|
private |
Definition at line 91 of file TrackEfficiencyProcessor.h.
|
private |
Definition at line 59 of file TrackEfficiencyProcessor.h.
|
private |
Definition at line 56 of file TrackEfficiencyProcessor.h.
|
private |
Definition at line 58 of file TrackEfficiencyProcessor.h.
|
private |
Definition at line 67 of file TrackEfficiencyProcessor.h.
|
private |
Definition at line 88 of file TrackEfficiencyProcessor.h.
|
private |
Definition at line 61 of file TrackEfficiencyProcessor.h.
|
private |
Definition at line 53 of file TrackEfficiencyProcessor.h.
|
private |
Definition at line 46 of file TrackEfficiencyProcessor.h.
|
private |
Definition at line 112 of file TrackEfficiencyProcessor.h.
|
private |
Definition at line 64 of file TrackEfficiencyProcessor.h.
|
private |
Definition at line 62 of file TrackEfficiencyProcessor.h.
|
private |
Definition at line 68 of file TrackEfficiencyProcessor.h.
|
private |
Definition at line 86 of file TrackEfficiencyProcessor.h.
|
private |
Definition at line 92 of file TrackEfficiencyProcessor.h.
|
private |
Definition at line 48 of file TrackEfficiencyProcessor.h.
|
private |
Definition at line 51 of file TrackEfficiencyProcessor.h.
|
private |
Definition at line 49 of file TrackEfficiencyProcessor.h.
|
private |
Definition at line 87 of file TrackEfficiencyProcessor.h.
|
private |
Definition at line 89 of file TrackEfficiencyProcessor.h.
|
private |
Definition at line 70 of file TrackEfficiencyProcessor.h.
|
private |
Definition at line 69 of file TrackEfficiencyProcessor.h.
|
private |
Definition at line 63 of file TrackEfficiencyProcessor.h.
|
private |
Definition at line 52 of file TrackEfficiencyProcessor.h.
|
private |
Definition at line 47 of file TrackEfficiencyProcessor.h.