ATLAS Offline Software
Loading...
Searching...
No Matches
GBTSTrigL2LayerNumberTool Class Reference

#include <GBTSTrigL2LayerNumberTool.h>

Inheritance diagram for GBTSTrigL2LayerNumberTool:
Collaboration diagram for GBTSTrigL2LayerNumberTool:

Public Member Functions

 GBTSTrigL2LayerNumberTool (const std::string &, const std::string &, const IInterface *)
virtual ~GBTSTrigL2LayerNumberTool ()
StatusCode initialize ()
StatusCode finalize ()
virtual int maxSiliconLayerNum () const
virtual int offsetEndcapPixels () const
virtual int offsetBarrelSCT () const
virtual int offsetEndcapSCT () const
virtual void report () const
virtual int maxNumberOfUniqueLayers () const
virtual const std::vector< short > * pixelLayers () const
virtual const std::vector< short > * sctLayers () const
virtual const std::vector< TrigInDetSiLayer > * layerGeometry () const
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

Static Public Member Functions

static const InterfaceID & interfaceID ()
 other standard AlgTool methods

Protected Member Functions

void createModuleHashMap (std::map< std::tuple< int, int, short, short >, std::vector< GBTSPhiEtaHash > > &)
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.

Protected Attributes

bool m_useNewScheme
int m_MaxSiliconLayerNum
int m_OffsetEndcapPixels
int m_OffsetBarrelSCT
int m_OffsetEndcapSCT
int m_LastBarrelLayer = 0
const SCT_IDm_sctId = nullptr
const PixelIDm_pixelId = nullptr
const InDetDD::PixelDetectorManagerm_pixelManager = nullptr
const InDetDD::SCT_DetectorManagerm_sctManager = nullptr
std::map< std::tuple< int, int, short, short >, std::vector< GBTSPhiEtaHash > > m_hashMap
std::vector< short > m_pixelLayers
std::vector< short > m_sctLayers
std::vector< TrigInDetSiLayerm_layerGeometry

Private Types

typedef ServiceHandle< StoreGateSvcStoreGateSvc_t

Private Member Functions

Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
 specialization for handling Gaudi::Property<SG::VarHandleKey>

Private Attributes

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

Detailed Description

Definition at line 45 of file GBTSTrigL2LayerNumberTool.h.

Member Typedef Documentation

◆ StoreGateSvc_t

typedef ServiceHandle<StoreGateSvc> AthCommonDataStore< AthCommonMsg< AlgTool > >::StoreGateSvc_t
privateinherited

Definition at line 388 of file AthCommonDataStore.h.

Constructor & Destructor Documentation

◆ GBTSTrigL2LayerNumberTool()

GBTSTrigL2LayerNumberTool::GBTSTrigL2LayerNumberTool ( const std::string & t,
const std::string & n,
const IInterface * p )

Definition at line 15 of file GBTSTrigL2LayerNumberTool.cxx.

17 : AthAlgTool(t,n,p),
18 m_useNewScheme(false),
23{
24 declareInterface< ITrigL2LayerNumberTool >( this );
25 declareProperty( "UseNewLayerScheme", m_useNewScheme = false );
26}
AthAlgTool()
Default constructor:
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)

◆ ~GBTSTrigL2LayerNumberTool()

virtual GBTSTrigL2LayerNumberTool::~GBTSTrigL2LayerNumberTool ( )
inlinevirtual

Definition at line 50 of file GBTSTrigL2LayerNumberTool.h.

50{};

Member Function Documentation

◆ createModuleHashMap()

void GBTSTrigL2LayerNumberTool::createModuleHashMap ( std::map< std::tuple< int, int, short, short >, std::vector< GBTSPhiEtaHash > > & hashMap)
protected

Definition at line 103 of file GBTSTrigL2LayerNumberTool.cxx.

103 {
104
105
106 short subdetid = 1;
107
108 for(int hash = 0; hash<static_cast<int>(m_pixelId->wafer_hash_max()); hash++) {
109
110 Identifier offlineId = m_pixelId->wafer_id(hash);
111
112 if(offlineId==0) continue;
113
114 short barrel_ec = m_pixelId->barrel_ec(offlineId);
115 if(std::abs(barrel_ec)>2) {std::cout << "barrel " << " " << hash << std::endl; continue;}//no DBM needed
116
117 short phi_index = m_pixelId->phi_module(offlineId);
118 short eta_index = m_pixelId->eta_module(offlineId);
119 int lay_id = m_pixelId->layer_disk(offlineId);
120 int eta_mod = m_pixelId->eta_module(offlineId);
121
122 int vol_id = -1;
123 if(barrel_ec== 0) vol_id = 8;
124 if(barrel_ec==-2) vol_id = 7;
125 if(barrel_ec== 2) vol_id = 9;
126
127 int new_vol=0, new_lay=0;
128
129 if(vol_id == 7 || vol_id == 9) {
130 new_vol = 10*vol_id + lay_id;
131 new_lay = eta_mod;
132 }
133 else if(vol_id == 8) {
134 new_lay = 0;
135 new_vol = 10*vol_id + lay_id;
136 }
137
138 auto t = std::make_tuple(barrel_ec==0 ? -100 : barrel_ec, subdetid, new_vol, new_lay);
139
140 std::map<std::tuple<int, int, short, short>,std::vector<GBTSPhiEtaHash> >::iterator it = hashMap.find(t);
141 if(it==hashMap.end())
142 hashMap.insert(std::pair<std::tuple<int, int, short, short>,std::vector<GBTSPhiEtaHash> >(t,std::vector<GBTSPhiEtaHash>(1, GBTSPhiEtaHash(phi_index, eta_index, hash) )));
143 else (*it).second.push_back(GBTSPhiEtaHash(phi_index, eta_index, hash));
144 }
145
146 if (false) {
147 subdetid = 2; //SCT
148
149 for(int hash = 0; hash<static_cast<int>(m_sctId->wafer_hash_max()); hash++) {
150
151 Identifier offlineId = m_sctId->wafer_id(hash);
152
153 if(offlineId==0) continue;
154
155 short barrel_ec = m_sctId->barrel_ec(offlineId);
156 short phi_index = m_sctId->phi_module(offlineId);
157 short eta_index = m_sctId->eta_module(offlineId);
158
159 int vol_id = 13;
160
161 if(barrel_ec) vol_id = 12;
162 if(barrel_ec>0) vol_id = 14;
163
164 int lay_id = m_sctId->layer_disk(offlineId);
165
166 auto t = std::make_tuple(barrel_ec==0 ? -100 : barrel_ec, subdetid, vol_id, lay_id);
167
168 std::map<std::tuple<int, int, short, short>,std::vector<GBTSPhiEtaHash> >::iterator it = hashMap.find(t);
169 if(it==hashMap.end())
170 hashMap.insert(std::pair<std::tuple<int, int, short, short>,std::vector<GBTSPhiEtaHash> >(t,std::vector<GBTSPhiEtaHash>(1, GBTSPhiEtaHash(phi_index, eta_index, hash))));
171 else (*it).second.push_back(GBTSPhiEtaHash(phi_index, eta_index, hash));
172 }
173 }
174
175
176 m_pixelLayers.clear();
177 m_sctLayers.clear();
178
179 m_pixelLayers.resize(m_pixelId->wafer_hash_max(), -100);
180 m_sctLayers.resize(m_sctId->wafer_hash_max(), -100);
181 m_layerGeometry.resize(hashMap.size());
182
183 int layerId=0;
185 for(std::map<std::tuple<int,int,short,short>,std::vector<GBTSPhiEtaHash> >::iterator it = hashMap.begin();it!=hashMap.end();++it, layerId++) {
186
187 short vol_id = std::get<2>((*it).first);
188 short lay_id = std::get<3>((*it).first);
189
190 int combinedId = static_cast<int>(vol_id)*1000 + lay_id;
191
192 short subdetId = std::get<1>((*it).first);
193 short barrel_ec = std::get<0>((*it).first);
194
195 if(barrel_ec==-100) barrel_ec = 0;
196
197 if(barrel_ec == 0) m_LastBarrelLayer++;
198
199 m_layerGeometry[layerId].m_type = barrel_ec;
200 m_layerGeometry[layerId].m_subdet = combinedId;
201
202
203 float rc=0.0;
204 float minBound = 100000.0;
205 float maxBound =-100000.0;
206 int nModules = 0;
207
208 for(std::vector<GBTSPhiEtaHash>::iterator hIt = (*it).second.begin();hIt != (*it).second.end();++hIt) {
209
210 const InDetDD::SiDetectorElement *p{nullptr};
211
212 if(subdetId == 1) {//pixel
213 m_pixelLayers[(*hIt).m_hash] = layerId;
214 p = m_pixelManager->getDetectorElement((*hIt).m_hash);
215 }
216 if(subdetId == 2) {//SCT
217 m_sctLayers[(*hIt).m_hash] = layerId;
218 p = m_sctManager->getDetectorElement((*hIt).m_hash);
219 }
220
221 if (p==nullptr) {
222 ATH_MSG_ERROR("nullptr SiDetectorElement with idHash " << (*hIt).m_hash);
223 continue;
224 }
225 const Amg::Vector3D& C = p->center();
226 if(barrel_ec == 0) {
227 rc += sqrt(C(0)*C(0)+C(1)*C(1));
228 if(p->zMin() < minBound) minBound = p->zMin();
229 if(p->zMax() > maxBound) maxBound = p->zMax();
230 }
231 else {
232 rc += C(2);
233 if(p->rMin() < minBound) minBound = p->rMin();
234 if(p->rMax() > maxBound) maxBound = p->rMax();
235 }
236 nModules++;
237 }
238 if (nModules == 0)[[unlikely]]{
239 throw std::runtime_error("GBTSTrigL2LayerNumberTool::createModuleHashMap: nModules is zero.");
240 }
241 m_layerGeometry[layerId].m_refCoord = rc/nModules;
242 m_layerGeometry[layerId].m_minBound = minBound;
243 m_layerGeometry[layerId].m_maxBound = maxBound;
244 }
245
246 int M = (layerId-m_LastBarrelLayer)/2;
247
248 ATH_MSG_DEBUG("List of unique layers in Pixel and SCT :");
249 for(int l=0;l<layerId;l++) {
250
251 int oldL = l;
252
253 if(l>m_LastBarrelLayer-1) {
254 oldL = l-m_LastBarrelLayer;
255 oldL = oldL < M ? oldL : oldL - M;
256 oldL += m_LastBarrelLayer;
257 }
258
259 if(m_layerGeometry[l].m_subdet==1) {
260 ATH_MSG_DEBUG("Layer "<<l<<" ("<<oldL<<") : PIX, reference coordinate ="<< m_layerGeometry[l].m_refCoord<<" boundaries: "<<m_layerGeometry[l].m_minBound<<
261 " "<<m_layerGeometry[l].m_maxBound);
262 }
263 if(m_layerGeometry[l].m_subdet==2) {
264 ATH_MSG_DEBUG("Layer "<<l<<" ("<<oldL<<") : SCT, reference coordinate ="<< m_layerGeometry[l].m_refCoord<<" boundaries: "<<m_layerGeometry[l].m_minBound<<
265 " "<<m_layerGeometry[l].m_maxBound);
266 }
267 }
268}
#define ATH_MSG_DEBUG(x,...)
#define ATH_MSG_ERROR(x,...)
static Double_t rc
const InDetDD::PixelDetectorManager * m_pixelManager
std::vector< TrigInDetSiLayer > m_layerGeometry
const InDetDD::SCT_DetectorManager * m_sctManager
struct color C
Eigen::Matrix< double, 3, 1 > Vector3D
l
Printing final latex table to .tex output file.
#define unlikely(x)

◆ declareGaudiProperty()

Gaudi::Details::PropertyBase & AthCommonDataStore< AthCommonMsg< AlgTool > >::declareGaudiProperty ( Gaudi::Property< T, V, H > & hndl,
const SG::VarHandleKeyType &  )
inlineprivateinherited

specialization for handling Gaudi::Property<SG::VarHandleKey>

Definition at line 156 of file AthCommonDataStore.h.

158 {
160 hndl.value(),
161 hndl.documentation());
162
163 }

◆ declareProperty()

Gaudi::Details::PropertyBase & AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty ( Gaudi::Property< T, V, H > & t)
inlineinherited

Definition at line 145 of file AthCommonDataStore.h.

145 {
146 typedef typename SG::HandleClassifier<T>::type htype;
148 }
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>

◆ detStore()

const ServiceHandle< StoreGateSvc > & AthCommonDataStore< AthCommonMsg< AlgTool > >::detStore ( ) const
inlineinherited

The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 95 of file AthCommonDataStore.h.

◆ evtStore()

ServiceHandle< StoreGateSvc > & AthCommonDataStore< AthCommonMsg< AlgTool > >::evtStore ( )
inlineinherited

The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 85 of file AthCommonDataStore.h.

◆ extraDeps_update_handler()

void AthCommonDataStore< AthCommonMsg< AlgTool > >::extraDeps_update_handler ( Gaudi::Details::PropertyBase & ExtraDeps)
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

◆ finalize()

StatusCode GBTSTrigL2LayerNumberTool::finalize ( )

Definition at line 88 of file GBTSTrigL2LayerNumberTool.cxx.

89{
90 StatusCode sc = AthAlgTool::finalize();
91 return sc;
92}
static Double_t sc
::StatusCode StatusCode
StatusCode definition for legacy code.

◆ initialize()

StatusCode GBTSTrigL2LayerNumberTool::initialize ( )

Definition at line 28 of file GBTSTrigL2LayerNumberTool.cxx.

28 {
29
30 StatusCode sc = AthAlgTool::initialize();
31
32 ATH_MSG_DEBUG("In initialize...");
33
34 sc = detStore()->retrieve(m_pixelId, "PixelID");
35 if (sc.isFailure()) {
36 ATH_MSG_FATAL("Could not get Pixel ID helper");
37 return sc;
38 }
39
40 sc = detStore()->retrieve(m_sctId, "SCT_ID");
41 if (sc.isFailure()) {
42 ATH_MSG_FATAL("Could not get SCT ID helper");
43 return sc;
44 }
45
46 sc = detStore()->retrieve(m_pixelManager);
47 if( sc.isFailure() ) {
48 ATH_MSG_ERROR("Could not retrieve Pixel DetectorManager from detStore.");
49 return sc;
50 }
51
52 sc = detStore()->retrieve(m_sctManager);
53 if( sc.isFailure() ) {
54 ATH_MSG_ERROR("Could not retrieve SCT DetectorManager from detStore.");
55 return sc;
56 }
57
58 //calculate the numbers
59
60 if(!m_useNewScheme) {
61
62 const InDetDD::SiNumerology& pixSiNum = m_pixelManager->numerology();
63 const InDetDD::SiNumerology& sctSiNum = m_sctManager->numerology();
64
65 m_MaxSiliconLayerNum = pixSiNum.numLayers()+pixSiNum.numDisks()+sctSiNum.numLayers()+sctSiNum.numDisks();
66 m_OffsetBarrelSCT = pixSiNum.numLayers();
67 m_OffsetEndcapPixels = pixSiNum.numLayers()+sctSiNum.numLayers();
69 m_OffsetEndcapSCT = pixSiNum.numLayers()+sctSiNum.numLayers()+pixSiNum.numDisks();
70 }
71 else {
73
74 ATH_MSG_DEBUG("Total number of unique silicon layers = "<<m_hashMap.size());
75
78 }
79
80
81 ATH_MSG_DEBUG("GBTSTrigL2LayerNumberTool initialized ");
82
83 report();
84
85 return sc;
86}
#define ATH_MSG_FATAL(x,...)
const ServiceHandle< StoreGateSvc > & detStore() const
std::map< std::tuple< int, int, short, short >, std::vector< GBTSPhiEtaHash > > m_hashMap
void createModuleHashMap(std::map< std::tuple< int, int, short, short >, std::vector< GBTSPhiEtaHash > > &)
int numLayers() const
Number of layers.
int numDisks() const
Number of disks.

◆ inputHandles()

virtual std::vector< Gaudi::DataHandle * > AthCommonDataStore< AthCommonMsg< AlgTool > >::inputHandles ( ) const
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.

◆ interfaceID()

const InterfaceID & ITrigL2LayerNumberTool::interfaceID ( )
inlinestaticinherited

other standard AlgTool methods

< the Tool's interface

Definition at line 24 of file ITrigL2LayerNumberTool.h.

24 {
26 }
static const InterfaceID IID_ITrigL2LayerNumberTool("ITrigL2LayerNumberTool", 1, 0)

◆ layerGeometry()

virtual const std::vector< TrigInDetSiLayer > * GBTSTrigL2LayerNumberTool::layerGeometry ( ) const
inlinevirtual

Implements ITrigL2LayerNumberTool.

Definition at line 76 of file GBTSTrigL2LayerNumberTool.h.

76 {
77 return &m_layerGeometry;
78 }

◆ maxNumberOfUniqueLayers()

virtual int GBTSTrigL2LayerNumberTool::maxNumberOfUniqueLayers ( ) const
inlinevirtual

Implements ITrigL2LayerNumberTool.

Definition at line 64 of file GBTSTrigL2LayerNumberTool.h.

64 {
65 return (int) m_hashMap.size();
66 }

◆ maxSiliconLayerNum()

virtual int GBTSTrigL2LayerNumberTool::maxSiliconLayerNum ( ) const
inlinevirtual

Implements ITrigL2LayerNumberTool.

Definition at line 58 of file GBTSTrigL2LayerNumberTool.h.

◆ msg()

MsgStream & AthCommonMsg< AlgTool >::msg ( ) const
inlineinherited

Definition at line 24 of file AthCommonMsg.h.

24 {
25 return this->msgStream();
26 }

◆ msgLvl()

bool AthCommonMsg< AlgTool >::msgLvl ( const MSG::Level lvl) const
inlineinherited

Definition at line 30 of file AthCommonMsg.h.

30 {
31 return this->msgLevel(lvl);
32 }

◆ offsetBarrelSCT()

virtual int GBTSTrigL2LayerNumberTool::offsetBarrelSCT ( ) const
inlinevirtual

Implements ITrigL2LayerNumberTool.

Definition at line 60 of file GBTSTrigL2LayerNumberTool.h.

60{return m_OffsetBarrelSCT;}

◆ offsetEndcapPixels()

virtual int GBTSTrigL2LayerNumberTool::offsetEndcapPixels ( ) const
inlinevirtual

Implements ITrigL2LayerNumberTool.

Definition at line 59 of file GBTSTrigL2LayerNumberTool.h.

◆ offsetEndcapSCT()

virtual int GBTSTrigL2LayerNumberTool::offsetEndcapSCT ( ) const
inlinevirtual

Implements ITrigL2LayerNumberTool.

Definition at line 61 of file GBTSTrigL2LayerNumberTool.h.

61{return m_OffsetEndcapSCT;}

◆ outputHandles()

virtual std::vector< Gaudi::DataHandle * > AthCommonDataStore< AthCommonMsg< AlgTool > >::outputHandles ( ) const
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.

◆ pixelLayers()

virtual const std::vector< short > * GBTSTrigL2LayerNumberTool::pixelLayers ( ) const
inlinevirtual

Implements ITrigL2LayerNumberTool.

Definition at line 68 of file GBTSTrigL2LayerNumberTool.h.

68 {
69 return &m_pixelLayers;
70 }

◆ renounce()

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 > AthCommonDataStore< AthCommonMsg< AlgTool > >::renounce ( T & h)
inlineprotectedinherited

Definition at line 380 of file AthCommonDataStore.h.

381 {
382 h.renounce();
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()

void AthCommonDataStore< AthCommonMsg< AlgTool > >::renounceArray ( SG::VarHandleKeyArray & handlesArray)
inlineprotectedinherited

remove all handles from I/O resolution

Definition at line 364 of file AthCommonDataStore.h.

364 {
366 }

◆ report()

void GBTSTrigL2LayerNumberTool::report ( ) const
virtual

Implements ITrigL2LayerNumberTool.

Definition at line 94 of file GBTSTrigL2LayerNumberTool.cxx.

94 {
95
96 ATH_MSG_DEBUG("TrigL2 Layer numbering scheme:");
97 ATH_MSG_DEBUG("Total number of layers = "<<maxSiliconLayerNum());
98 ATH_MSG_DEBUG("OffsetEndcapPixels = "<<offsetEndcapPixels());
99 ATH_MSG_DEBUG("OffsetBarrelSCT = "<<offsetBarrelSCT());
100 ATH_MSG_DEBUG("OffsetEndcapSCT = "<<offsetEndcapSCT());
101}

◆ sctLayers()

virtual const std::vector< short > * GBTSTrigL2LayerNumberTool::sctLayers ( ) const
inlinevirtual

Implements ITrigL2LayerNumberTool.

Definition at line 72 of file GBTSTrigL2LayerNumberTool.h.

72 {
73 return &m_sctLayers;
74 }

◆ sysInitialize()

virtual StatusCode AthCommonDataStore< AthCommonMsg< AlgTool > >::sysInitialize ( )
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 >, and AthCheckedComponent<::AthAlgTool >.

◆ sysStart()

virtual StatusCode AthCommonDataStore< AthCommonMsg< AlgTool > >::sysStart ( )
overridevirtualinherited

Handle START transition.

We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.

◆ updateVHKA()

void AthCommonDataStore< AthCommonMsg< AlgTool > >::updateVHKA ( Gaudi::Details::PropertyBase & )
inlineinherited

Definition at line 308 of file AthCommonDataStore.h.

308 {
309 // debug() << "updateVHKA for property " << p.name() << " " << p.toString()
310 // << " size: " << m_vhka.size() << endmsg;
311 for (auto &a : m_vhka) {
313 for (auto k : keys) {
314 k->setOwner(this);
315 }
316 }
317 }
std::vector< SG::VarHandleKeyArray * > m_vhka

Member Data Documentation

◆ m_detStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< AlgTool > >::m_detStore
privateinherited

Pointer to StoreGate (detector store by default).

Definition at line 393 of file AthCommonDataStore.h.

◆ m_evtStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< AlgTool > >::m_evtStore
privateinherited

Pointer to StoreGate (event store by default).

Definition at line 390 of file AthCommonDataStore.h.

◆ m_hashMap

std::map<std::tuple<int, int, short, short>,std::vector<GBTSPhiEtaHash> > GBTSTrigL2LayerNumberTool::m_hashMap
protected

Definition at line 98 of file GBTSTrigL2LayerNumberTool.h.

◆ m_LastBarrelLayer

int GBTSTrigL2LayerNumberTool::m_LastBarrelLayer = 0
protected

Definition at line 89 of file GBTSTrigL2LayerNumberTool.h.

◆ m_layerGeometry

std::vector<TrigInDetSiLayer> GBTSTrigL2LayerNumberTool::m_layerGeometry
protected

Definition at line 100 of file GBTSTrigL2LayerNumberTool.h.

◆ m_MaxSiliconLayerNum

int GBTSTrigL2LayerNumberTool::m_MaxSiliconLayerNum
protected

Definition at line 85 of file GBTSTrigL2LayerNumberTool.h.

◆ m_OffsetBarrelSCT

int GBTSTrigL2LayerNumberTool::m_OffsetBarrelSCT
protected

Definition at line 87 of file GBTSTrigL2LayerNumberTool.h.

◆ m_OffsetEndcapPixels

int GBTSTrigL2LayerNumberTool::m_OffsetEndcapPixels
protected

Definition at line 86 of file GBTSTrigL2LayerNumberTool.h.

◆ m_OffsetEndcapSCT

int GBTSTrigL2LayerNumberTool::m_OffsetEndcapSCT
protected

Definition at line 88 of file GBTSTrigL2LayerNumberTool.h.

◆ m_pixelId

const PixelID* GBTSTrigL2LayerNumberTool::m_pixelId = nullptr
protected

Definition at line 92 of file GBTSTrigL2LayerNumberTool.h.

◆ m_pixelLayers

std::vector<short> GBTSTrigL2LayerNumberTool::m_pixelLayers
protected

Definition at line 99 of file GBTSTrigL2LayerNumberTool.h.

◆ m_pixelManager

const InDetDD::PixelDetectorManager* GBTSTrigL2LayerNumberTool::m_pixelManager = nullptr
protected

Definition at line 93 of file GBTSTrigL2LayerNumberTool.h.

◆ m_sctId

const SCT_ID* GBTSTrigL2LayerNumberTool::m_sctId = nullptr
protected

Definition at line 91 of file GBTSTrigL2LayerNumberTool.h.

◆ m_sctLayers

std::vector<short> GBTSTrigL2LayerNumberTool::m_sctLayers
protected

Definition at line 99 of file GBTSTrigL2LayerNumberTool.h.

◆ m_sctManager

const InDetDD::SCT_DetectorManager* GBTSTrigL2LayerNumberTool::m_sctManager = nullptr
protected

Definition at line 94 of file GBTSTrigL2LayerNumberTool.h.

◆ m_useNewScheme

bool GBTSTrigL2LayerNumberTool::m_useNewScheme
protected

Definition at line 82 of file GBTSTrigL2LayerNumberTool.h.

◆ m_varHandleArraysDeclared

bool AthCommonDataStore< AthCommonMsg< AlgTool > >::m_varHandleArraysDeclared
privateinherited

Definition at line 399 of file AthCommonDataStore.h.

◆ m_vhka

std::vector<SG::VarHandleKeyArray*> AthCommonDataStore< AthCommonMsg< AlgTool > >::m_vhka
privateinherited

Definition at line 398 of file AthCommonDataStore.h.


The documentation for this class was generated from the following files: