![]() |
ATLAS Offline Software
|
#include <FPGATrackSimLayerStudyTool.h>
Public Member Functions | |
| FPGATrackSimLayerStudyTool (const std::string &, const std::string &, const IInterface *) | |
| virtual StatusCode | initialize () override |
| StatusCode | registerHistograms (const FPGATrackSimBinnedHits *binnedhits, bool skipTruth) |
| void | allocateDataFlowCounters () |
| void | resetDataFlowCounters () |
| const std::string | dir () const |
| void parseTruthInfo | ATLAS_NOT_THREAD_SAFE (std::vector< FPGATrackSimTruthTrack > const &truthtracks) |
| FPGATrackSimBinUtil::IdxSet & | truthBin (unsigned stepnum) |
| std::vector< FPGATrackSimBinUtil::IdxSet > & | truthBin () |
| void | fillHitLevelInput (const FPGATrackSimHit *hit) |
| void fillBinLevelOutput | ATLAS_NOT_THREAD_SAFE (const FPGATrackSimBinUtil::IdxSet &idx, const FPGATrackSimBinnedHits::BinEntry &data) |
| void fillBinningSummary | ATLAS_NOT_THREAD_SAFE (const std::vector< std::shared_ptr< const FPGATrackSimHit > > &hits) |
| void | sliceCheck () |
| ServiceHandle< StoreGateSvc > & | evtStore () |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. | |
| const ServiceHandle< StoreGateSvc > & | detStore () const |
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc. | |
| virtual StatusCode | sysInitialize () override |
| Perform system initialization for an algorithm. | |
| virtual StatusCode | sysStart () override |
| Handle START transition. | |
| virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
| Return this algorithm's input handles. | |
| virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
| Return this algorithm's output handles. | |
| Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T, V, H > &t) |
| void | updateVHKA (Gaudi::Details::PropertyBase &) |
| MsgStream & | msg () const |
| bool | msgLvl (const MSG::Level lvl) const |
Protected Member Functions | |
| void | renounceArray (SG::VarHandleKeyArray &handlesArray) |
| remove all handles from I/O resolution | |
| std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > | renounce (T &h) |
| void | extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps) |
| Add StoreName to extra input/output deps as needed. | |
Private Types | |
| typedef ServiceHandle< StoreGateSvc > | StoreGateSvc_t |
Private Member Functions | |
| void | setBinPlotsActive (const FPGATrackSimBinUtil::IdxSet &idx) |
| StatusCode | bookTrees () |
| void | ClearTreeVectors () |
| template<typename HistType, typename... HistDef> | |
| StatusCode | makeAndRegHist (HistType *&ptr, HistDef... histargs) |
| template<typename HistType, typename... HistDef> | |
| StatusCode | makeAndRegHistVector (std::vector< HistType * > &vec, unsigned len, const std::vector< std::string > *namevec, const char *namebase, HistDef... histargs) |
| StatusCode | regGraph (TGraph *g) const |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> | |
Private Attributes | |
| ServiceHandle< ITHistSvc > | m_tHistSvc {this, "THistSvc", "THistSvc"} |
| Gaudi::Property< std::string > | m_dir {this, "dir", {"/GENSCAN/"}, "String name of output directory"} |
| Gaudi::Property< double > | m_phiScale {this, "phiScale", {}, "Scale for Delta Phi variable"} |
| Gaudi::Property< double > | m_etaScale {this, "etaScale", {}, "Scale for Delta Eta variable"} |
| Gaudi::Property< double > | m_drScale {this, "drScale", {}, "Scale for radius differences"} |
| Gaudi::Property< bool > | m_plotAllBins {this, "plotAllBins", {false}, "Default is to plot only truth bin values, this set to plot all bins"} |
| Gaudi::Property< double > | m_d0pad {this, "D0Pad", 0.0, "Extra phi padding from d0 resolution"} |
| Gaudi::Property< double > | m_phipad {this, "PhiPad", 0.0, "Extra phi padding from phi resolution"} |
| Gaudi::Property< double > | m_qptpad {this, "QPtPad", 0.0, "Extra phi padding from q/pT resolution"} |
| Gaudi::Property< double > | m_z0pad {this, "Z0Pad", 0.0, "Extra eta padding from z0 resolution"} |
| Gaudi::Property< double > | m_etapad {this, "EtaPad", 0.0, "Extra eta padding from eta resolution"} |
| Gaudi::Property< std::string > | m_layerStudyTreeName {this, "LayerStudyTreeName", "LayerStudy", "Name of the LayerStudy TTree"} |
| Gaudi::Property< std::string > | m_truthTreeName {this,"TruthTreeName","TruthTree","Name of the Truth TTree"} |
| const FPGATrackSimBinnedHits * | m_binnedhits {nullptr} |
| bool | m_isSingleParticle = false |
| bool | m_truthIsValid = false |
| FPGATrackSimTrackPars | m_truthpars |
| std::vector< FPGATrackSimBinUtil::IdxSet > | m_truthbin |
| FPGATrackSimBinUtil::ParSet | m_truthparset |
| bool | m_binPlotsActive = false |
| std::vector< TH2D * > | m_rZ_allhits |
| TH1D * | m_truthpars_hists [5] = {0, 0, 0, 0, 0} |
| TH1D * | m_inputHits = 0 |
| int | m_binsFilledCnt {0} |
| TH1D * | m_binsFilled = 0 |
| std::vector< TH1D * > | m_phiResidual |
| std::vector< TH1D * > | m_etaResidual |
| std::vector< TH1D * > | m_phiTrueBinShift |
| std::vector< TH1D * > | m_etaTrueBinShift |
| int | m_N_ptplot {5} |
| std::vector< TH2D * > | m_phiResidual_v_r |
| std::vector< TH2D * > | m_etaResidual_v_r |
| std::vector< TH2D * > | m_phiScale_v_r |
| std::vector< TH2D * > | m_etaScale_v_r |
| TH1D * | m_phiShift_road = 0 |
| TH1D * | m_etaShift_road = 0 |
| TH2D * | m_phiShift2D_road = 0 |
| TH2D * | m_etaShift2D_road = 0 |
| std::vector< TH1D * > | m_hitsPerStepBin |
| TH1D * | m_hitsPerLayer = 0 |
| TH2D * | m_hitsPerLayer2D = 0 |
| TH2D * | m_hitsPerLayer_bin = 0 |
| std::vector< std::string > | m_distPlotClasses {"truth","ThrshNlayer","ThrshNlayerm1"} |
| std::vector< TH1D * > | m_ptDist |
| std::vector< TH1D * > | m_etaDist |
| std::vector< TH1D * > | m_phiDist |
| std::vector< TH1D * > | m_d0Dist |
| std::vector< TH1D * > | m_z0Dist |
| TTree * | m_bin_tree = nullptr |
| int | m_bin_tree_event {0} |
| std::vector< unsigned > | m_bin_tree_bin |
| std::vector< float > | m_bin_tree_r |
| std::vector< float > | m_bin_tree_z |
| std::vector< int > | m_bin_tree_id |
| std::vector< int > | m_bin_tree_hash |
| std::vector< int > | m_bin_tree_layer |
| std::vector< int > | m_bin_tree_side |
| std::vector< int > | m_bin_tree_etamod |
| std::vector< int > | m_bin_tree_phimod |
| std::vector< int > | m_bin_tree_dettype |
| std::vector< int > | m_bin_tree_detzone |
| TTree * | m_truth_tree = nullptr |
| double | m_truth_tree_phi {0.0} |
| double | m_truth_tree_qOverPt {0.0} |
| double | m_truth_tree_d0 {0.0} |
| double | m_truth_tree_z0 {0.0} |
| double | m_truth_tree_eta {0.0} |
| std::vector< double > | m_truth_tree_parset |
| StoreGateSvc_t | m_evtStore |
| Pointer to StoreGate (event store by default) | |
| StoreGateSvc_t | m_detStore |
| Pointer to StoreGate (detector store by default) | |
| std::vector< SG::VarHandleKeyArray * > | m_vhka |
| bool | m_varHandleArraysDeclared |
Definition at line 39 of file FPGATrackSimLayerStudyTool.h.
|
privateinherited |
Definition at line 388 of file AthCommonDataStore.h.
| FPGATrackSimLayerStudyTool::FPGATrackSimLayerStudyTool | ( | const std::string & | algname, |
| const std::string & | name, | ||
| const IInterface * | ifc ) |
Definition at line 23 of file FPGATrackSimLayerStudyTool.cxx.
| void FPGATrackSimLayerStudyTool::allocateDataFlowCounters | ( | ) |
| void fillBinLevelOutput FPGATrackSimLayerStudyTool::ATLAS_NOT_THREAD_SAFE | ( | const FPGATrackSimBinUtil::IdxSet & | idx, |
| const FPGATrackSimBinnedHits::BinEntry & | data ) |
| void fillBinningSummary FPGATrackSimLayerStudyTool::ATLAS_NOT_THREAD_SAFE | ( | const std::vector< std::shared_ptr< const FPGATrackSimHit > > & | hits | ) |
| void parseTruthInfo FPGATrackSimLayerStudyTool::ATLAS_NOT_THREAD_SAFE | ( | std::vector< FPGATrackSimTruthTrack > const & | truthtracks | ) |
|
private |
Definition at line 127 of file FPGATrackSimLayerStudyTool.cxx.
|
private |
Definition at line 164 of file FPGATrackSimLayerStudyTool.cxx.
|
inlineprivateinherited |
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
|
inlineinherited |
Definition at line 145 of file AthCommonDataStore.h.
|
inlineinherited |
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 95 of file AthCommonDataStore.h.
|
inline |
Definition at line 57 of file FPGATrackSimLayerStudyTool.h.
|
inlineinherited |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 85 of file AthCommonDataStore.h.
|
protectedinherited |
Add StoreName to extra input/output deps as needed.
use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given
| void FPGATrackSimLayerStudyTool::fillHitLevelInput | ( | const FPGATrackSimHit * | hit | ) |
Definition at line 265 of file FPGATrackSimLayerStudyTool.cxx.
|
overridevirtual |
Definition at line 28 of file FPGATrackSimLayerStudyTool.cxx.
|
overridevirtualinherited |
Return this algorithm's input handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
|
inlineprivate |
Definition at line 189 of file FPGATrackSimLayerStudyTool.h.
|
inlineprivate |
Definition at line 198 of file FPGATrackSimLayerStudyTool.h.
|
inlineinherited |
Definition at line 24 of file AthCommonMsg.h.
|
inlineinherited |
Definition at line 30 of file AthCommonMsg.h.
|
overridevirtualinherited |
Return this algorithm's output handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
|
inlineprivate |
Definition at line 221 of file FPGATrackSimLayerStudyTool.h.
| StatusCode FPGATrackSimLayerStudyTool::registerHistograms | ( | const FPGATrackSimBinnedHits * | binnedhits, |
| bool | skipTruth ) |
Definition at line 46 of file FPGATrackSimLayerStudyTool.cxx.
|
inlineprotectedinherited |
Definition at line 380 of file AthCommonDataStore.h.
|
inlineprotectedinherited |
remove all handles from I/O resolution
Definition at line 364 of file AthCommonDataStore.h.
| void FPGATrackSimLayerStudyTool::resetDataFlowCounters | ( | ) |
|
private |
Definition at line 376 of file FPGATrackSimLayerStudyTool.cxx.
| void FPGATrackSimLayerStudyTool::sliceCheck | ( | ) |
|
overridevirtualinherited |
Perform system initialization for an algorithm.
We override this to declare all the elements of handle key arrays at the end of initialization. See comments on updateVHKA.
Reimplemented in asg::AsgMetadataTool, AthCheckedComponent< AthAlgTool >, AthCheckedComponent<::AthAlgTool >, and DerivationFramework::CfAthAlgTool.
|
overridevirtualinherited |
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
|
inline |
Definition at line 63 of file FPGATrackSimLayerStudyTool.h.
|
inline |
Definition at line 62 of file FPGATrackSimLayerStudyTool.h.
|
inlineinherited |
Definition at line 308 of file AthCommonDataStore.h.
|
private |
Definition at line 164 of file FPGATrackSimLayerStudyTool.h.
|
private |
Definition at line 166 of file FPGATrackSimLayerStudyTool.h.
|
private |
Definition at line 175 of file FPGATrackSimLayerStudyTool.h.
|
private |
Definition at line 176 of file FPGATrackSimLayerStudyTool.h.
|
private |
Definition at line 173 of file FPGATrackSimLayerStudyTool.h.
|
private |
Definition at line 165 of file FPGATrackSimLayerStudyTool.h.
|
private |
Definition at line 170 of file FPGATrackSimLayerStudyTool.h.
|
private |
Definition at line 169 of file FPGATrackSimLayerStudyTool.h.
|
private |
Definition at line 171 of file FPGATrackSimLayerStudyTool.h.
|
private |
Definition at line 174 of file FPGATrackSimLayerStudyTool.h.
|
private |
Definition at line 167 of file FPGATrackSimLayerStudyTool.h.
|
private |
Definition at line 172 of file FPGATrackSimLayerStudyTool.h.
|
private |
Definition at line 168 of file FPGATrackSimLayerStudyTool.h.
|
private |
Definition at line 95 of file FPGATrackSimLayerStudyTool.h.
|
private |
Definition at line 111 of file FPGATrackSimLayerStudyTool.h.
|
private |
Definition at line 124 of file FPGATrackSimLayerStudyTool.h.
|
private |
Definition at line 123 of file FPGATrackSimLayerStudyTool.h.
|
private |
Definition at line 153 of file FPGATrackSimLayerStudyTool.h.
|
private |
Definition at line 86 of file FPGATrackSimLayerStudyTool.h.
|
privateinherited |
Pointer to StoreGate (detector store by default)
Definition at line 393 of file AthCommonDataStore.h.
|
private |
Definition at line 80 of file FPGATrackSimLayerStudyTool.h.
|
private |
Definition at line 149 of file FPGATrackSimLayerStudyTool.h.
|
private |
Definition at line 83 of file FPGATrackSimLayerStudyTool.h.
|
private |
Definition at line 151 of file FPGATrackSimLayerStudyTool.h.
|
private |
Definition at line 90 of file FPGATrackSimLayerStudyTool.h.
|
private |
Definition at line 128 of file FPGATrackSimLayerStudyTool.h.
|
private |
Definition at line 133 of file FPGATrackSimLayerStudyTool.h.
|
private |
Definition at line 82 of file FPGATrackSimLayerStudyTool.h.
|
private |
Definition at line 135 of file FPGATrackSimLayerStudyTool.h.
|
private |
Definition at line 140 of file FPGATrackSimLayerStudyTool.h.
|
private |
Definition at line 138 of file FPGATrackSimLayerStudyTool.h.
|
private |
Definition at line 130 of file FPGATrackSimLayerStudyTool.h.
|
privateinherited |
Pointer to StoreGate (event store by default)
Definition at line 390 of file AthCommonDataStore.h.
|
private |
Definition at line 144 of file FPGATrackSimLayerStudyTool.h.
|
private |
Definition at line 145 of file FPGATrackSimLayerStudyTool.h.
|
private |
Definition at line 146 of file FPGATrackSimLayerStudyTool.h.
|
private |
Definition at line 143 of file FPGATrackSimLayerStudyTool.h.
|
private |
Definition at line 121 of file FPGATrackSimLayerStudyTool.h.
|
private |
Definition at line 99 of file FPGATrackSimLayerStudyTool.h.
|
private |
Definition at line 91 of file FPGATrackSimLayerStudyTool.h.
|
private |
Definition at line 131 of file FPGATrackSimLayerStudyTool.h.
|
private |
Definition at line 152 of file FPGATrackSimLayerStudyTool.h.
|
private |
Definition at line 87 of file FPGATrackSimLayerStudyTool.h.
|
private |
Definition at line 127 of file FPGATrackSimLayerStudyTool.h.
|
private |
Definition at line 132 of file FPGATrackSimLayerStudyTool.h.
|
private |
Definition at line 81 of file FPGATrackSimLayerStudyTool.h.
|
private |
Definition at line 134 of file FPGATrackSimLayerStudyTool.h.
|
private |
Definition at line 139 of file FPGATrackSimLayerStudyTool.h.
|
private |
Definition at line 137 of file FPGATrackSimLayerStudyTool.h.
|
private |
Definition at line 129 of file FPGATrackSimLayerStudyTool.h.
|
private |
Definition at line 84 of file FPGATrackSimLayerStudyTool.h.
|
private |
Definition at line 150 of file FPGATrackSimLayerStudyTool.h.
|
private |
Definition at line 88 of file FPGATrackSimLayerStudyTool.h.
|
private |
Definition at line 118 of file FPGATrackSimLayerStudyTool.h.
|
private |
Definition at line 76 of file FPGATrackSimLayerStudyTool.h.
|
private |
Definition at line 178 of file FPGATrackSimLayerStudyTool.h.
|
private |
Definition at line 181 of file FPGATrackSimLayerStudyTool.h.
|
private |
Definition at line 183 of file FPGATrackSimLayerStudyTool.h.
|
private |
Definition at line 184 of file FPGATrackSimLayerStudyTool.h.
|
private |
Definition at line 179 of file FPGATrackSimLayerStudyTool.h.
|
private |
Definition at line 180 of file FPGATrackSimLayerStudyTool.h.
|
private |
Definition at line 182 of file FPGATrackSimLayerStudyTool.h.
|
private |
Definition at line 102 of file FPGATrackSimLayerStudyTool.h.
|
private |
Definition at line 100 of file FPGATrackSimLayerStudyTool.h.
|
private |
Definition at line 101 of file FPGATrackSimLayerStudyTool.h.
|
private |
Definition at line 119 of file FPGATrackSimLayerStudyTool.h.
|
private |
Definition at line 103 of file FPGATrackSimLayerStudyTool.h.
|
private |
Definition at line 92 of file FPGATrackSimLayerStudyTool.h.
|
privateinherited |
Definition at line 399 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 398 of file AthCommonDataStore.h.
|
private |
Definition at line 154 of file FPGATrackSimLayerStudyTool.h.
|
private |
Definition at line 89 of file FPGATrackSimLayerStudyTool.h.