|
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. | |
| virtual void | setFile (TFile *outFile) |
| Set output TFile and create the output TTree. | |
| Public Member Functions inherited from Processor | |
| 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 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} |
| double | feeClusterEnergyMin_ {2.5} |
| time offset | |
| double | clusterTimeMin_ {40.0} |
| minimum cluster time (data) | |
| double | clusterTimeMax_ {70.0} |
| maximum cluster time (data) | |
| double | clusterTimeMinMC_ {40.0} |
| minimum cluster time (MC) | |
| double | clusterTimeMaxMC_ {70.0} |
| maximum cluster time (MC) | |
| double | mcTimeOffset_ {5.0} |
| time offset applied to MC tracks | |
| std::shared_ptr< TrackSmearingTool > | smearingTool_ |
| std::shared_ptr< TrackSmearingTool > | smearingToolRel_ |
| std::string | pSmearingFile_ {""} |
| std::string | smearingCfgFile_ {""} |
| bool | doSmearing_ {false} |
| Master switch for smearing. | |
| double | smearingFactor_ {1.0} |
| Factor to multiply smearing parameters by. | |
| bool | requireTruthMatch_ {false} |
| Require truth match for smearing. | |
| bool | smearOmega_ {false} |
| Use omega (curvature) smearing instead of p smearing. | |
| std::string | smearingVariable_ {""} |
| "flat", "nHits", "tanLambda", "phi0" — explicit lookup; "" = JSON default | |
| std::string | scaleCorrVariable_ {""} |
| if set, omega data-mode scale uses pBinned_ means | |
| std::shared_ptr< AnaHelpers > | ah_ {nullptr} |
| std::unique_ptr< TTree > | output_tree_ {nullptr} |
| Track | track_out_ |
| original (unsmeared) track | |
| Track | track_smeared_out_ |
| smeared track (identical to track_out_ if no smearing) | |
| double | p_smear_ratio_out_ {1.0} |
| smeared_p / original_p (1 if no smearing) | |
| bool | L1_axial_out_ {false} |
| bool | L1_stereo_out_ {false} |
| bool | L2_axial_out_ {false} |
| bool | L2_stereo_out_ {false} |
| bool | L3_axial_out_ {false} |
| bool | L3_stereo_out_ {false} |
| TH1D * | psmear_h_ |
| TH1D * | psmear_top_h_ |
| TH1D * | psmear_bot_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_ |
| TH1D * | z0smear_h_ |
| TH1D * | z0smear_top_h_ |
| TH1D * | z0smear_bot_h_ |
| TH1D * | omega_h_ |
| TH1D * | omega_top_h_ |
| TH1D * | omega_bot_h_ |
| TH1D * | omegasmear_h_ |
| TH1D * | omegasmear_top_h_ |
| TH1D * | omegasmear_bot_h_ |
| TH2D * | omega_vs_p_hh_ |
| TH2D * | omega_vs_tanL_hh_ |
| TH2D * | omega_vs_tanL_top_hh_ |
| TH2D * | omega_vs_tanL_bot_hh_ |
| TH2D * | omegasmear_vs_tanL_hh_ |
| TH2D * | omegasmear_vs_tanL_top_hh_ |
| TH2D * | omegasmear_vs_tanL_bot_hh_ |
| TH2D * | omega_vs_phi0_hh_ |
| TH2D * | omega_vs_phi0_top_hh_ |
| TH2D * | omega_vs_phi0_bot_hh_ |
| TH2D * | omegasmear_vs_phi0_hh_ |
| TH2D * | omegasmear_vs_phi0_top_hh_ |
| TH2D * | omegasmear_vs_phi0_bot_hh_ |
Additional Inherited Members | |
| Static Public Member Functions inherited from Processor | |
| static void | declare (const std::string &classname, ProcessorMaker *) |
| Internal function which is part of the ProcessorFactory machinery. | |
| Protected Attributes inherited from Processor | |
| 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 109 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 5 of file TrackingAnaProcessor.cxx.
| ~TrackingAnaProcessor | ( | ) |
Destructor
Definition at line 9 of file TrackingAnaProcessor.cxx.
|
virtual |
Configure the Ana Processor.
| parameters | The configuration parameters |
Reimplemented from Processor.
Definition at line 12 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 542 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 80 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 233 of file TrackingAnaProcessor.cxx.
|
virtual |
Set output TFile and create the output TTree.
Reimplemented from Processor.
Definition at line 66 of file TrackingAnaProcessor.cxx.
|
private |
Definition at line 144 of file TrackingAnaProcessor.h.
|
private |
Clusters
Definition at line 94 of file TrackingAnaProcessor.h.
|
private |
Event header branch.
Definition at line 91 of file TrackingAnaProcessor.h.
|
private |
description
Definition at line 88 of file TrackingAnaProcessor.h.
|
private |
maximum cluster time (data)
Definition at line 126 of file TrackingAnaProcessor.h.
|
private |
maximum cluster time (MC)
Definition at line 128 of file TrackingAnaProcessor.h.
|
private |
minimum cluster time (data)
Definition at line 125 of file TrackingAnaProcessor.h.
|
private |
minimum cluster time (MC)
Definition at line 127 of file TrackingAnaProcessor.h.
|
private |
|
private |
Master switch for smearing.
Definition at line 136 of file TrackingAnaProcessor.h.
|
private |
description
Definition at line 119 of file TrackingAnaProcessor.h.
|
private |
Definition at line 98 of file TrackingAnaProcessor.h.
|
private |
Cluster Collection name.
Definition at line 101 of file TrackingAnaProcessor.h.
|
private |
Definition at line 97 of file TrackingAnaProcessor.h.
|
private |
time offset
minimum cluster energy for FEE selection
Definition at line 124 of file TrackingAnaProcessor.h.
|
private |
description
Definition at line 112 of file TrackingAnaProcessor.h.
|
private |
Definition at line 120 of file TrackingAnaProcessor.h.
|
private |
Definition at line 152 of file TrackingAnaProcessor.h.
|
private |
Definition at line 153 of file TrackingAnaProcessor.h.
|
private |
Definition at line 154 of file TrackingAnaProcessor.h.
|
private |
Definition at line 155 of file TrackingAnaProcessor.h.
|
private |
Definition at line 156 of file TrackingAnaProcessor.h.
|
private |
Definition at line 157 of file TrackingAnaProcessor.h.
|
private |
time offset applied to MC tracks
Definition at line 129 of file TrackingAnaProcessor.h.
|
private |
Definition at line 178 of file TrackingAnaProcessor.h.
|
private |
Definition at line 176 of file TrackingAnaProcessor.h.
|
private |
Definition at line 177 of file TrackingAnaProcessor.h.
|
private |
Definition at line 182 of file TrackingAnaProcessor.h.
|
private |
Definition at line 194 of file TrackingAnaProcessor.h.
|
private |
Definition at line 192 of file TrackingAnaProcessor.h.
|
private |
Definition at line 193 of file TrackingAnaProcessor.h.
|
private |
Definition at line 187 of file TrackingAnaProcessor.h.
|
private |
Definition at line 185 of file TrackingAnaProcessor.h.
|
private |
Definition at line 186 of file TrackingAnaProcessor.h.
|
private |
Definition at line 181 of file TrackingAnaProcessor.h.
|
private |
Definition at line 179 of file TrackingAnaProcessor.h.
|
private |
Definition at line 180 of file TrackingAnaProcessor.h.
|
private |
Definition at line 197 of file TrackingAnaProcessor.h.
|
private |
Definition at line 195 of file TrackingAnaProcessor.h.
|
private |
Definition at line 196 of file TrackingAnaProcessor.h.
|
private |
Definition at line 190 of file TrackingAnaProcessor.h.
|
private |
Definition at line 188 of file TrackingAnaProcessor.h.
|
private |
Definition at line 189 of file TrackingAnaProcessor.h.
|
private |
Definition at line 147 of file TrackingAnaProcessor.h.
|
private |
smeared_p / original_p (1 if no smearing)
Definition at line 150 of file TrackingAnaProcessor.h.
|
private |
Definition at line 160 of file TrackingAnaProcessor.h.
|
private |
Definition at line 158 of file TrackingAnaProcessor.h.
|
private |
Definition at line 165 of file TrackingAnaProcessor.h.
|
private |
Definition at line 159 of file TrackingAnaProcessor.h.
|
private |
Definition at line 163 of file TrackingAnaProcessor.h.
|
private |
Definition at line 168 of file TrackingAnaProcessor.h.
|
private |
Definition at line 161 of file TrackingAnaProcessor.h.
|
private |
Definition at line 166 of file TrackingAnaProcessor.h.
|
private |
Definition at line 162 of file TrackingAnaProcessor.h.
|
private |
Definition at line 167 of file TrackingAnaProcessor.h.
|
private |
Definition at line 134 of file TrackingAnaProcessor.h.
|
private |
description
Definition at line 108 of file TrackingAnaProcessor.h.
|
private |
description
Definition at line 107 of file TrackingAnaProcessor.h.
|
private |
Definition at line 117 of file TrackingAnaProcessor.h.
|
private |
track selections
Definition at line 106 of file TrackingAnaProcessor.h.
|
private |
Require truth match for smearing.
Definition at line 138 of file TrackingAnaProcessor.h.
|
private |
if set, omega data-mode scale uses pBinned_ means
Definition at line 141 of file TrackingAnaProcessor.h.
|
private |
seed
Definition at line 122 of file TrackingAnaProcessor.h.
|
private |
Definition at line 104 of file TrackingAnaProcessor.h.
|
private |
Definition at line 135 of file TrackingAnaProcessor.h.
|
private |
Factor to multiply smearing parameters by.
Definition at line 137 of file TrackingAnaProcessor.h.
|
private |
Definition at line 132 of file TrackingAnaProcessor.h.
|
private |
Definition at line 133 of file TrackingAnaProcessor.h.
|
private |
"flat", "nHits", "tanLambda", "phi0" — explicit lookup; "" = JSON default
Definition at line 140 of file TrackingAnaProcessor.h.
|
private |
Use omega (curvature) smearing instead of p smearing.
Definition at line 139 of file TrackingAnaProcessor.h.
|
private |
Definition at line 123 of file TrackingAnaProcessor.h.
|
private |
original (unsmeared) track
Definition at line 148 of file TrackingAnaProcessor.h.
|
private |
smeared track (identical to track_out_ if no smearing)
Definition at line 149 of file TrackingAnaProcessor.h.
|
private |
Container to hold all Track objects.
Definition at line 87 of file TrackingAnaProcessor.h.
|
private |
Track Collection name.
Definition at line 100 of file TrackingAnaProcessor.h.
|
private |
description
Definition at line 114 of file TrackingAnaProcessor.h.
|
private |
description
Definition at line 105 of file TrackingAnaProcessor.h.
|
private |
description
Definition at line 113 of file TrackingAnaProcessor.h.
|
private |
description
Definition at line 115 of file TrackingAnaProcessor.h.
|
private |
Definition at line 173 of file TrackingAnaProcessor.h.
|
private |
Definition at line 171 of file TrackingAnaProcessor.h.
|
private |
Definition at line 172 of file TrackingAnaProcessor.h.