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 <TrackingAnaProcessor.h>
Public Member Functions | |
TrackingAnaProcessor (const std::string &name, Process &process) | |
Class constructor. | |
~TrackingAnaProcessor () | |
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 | |
TBranch * | bevth_ {nullptr} |
TBranch * | becal_ {nullptr} |
EventHeader * | evth_ {nullptr} |
std::vector< CalCluster * > * | ecal_ {} |
std::string | trkCollName_ |
Track Collection name. | |
std::string | ecalCollName_ {"RecoEcalClusters"} |
Cluster Collection name. | |
std::string | selectionCfg_ |
std::shared_ptr< BaseSelector > | trkSelector_ |
description | |
std::vector< std::string > | regionSelections_ |
track selections | |
std::map< std::string, std::shared_ptr< BaseSelector > > | reg_selectors_ |
description | |
std::map< std::string, std::shared_ptr< TrackHistos > > | reg_histos_ |
description | |
std::string | histCfgFilename_ |
description | |
std::string | truthHistCfgFilename_ |
description | |
TrackHistos * | trkHistos_ {nullptr} |
description | |
TrackHistos * | truthHistos_ {nullptr} |
description | |
std::vector< std::string > | regions_ |
bool | doTruth_ {false} |
description | |
int | isData_ {1} |
int | debug_ {0} |
is data | |
int | seed_ {0} |
seed | |
float | time_offset_ {0} |
std::shared_ptr< TrackSmearingTool > | smearingTool_ |
time offset | |
std::shared_ptr< TrackSmearingTool > | smearingToolRel_ |
std::string | pSmearingFile_ {""} |
TH1D * | psmear_h_ |
TH2D * | psmear_vs_nHits_hh_ |
TH2D * | psmear_vs_nHits_top_hh_ |
TH2D * | psmear_vs_nHits_bot_hh_ |
TH1D * | psmear_rel_h_ |
TH2D * | psmear_vs_nHits_rel_hh_ |
TH2D * | psmear_vs_nHits_top_rel_hh_ |
TH2D * | psmear_vs_nHits_bot_rel_hh_ |
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 36 of file TrackingAnaProcessor.h.
|
private |
description
Definition at line 104 of file TrackingAnaProcessor.h.
TrackingAnaProcessor | ( | 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 6 of file TrackingAnaProcessor.cxx.
~TrackingAnaProcessor | ( | ) |
Destructor
Definition at line 10 of file TrackingAnaProcessor.cxx.
|
virtual |
Configure the Ana Processor.
parameters | The configuration parameters |
Reimplemented from Processor.
Definition at line 13 of file TrackingAnaProcessor.cxx.
|
virtual |
Callback for the Processor to take any necessary action when the processing of events finishes.
Implements Processor.
Definition at line 336 of file TrackingAnaProcessor.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 TrackingAnaProcessor.cxx.
|
virtual |
Process the event and put new data products into it.
ievent | The Event to process. |
Implements Processor.
Definition at line 145 of file TrackingAnaProcessor.cxx.
|
private |
Clusters
Definition at line 89 of file TrackingAnaProcessor.h.
|
private |
Event header branch.
Definition at line 86 of file TrackingAnaProcessor.h.
|
private |
description
Definition at line 83 of file TrackingAnaProcessor.h.
|
private |
|
private |
description
Definition at line 114 of file TrackingAnaProcessor.h.
|
private |
Definition at line 93 of file TrackingAnaProcessor.h.
|
private |
Cluster Collection name.
Definition at line 96 of file TrackingAnaProcessor.h.
|
private |
Definition at line 92 of file TrackingAnaProcessor.h.
|
private |
description
Definition at line 107 of file TrackingAnaProcessor.h.
|
private |
Definition at line 115 of file TrackingAnaProcessor.h.
|
private |
Definition at line 124 of file TrackingAnaProcessor.h.
|
private |
Definition at line 129 of file TrackingAnaProcessor.h.
|
private |
Definition at line 127 of file TrackingAnaProcessor.h.
|
private |
Definition at line 132 of file TrackingAnaProcessor.h.
|
private |
Definition at line 125 of file TrackingAnaProcessor.h.
|
private |
Definition at line 130 of file TrackingAnaProcessor.h.
|
private |
Definition at line 126 of file TrackingAnaProcessor.h.
|
private |
Definition at line 131 of file TrackingAnaProcessor.h.
|
private |
Definition at line 123 of file TrackingAnaProcessor.h.
|
private |
description
Definition at line 103 of file TrackingAnaProcessor.h.
|
private |
description
Definition at line 102 of file TrackingAnaProcessor.h.
|
private |
Definition at line 112 of file TrackingAnaProcessor.h.
|
private |
track selections
Definition at line 101 of file TrackingAnaProcessor.h.
|
private |
seed
Definition at line 117 of file TrackingAnaProcessor.h.
|
private |
Definition at line 99 of file TrackingAnaProcessor.h.
|
private |
time offset
Definition at line 121 of file TrackingAnaProcessor.h.
|
private |
Definition at line 122 of file TrackingAnaProcessor.h.
|
private |
Definition at line 118 of file TrackingAnaProcessor.h.
|
private |
Container to hold all Track objects.
Definition at line 82 of file TrackingAnaProcessor.h.
|
private |
Track Collection name.
Definition at line 95 of file TrackingAnaProcessor.h.
|
private |
description
Definition at line 109 of file TrackingAnaProcessor.h.
|
private |
description
Definition at line 100 of file TrackingAnaProcessor.h.
|
private |
description
Definition at line 108 of file TrackingAnaProcessor.h.
|
private |
description
Definition at line 110 of file TrackingAnaProcessor.h.