#include <BasicTrackGradeFactory.h>
|
| static const InterfaceID & | interfaceID () |
| | AlgTool interface methods.
|
Definition at line 36 of file BasicTrackGradeFactory.h.
◆ StoreGateSvc_t
◆ BasicTrackGradeFactory()
| Analysis::BasicTrackGradeFactory::BasicTrackGradeFactory |
( |
const std::string & | t, |
|
|
const std::string & | n, |
|
|
const IInterface * | p ) |
Definition at line 18 of file BasicTrackGradeFactory.cxx.
18 :
20{
21
27
28 declareInterface<ITrackGradeFactory>( this );
29}
int m_nSharedPix
max. number of shared hits in B layer
int m_nSharedBLayer
if false the following cuts are ignored
int m_nSharedSct
max. number of shared hits in pixels
int m_nSharedSi
max. number of shared hits in SCT
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
◆ ~BasicTrackGradeFactory()
| Analysis::BasicTrackGradeFactory::~BasicTrackGradeFactory |
( |
| ) |
|
|
virtual |
◆ declareGaudiProperty()
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
158 {
161 hndl.documentation());
162
163 }
◆ declareProperty()
Definition at line 145 of file AthCommonDataStore.h.
145 {
148 }
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
◆ detStore()
◆ evtStore()
◆ extraDeps_update_handler()
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
◆ finalize()
| StatusCode Analysis::BasicTrackGradeFactory::finalize |
( |
| ) |
|
◆ getGrade()
Implements Analysis::ITrackGradeFactory.
Definition at line 66 of file BasicTrackGradeFactory.cxx.
67{
68
69 bool sharedClass(false);
70
72 {
73
76 ATH_MSG_ERROR(
"#BTAG# Cannot retrieve numberOfBLayerSharedHists for TrackGrade!");
77 }
78
80 ATH_MSG_ERROR(
"#BTAG# Cannot retrieve numberOfPixelSharedHists for TrackGrade!");
81 }
82
84 ATH_MSG_ERROR(
"#BTAG# Cannot retrieve numberOfSCTSharedHists for TrackGrade!");
85 }
86 int nsht = nps+nss ;
87
88
89
91 sharedClass = true;
92 }
94 sharedClass = true;
95 }
97 sharedClass = true;
98 }
100 sharedClass = true;
101 }
102 }
103
104 const TrackGrade * gradeToReturn(0);
105
106 if (sharedClass)
107 {
108
110 }
111 else
112 {
113
115 }
116
117 if (gradeToReturn==0)
118 {
120 return nullptr;
121 }
122
123 return new TrackGrade(*gradeToReturn);
124
125}
TrackGradesDefinition m_trackGradesDefinition
@ numberOfInnermostPixelLayerSharedHits
number of Pixel 0th layer barrel hits shared by several tracks.
@ numberOfPixelSharedHits
number of Pixel all-layer hits shared by several tracks [unit8_t].
@ numberOfSCTSharedHits
number of SCT hits shared by several tracks [unit8_t].
◆ getTrackGradesDefinition()
◆ initialize()
| StatusCode Analysis::BasicTrackGradeFactory::initialize |
( |
| ) |
|
AlgTool initailize method.
Definition at line 34 of file BasicTrackGradeFactory.cxx.
35{
36
37 std::vector<TrackGrade> myGrades;
38
40 {
41 myGrades.push_back(TrackGrade(0,std::string("Good")));
42 }
43 else
44 {
45 myGrades.push_back(TrackGrade(0,std::string("Good")));
46 myGrades.push_back(TrackGrade(1,std::string("Shared")));
47 }
48
50
51 return StatusCode::SUCCESS;
52}
◆ inputHandles()
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.
◆ interfaceID()
| const InterfaceID & Analysis::ITrackGradeFactory::interfaceID |
( |
| ) |
|
|
inlinestaticinherited |
AlgTool interface methods.
Definition at line 55 of file ITrackGradeFactory.h.
static const InterfaceID IID_ITrackGradeFactory("Analysis::ITrackGradeFactory", 1, 0)
◆ msg()
◆ msgLvl()
| bool AthCommonMsg< AlgTool >::msgLvl |
( |
const MSG::Level | lvl | ) |
const |
|
inlineinherited |
◆ outputHandles()
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.
◆ renounce()
Definition at line 380 of file AthCommonDataStore.h.
381 {
384 }
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)
◆ renounceArray()
◆ sysInitialize()
◆ sysStart()
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
◆ updateVHKA()
Definition at line 308 of file AthCommonDataStore.h.
308 {
309
310
313 for (
auto k :
keys) {
315 }
316 }
317 }
std::vector< SG::VarHandleKeyArray * > m_vhka
◆ m_detStore
◆ m_evtStore
◆ m_nSharedBLayer
| int Analysis::BasicTrackGradeFactory::m_nSharedBLayer |
|
private |
◆ m_nSharedPix
| int Analysis::BasicTrackGradeFactory::m_nSharedPix |
|
private |
◆ m_nSharedSct
| int Analysis::BasicTrackGradeFactory::m_nSharedSct |
|
private |
◆ m_nSharedSi
| int Analysis::BasicTrackGradeFactory::m_nSharedSi |
|
private |
◆ m_trackGradesDefinition
◆ m_useSharedHitInfo
| bool Analysis::BasicTrackGradeFactory::m_useSharedHitInfo |
|
private |
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files: