ATLAS Offline Software
Public Member Functions | Public Attributes | Protected Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
LArHV2Ntuple Class Reference

#include <LArHV2Ntuple.h>

Inheritance diagram for LArHV2Ntuple:
Collaboration diagram for LArHV2Ntuple:

Public Member Functions

 LArHV2Ntuple (const std::string &name, ISvcLocator *pSvcLocator)
 Standard Athena-Algorithm Constructor. More...
 
virtual ~LArHV2Ntuple ()
 Default Destructor. More...
 
virtual StatusCode initialize () override
 standard Athena-Algorithm method More...
 
virtual StatusCode execute () override
 standard Athena-Algorithm method More...
 
virtual StatusCode sysInitialize () override
 Override sysInitialize. More...
 
virtual const DataObjIDColl & extraOutputDeps () const override
 Return the list of extra output dependencies. More...
 
ServiceHandle< StoreGateSvc > & evtStore ()
 The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. More...
 
const ServiceHandle< StoreGateSvc > & evtStore () const
 The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. More...
 
const ServiceHandle< StoreGateSvc > & detStore () const
 The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc. More...
 
virtual StatusCode sysStart () override
 Handle START transition. More...
 
virtual std::vector< Gaudi::DataHandle * > inputHandles () const override
 Return this algorithm's input handles. More...
 
virtual std::vector< Gaudi::DataHandle * > outputHandles () const override
 Return this algorithm's output handles. More...
 
Gaudi::Details::PropertyBase & declareProperty (Gaudi::Property< T > &t)
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, SG::VarHandleKey &hndl, const std::string &doc, const SG::VarHandleKeyType &)
 Declare a new Gaudi property. More...
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, SG::VarHandleBase &hndl, const std::string &doc, const SG::VarHandleType &)
 Declare a new Gaudi property. More...
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, SG::VarHandleKeyArray &hndArr, const std::string &doc, const SG::VarHandleKeyArrayType &)
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, T &property, const std::string &doc, const SG::NotHandleType &)
 Declare a new Gaudi property. More...
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, T &property, const std::string &doc="none")
 Declare a new Gaudi property. More...
 
void updateVHKA (Gaudi::Details::PropertyBase &)
 
MsgStream & msg () const
 
MsgStream & msg (const MSG::Level lvl) const
 
bool msgLvl (const MSG::Level lvl) const
 

Public Attributes

 parser = argparse.ArgumentParser(formatter_class=argparse.ArgumentDefaultsHelpFormatter)
 
 dest
 
 default
 
 help
 
 type
 
 None
 
 args = parser.parse_args()
 
 flags = initConfigFlags()
 
 RunNumbers
 
 AtlasVersion
 
 Files
 
 isMC
 
 doAlign
 
 Run
 
 DatabaseInstance
 
 GlobalTag
 
 cfg = MainServicesCfg(flags)
 
 rootfile = args.out
 

Protected Member Functions

void renounceArray (SG::VarHandleKeyArray &handlesArray)
 remove all handles from I/O resolution More...
 
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. More...
 

Private Types

typedef ServiceHandle< StoreGateSvcStoreGateSvc_t
 

Private Member Functions

std::vector< int > GetHVLines (const EMBHVManager::EMBHVData &hvdata_EMB, const EMBPresamplerHVManager::EMBPresamplerHVData &hvdata_EMBPS, const EMECHVManager::EMECHVData &hvdata_EMEC_OUT, const EMECHVManager::EMECHVData &hvdata_EMEC_IN, const EMECPresamplerHVManager::EMECPresamplerHVData &hvdata_EMECPS, const HECHVManager::HECHVData &hvdata_HEC, const FCALHVManager::FCALHVData &hvdata_FCAL, const Identifier &id, const CaloDetDescrManager *calodetdescrmgr)
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
 specialization for handling Gaudi::Property<SG::VarHandleKey> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyArrayType &)
 specialization for handling Gaudi::Property<SG::VarHandleKeyArray> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleType &)
 specialization for handling Gaudi::Property<SG::VarHandleBase> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &t, const SG::NotHandleType &)
 specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray> More...
 

Private Attributes

SG::ReadCondHandleKey< LArOnOffIdMappingm_cablingKey {this, "OnOffMap", "LArOnOffIdMap", "SG key for mapping object"}
 
SG::ReadCondHandleKey< LArHVIdMappingm_hvCablingKey {this, "LArHVIdMapping", "LArHVIdMap", "SG key for HV ID mapping"}
 
SG::ReadCondHandleKeyArray< CondAttrListCollectionm_DCSFolderKeys { this, "DCSFolderNames", {"/LAR/DCS/HV/BARREl/I16", "/LAR/DCS/HV/BARREL/I8"}, "DCS folders with HV values"}
 
SG::ReadCondHandleKey< CaloDetDescrManagerm_caloMgrKey
 
ServiceHandle< ITHistSvc > m_thistSvc {this,"THistSvc","THistSvc"}
 
TTree * m_tree
 
bool m_addcells
 
int m_bec
 
int m_isPresampler
 
float m_eta
 
float m_phi
 
int m_electrode
 
int m_gap
 
int m_hvline
 
float m_hv
 
float m_current
 
int m_barrelec
 
int m_posneg
 
int m_FT
 
int m_slot
 
int m_channel
 
const CaloCell_IDm_caloId
 
const LArOnlineIDm_onlId
 
std::map< int, std::vector< HWIdentifier > > m_hvonlId_map
 
DataObjIDColl m_extendedExtraObjects
 
StoreGateSvc_t m_evtStore
 Pointer to StoreGate (event store by default) More...
 
StoreGateSvc_t m_detStore
 Pointer to StoreGate (detector store by default) More...
 
std::vector< SG::VarHandleKeyArray * > m_vhka
 
bool m_varHandleArraysDeclared
 

Detailed Description

Definition at line 38 of file LArHV2Ntuple.h.

Member Typedef Documentation

◆ StoreGateSvc_t

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

Definition at line 388 of file AthCommonDataStore.h.

Constructor & Destructor Documentation

◆ LArHV2Ntuple()

LArHV2Ntuple::LArHV2Ntuple ( const std::string &  name,
ISvcLocator *  pSvcLocator 
)

Standard Athena-Algorithm Constructor.

Definition at line 32 of file LArHV2Ntuple.cxx.

32  :
33  AthAlgorithm(name,pSvcLocator),
34  m_tree(nullptr),
35  m_addcells(false),
36  m_bec(0),
37  m_isPresampler(0),
38  m_eta(0),
39  m_phi(0),
40  m_electrode(0),
41  m_gap(0),
42  m_hvline(0),
43  m_hv(0),
44  m_current(0),
45  m_barrelec(0), m_posneg(0), m_FT(0),m_slot(0),m_channel(0),
46  m_caloId(nullptr), m_onlId(nullptr)
47  {
48  declareProperty("AddCellID",m_addcells);
49  }

◆ ~LArHV2Ntuple()

LArHV2Ntuple::~LArHV2Ntuple ( )
virtual

Default Destructor.

Definition at line 53 of file LArHV2Ntuple.cxx.

54  {
55  ATH_MSG_DEBUG ( "LArHV2Ntuple destructor called" );
56  }

Member Function Documentation

◆ declareGaudiProperty() [1/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< Algorithm > >::declareGaudiProperty ( Gaudi::Property< T > &  hndl,
const SG::VarHandleKeyArrayType  
)
inlineprivateinherited

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

Definition at line 170 of file AthCommonDataStore.h.

172  {
173  return *AthCommonDataStore<PBASE>::declareProperty(hndl.name(),
174  hndl.value(),
175  hndl.documentation());
176 
177  }

◆ declareGaudiProperty() [2/4]

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

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

Definition at line 156 of file AthCommonDataStore.h.

158  {
159  return *AthCommonDataStore<PBASE>::declareProperty(hndl.name(),
160  hndl.value(),
161  hndl.documentation());
162 
163  }

◆ declareGaudiProperty() [3/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< Algorithm > >::declareGaudiProperty ( Gaudi::Property< T > &  hndl,
const SG::VarHandleType  
)
inlineprivateinherited

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

Definition at line 184 of file AthCommonDataStore.h.

186  {
187  return *AthCommonDataStore<PBASE>::declareProperty(hndl.name(),
188  hndl.value(),
189  hndl.documentation());
190  }

◆ declareGaudiProperty() [4/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< Algorithm > >::declareGaudiProperty ( Gaudi::Property< T > &  t,
const SG::NotHandleType  
)
inlineprivateinherited

specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray>

Definition at line 199 of file AthCommonDataStore.h.

200  {
201  return PBASE::declareProperty(t);
202  }

◆ declareProperty() [1/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< Algorithm > >::declareProperty ( const std::string &  name,
SG::VarHandleBase hndl,
const std::string &  doc,
const SG::VarHandleType  
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
hndlObject holding the property value.
docDocumentation string for the property.

This is the version for types that derive from SG::VarHandleBase. The property value object is put on the input and output lists as appropriate; then we forward to the base class.

Definition at line 245 of file AthCommonDataStore.h.

249  {
250  this->declare(hndl.vhKey());
251  hndl.vhKey().setOwner(this);
252 
253  return PBASE::declareProperty(name,hndl,doc);
254  }

◆ declareProperty() [2/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< Algorithm > >::declareProperty ( const std::string &  name,
SG::VarHandleKey hndl,
const std::string &  doc,
const SG::VarHandleKeyType  
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
hndlObject holding the property value.
docDocumentation string for the property.

This is the version for types that derive from SG::VarHandleKey. The property value object is put on the input and output lists as appropriate; then we forward to the base class.

Definition at line 221 of file AthCommonDataStore.h.

225  {
226  this->declare(hndl);
227  hndl.setOwner(this);
228 
229  return PBASE::declareProperty(name,hndl,doc);
230  }

◆ declareProperty() [3/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< Algorithm > >::declareProperty ( const std::string &  name,
SG::VarHandleKeyArray hndArr,
const std::string &  doc,
const SG::VarHandleKeyArrayType  
)
inlineinherited

Definition at line 259 of file AthCommonDataStore.h.

263  {
264 
265  // std::ostringstream ost;
266  // ost << Algorithm::name() << " VHKA declareProp: " << name
267  // << " size: " << hndArr.keys().size()
268  // << " mode: " << hndArr.mode()
269  // << " vhka size: " << m_vhka.size()
270  // << "\n";
271  // debug() << ost.str() << endmsg;
272 
273  hndArr.setOwner(this);
274  m_vhka.push_back(&hndArr);
275 
276  Gaudi::Details::PropertyBase* p = PBASE::declareProperty(name, hndArr, doc);
277  if (p != 0) {
278  p->declareUpdateHandler(&AthCommonDataStore<PBASE>::updateVHKA, this);
279  } else {
280  ATH_MSG_ERROR("unable to call declareProperty on VarHandleKeyArray "
281  << name);
282  }
283 
284  return p;
285 
286  }

◆ declareProperty() [4/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< Algorithm > >::declareProperty ( const std::string &  name,
T &  property,
const std::string &  doc,
const SG::NotHandleType  
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
propertyObject holding the property value.
docDocumentation string for the property.

This is the generic version, for types that do not derive from SG::VarHandleKey. It just forwards to the base class version of declareProperty.

Definition at line 333 of file AthCommonDataStore.h.

337  {
338  return PBASE::declareProperty(name, property, doc);
339  }

◆ declareProperty() [5/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< Algorithm > >::declareProperty ( const std::string &  name,
T &  property,
const std::string &  doc = "none" 
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
propertyObject holding the property value.
docDocumentation string for the property.

This dispatches to either the generic declareProperty or the one for VarHandle/Key/KeyArray.

Definition at line 352 of file AthCommonDataStore.h.

355  {
356  typedef typename SG::HandleClassifier<T>::type htype;
357  return declareProperty (name, property, doc, htype());
358  }

◆ declareProperty() [6/6]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< Algorithm > >::declareProperty ( Gaudi::Property< T > &  t)
inlineinherited

Definition at line 145 of file AthCommonDataStore.h.

145  {
146  typedef typename SG::HandleClassifier<T>::type htype;
148  }

◆ detStore()

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

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

Definition at line 95 of file AthCommonDataStore.h.

95 { return m_detStore; }

◆ evtStore() [1/2]

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

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

Definition at line 85 of file AthCommonDataStore.h.

85 { return m_evtStore; }

◆ evtStore() [2/2]

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

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

Definition at line 90 of file AthCommonDataStore.h.

90 { return m_evtStore; }

◆ execute()

StatusCode LArHV2Ntuple::execute ( )
overridevirtual

standard Athena-Algorithm method

Definition at line 93 of file LArHV2Ntuple.cxx.

94  {
95  const EventContext& ctx = Gaudi::Hive::currentContext();
96 
97  //.............................................
98 
99  // FIXME: Use LArHVData instead?
101  std::vector<const CondAttrListCollection*> attrLists;
103  {
105  attrLists.push_back (*attrList);
106  }
107  const LArHVManager *manager = nullptr;
109 
110  const EMBHVManager& hvManager_EMB=manager->getEMBHVManager();
111  const EMBHVManager::EMBHVData hvdata_EMB = hvManager_EMB.getData (**hvCabling, attrLists);
112 
113  const EMBPresamplerHVManager& hvManager_EMBPS=manager->getEMBPresamplerHVManager();
114  const EMBPresamplerHVManager::EMBPresamplerHVData hvdata_EMBPS = hvManager_EMBPS.getData (**hvCabling, attrLists);
115 
116  const EMECPresamplerHVManager& hvManager_EMECPS=manager->getEMECPresamplerHVManager();
117  const EMECPresamplerHVManager::EMECPresamplerHVData hvdata_EMECPS = hvManager_EMECPS.getData (**hvCabling, attrLists);
118 
119  const EMECHVManager& hvManager_EMEC_OUT=manager->getEMECHVManager(EMECHVModule::OUTER);
120  const EMECHVManager::EMECHVData hvdata_EMEC_OUT = hvManager_EMEC_OUT.getData (**hvCabling, attrLists);
121 
122  const EMECHVManager& hvManager_EMEC_IN=manager->getEMECHVManager(EMECHVModule::INNER);
123  const EMECHVManager::EMECHVData hvdata_EMEC_IN = hvManager_EMEC_IN.getData (**hvCabling, attrLists);
124 
125  const HECHVManager& hvManager_HEC=manager->getHECHVManager();
126  const HECHVManager::HECHVData hvdata_HEC = hvManager_HEC.getData (**hvCabling, attrLists);
127 
128  const FCALHVManager& hvManager_FCAL=manager->getFCALHVManager();
129  const FCALHVManager::FCALHVData hvdata_FCAL = hvManager_FCAL.getData (**hvCabling, attrLists);
130 
131  if(m_hvonlId_map.empty()) {
133  const LArOnOffIdMapping* cabling{*cablingHdl};
134  if(!cabling) {
135  ATH_MSG_ERROR("Do not have mapping object " << m_cablingKey.key());
136  return StatusCode::FAILURE;
137  }
138 
140  ATH_CHECK(caloMgrHandle.isValid());
141  const CaloDetDescrManager* calodetdescrmgr=*caloMgrHandle;
142  std::vector<Identifier>::const_iterator cell_b=m_caloId->cell_begin();
143  std::vector<Identifier>::const_iterator cell_e=m_caloId->cell_end();
144  for(;cell_b!=cell_e; ++cell_b) {
145  if(m_caloId->is_tile(*cell_b)) continue;
146  HWIdentifier onlid = cabling->createSignalChannelID(*cell_b);
147  std::vector<int> hvlines = GetHVLines (hvdata_EMB,
148  hvdata_EMBPS,
149  hvdata_EMEC_OUT,
150  hvdata_EMEC_IN,
151  hvdata_EMECPS,
152  hvdata_HEC,
153  hvdata_FCAL,
154  *cell_b,
155  calodetdescrmgr);
156  for(unsigned i=0; i<hvlines.size(); ++i ) {
157  if(m_hvonlId_map.find(hvlines[i]) == m_hvonlId_map.end()) { // new key
158  std::vector<HWIdentifier> vec;
159  vec.push_back(onlid);
160  m_hvonlId_map[hvlines[i]] = vec;
161  } else { // existing key
162  m_hvonlId_map[hvlines[i]].push_back(onlid);
163  }
164  }
165  }// end map filling
166  }
167 
168  for (unsigned int iSide=EMBHVManager::beginSideIndex();iSide<EMBHVManager::endSideIndex();iSide++) { // loop over HV modules
169  for (unsigned int iPhi=hvManager_EMB.beginPhiIndex();iPhi<hvManager_EMB.endPhiIndex();iPhi++) {
170  for (unsigned int iSector=EMBHVManager::beginSectorIndex();iSector<EMBHVManager::endSectorIndex();iSector++) {
171  for (unsigned int iEta=hvManager_EMB.beginEtaIndex();iEta<hvManager_EMB.endEtaIndex();iEta++) { //0 to 7
172  const EMBHVModule& hvMod = hvManager_EMB.getHVModule(iSide,iEta,iPhi,iSector);
173  float eta=0.5*(hvMod.getEtaMin()+hvMod.getEtaMax());
174  for (unsigned int ielec=0;ielec<32;ielec++) { //use hvMod->getNumElectrodes when bug is corrected
175  const EMBHVElectrode& electrode = hvMod.getElectrode(ielec);
176  for (unsigned int iGap=0;iGap<2;iGap++) { // EMB : 2, TRY TO FIND AUTOMATICALLY NB OF GAPS
177  float hv = hvdata_EMB.voltage (electrode, iGap);
178  float current = hvdata_EMB.current (electrode, iGap);
179  float phi = electrode.getPhi();
180 
181  m_bec=0;
182  m_isPresampler=0;
183  m_eta=eta;
184  m_phi=phi;
185  m_electrode = ielec;
186  m_gap = iGap;
187  m_hv = hv;
189  m_hvline = hvdata_EMB.hvLineNo (electrode, iGap);
190 
191  if(m_addcells) {
192  for(unsigned i=0; i<m_hvonlId_map[m_hvline].size(); ++i) {
198  m_tree->Fill();
199  }
200  } else m_tree->Fill();
201 
202  } //end for iGap
203  }
204  }
205  }
206  }
207  } //EMBHVManager
208 
209  for (unsigned int iSide=EMBPresamplerHVManager::beginSideIndex();iSide<EMBPresamplerHVManager::endSideIndex();iSide++) { // loop over HV modules
210  for (unsigned int iPhi=hvManager_EMBPS.beginPhiIndex();iPhi<hvManager_EMBPS.endPhiIndex();iPhi++) {
211  for (unsigned int iEta=hvManager_EMBPS.beginEtaIndex();iEta<hvManager_EMBPS.endEtaIndex();iEta++) { //0 to 7
212  const EMBPresamplerHVModule& hvMod = hvManager_EMBPS.getHVModule(iSide,iEta,iPhi);
213  for (int iGap=0;iGap<2;iGap++) {
214  float hv = hvdata_EMBPS.voltage (hvMod, iGap);
215  float current = hvdata_EMBPS.current (hvMod, iGap);
216  float eta = 0.5*(hvMod.getEtaMin()+hvMod.getEtaMax());
217  float phi= 0.5*(hvMod.getPhiMin()+hvMod.getPhiMax());
218 
219  m_bec=0;
220  m_isPresampler=1;
221  m_eta=eta;
222  m_phi=phi;
223  m_electrode = 0;
224  m_gap = iGap;
225  m_hv = hv;
227  m_hvline = hvdata_EMBPS.hvLineNo (hvMod, iGap);
228 
229  if(m_addcells) {
230  for(unsigned i=0; i<m_hvonlId_map[m_hvline].size(); ++i) {
236  m_tree->Fill();
237  }
238  } else m_tree->Fill();
239 
240  } //end for iGap
241  }
242  }
243  } //EMBPresampler
244 
245  for (unsigned int iSide=EMECPresamplerHVManager::beginSideIndex();iSide<EMECPresamplerHVManager::endSideIndex();iSide++) { // loop over HV modules
246  for (unsigned int iPhi=hvManager_EMECPS.beginPhiIndex();iPhi<hvManager_EMECPS.endPhiIndex();iPhi++) {
247  const EMECPresamplerHVModule& hvMod = hvManager_EMECPS.getHVModule(iSide,iPhi);
248  for (int iGap=0;iGap<2;iGap++) {
249  float hv = hvdata_EMECPS.voltage (hvMod, iGap);
250  float current = hvdata_EMECPS.current (hvMod, iGap);
251  float eta = 0.5*(hvMod.getEtaMin()+hvMod.getEtaMax());
252  float phi=0.5*(hvMod.getPhiMin()+hvMod.getPhiMax());
253 
254  m_bec=1;
255  m_isPresampler=1;
256  m_eta=eta;
257  m_phi=phi;
258  m_electrode = 0;
259  m_gap = iGap;
260  m_hv = hv;
262  m_hvline = hvdata_EMECPS.hvLineNo (hvMod, iGap);
263 
264  if(m_addcells) {
265  for(unsigned i=0; i<m_hvonlId_map[m_hvline].size(); ++i) {
271  m_tree->Fill();
272  }
273  } else m_tree->Fill();
274 
275  } //end for iGap
276  }
277  }//EMECPresampler
278 
279 
280 
281  for (unsigned int iSide=EMECHVManager::beginSideIndex();iSide<EMECHVManager::endSideIndex();iSide++) { // loop over HV modules
282  for (unsigned int iPhi=hvManager_EMEC_OUT.beginPhiIndex();iPhi<hvManager_EMEC_OUT.endPhiIndex();iPhi++) {
283  for (unsigned int iSector=hvManager_EMEC_OUT.beginSectorIndex();iSector<hvManager_EMEC_OUT.endSectorIndex();iSector++) {
284  for (unsigned int iEta=hvManager_EMEC_OUT.beginEtaIndex();iEta<hvManager_EMEC_OUT.endEtaIndex();iEta++) {
285  const EMECHVModule& hvMod=hvManager_EMEC_OUT.getHVModule(iSide,iEta,iPhi,iSector);
286  float eta=0.5*(hvMod.getEtaMin()+hvMod.getEtaMax());
287  for (unsigned int ielec=0;ielec<hvMod.getNumElectrodes();ielec++) { //use hvMod.getNumElectrodes when bug is corrected
288  const EMECHVElectrode& electrode = hvMod.getElectrode(ielec);
289  for (unsigned int iGap=0;iGap<2;iGap++) { //EMEC : 2 gaps, TRY TO FIND AUTOMATICALLY NB OF GAPS
290  float hv = hvdata_EMEC_OUT.voltage (electrode, iGap);
291  float current = hvdata_EMEC_OUT.current (electrode, iGap);
292  float phi = electrode.getPhi();
293 
294  m_bec=1;
295  m_isPresampler=0;
296  m_eta=eta;
297  m_phi=phi;
298  m_electrode = ielec;
299  m_gap = iGap;
300  m_hv = hv;
302  m_hvline = hvdata_EMEC_OUT.hvLineNo (electrode, iGap);
303 
304  if(m_addcells) {
305  for(unsigned i=0; i<m_hvonlId_map[m_hvline].size(); ++i) {
311  m_tree->Fill();
312  }
313  } else m_tree->Fill();
314 
315  } //end for iGap
316  }
317  }
318  }
319  }
320  }//EMEC Outer
321 
322  for (unsigned int iSide=EMECHVManager::beginSideIndex();iSide<EMECHVManager::endSideIndex();iSide++) { // loop over HV modules
323  for (unsigned int iPhi=hvManager_EMEC_IN.beginPhiIndex();iPhi<hvManager_EMEC_IN.endPhiIndex();iPhi++) {
324  for (unsigned int iSector=hvManager_EMEC_IN.beginSectorIndex();iSector<hvManager_EMEC_IN.endSectorIndex();iSector++) {
325  for (unsigned int iEta=hvManager_EMEC_IN.beginEtaIndex();iEta<hvManager_EMEC_IN.endEtaIndex();iEta++) {
326  const EMECHVModule& hvMod=hvManager_EMEC_IN.getHVModule(iSide,iEta,iPhi,iSector);
327  float eta=0.5*(hvMod.getEtaMin()+hvMod.getEtaMax());
328  for (unsigned int ielec=0;ielec<hvMod.getNumElectrodes();ielec++) { //use hvMod.getNumElectrodes when bug is corrected
329  const EMECHVElectrode& electrode = hvMod.getElectrode(ielec);
330  for (unsigned int iGap=0;iGap<2;iGap++) { //EMEC : 2 gaps, TRY TO FIND AUTOMATICALLY NB OF GAPS
331  float hv = hvdata_EMEC_IN.voltage (electrode, iGap);
332  float current = hvdata_EMEC_IN.current (electrode, iGap);
333  float phi = electrode.getPhi();
334 
335  m_bec=2;
336  m_isPresampler=0;
337  m_eta=eta;
338  m_phi=phi;
339  m_electrode = ielec;
340  m_gap = iGap;
341  m_hv = hv;
343  m_hvline = hvdata_EMEC_IN.hvLineNo (electrode, iGap);
344 
345  if(m_addcells) {
346  for(unsigned i=0; i<m_hvonlId_map[m_hvline].size(); ++i) {
352  m_tree->Fill();
353  }
354  } else m_tree->Fill();
355 
356  } //end for iGap
357  }
358  }
359  }
360  }
361  }// EMEC Inner
362 
363  float etamax_layer[4]={3.3,3.1,3.1,3.3};
364  float etamin_layer[4]={1.5,1.5,1.6,1.7};
365 
366 
367  for (unsigned int iSide=HECHVManager::beginSideIndex();iSide<HECHVManager::endSideIndex();iSide++) { // loop over HV modules
369  for (unsigned int iSampling=HECHVManager::beginSamplingIndex();iSampling<HECHVManager::endSamplingIndex();iSampling++) {
370  float eta_min,eta_max;
371  if (iSide==1) {
372  eta_min = etamin_layer[iSampling];
373  eta_max = etamax_layer[iSampling];
374  } else {
375  eta_min = -1.*etamax_layer[iSampling];
376  eta_max = -1.*etamin_layer[iSampling];
377  }
378  float eta = 0.5*(eta_min+eta_max);
379  const HECHVModule& hvMod = hvManager_HEC.getHVModule(iSide,iPhi,iSampling);
380  float phi = 0.5*(hvMod.getPhiMin()+hvMod.getPhiMax());
381 
382  for (unsigned int iGap=0;iGap<HECHVModule::getNumSubgaps();iGap++) {//HEC : 4 gaps, TRY TO FIND AUTOMATICALLY NB OF GAPS
383  const HECHVSubgap& subgap=hvMod.getSubgap(iGap);
384  float hv = hvdata_HEC.voltage (subgap);
385  float current = hvdata_HEC.current (subgap);
386  m_bec = 10+iSampling;
387  m_isPresampler=0;
388  m_eta=eta;
389  m_phi=phi;
390  m_electrode = 0;
391  m_gap = iGap;
392  m_hv=hv;
394  m_hvline = hvdata_HEC.hvLineNo (subgap);
395  if(m_addcells) {
396  for(unsigned i=0; i<m_hvonlId_map[m_hvline].size(); ++i) {
402  m_tree->Fill();
403  }
404  } else m_tree->Fill();
405  }// end for iGap
406  }
407  }
408  }//HECHVManager
409 
410  for (unsigned int iSide=FCALHVManager::beginSideIndex();iSide<FCALHVManager::endSideIndex();iSide++) { // loop over HV modules
411  float eta_min=3.1,eta_max=4.9;
412  if (iSide==0) { eta_min=-4.9; eta_max=-3.1; }
413 
414  float eta = 0.5*(eta_min+eta_max);
415  for (unsigned int iSampling=FCALHVManager::beginSamplingIndex();iSampling<FCALHVManager::endSamplingIndex();iSampling++) {
416  for (unsigned int iSector=FCALHVManager::beginSectorIndex(iSampling);iSector<FCALHVManager::endSectorIndex(iSampling);iSector++) {
417 
418  const FCALHVModule& hvMod = hvManager_FCAL.getHVModule(iSide,iSector,iSampling);
419 
420  float dphi=CaloPhiRange::twopi()/16;
421  if (iSampling==1) dphi=CaloPhiRange::twopi()/8.;
422  if (iSampling==2) dphi=CaloPhiRange::twopi()/4.;
423  float phi_min = ((float)(iSector))*dphi;
424  phi_min = CaloPhiRange::fix(phi_min);
425  float phi_max = CaloPhiRange::fix(dphi+phi_min);
426  float phi = 0.5*(phi_min+phi_max);
427 
428  for (unsigned int iLine=0;iLine<FCALHVModule::getNumHVLines();iLine++) {
429  const FCALHVLine& hvline = hvMod.getHVLine(iLine);
430  float hv = hvdata_FCAL.voltage (hvline);
431  float current = hvdata_FCAL.current (hvline);
432  m_bec = 14+iSampling;
433  m_isPresampler=0;
434  m_eta=eta;
435  m_phi=phi;
436  m_electrode = iSector;
437  m_gap = iLine;
438  m_hv=hv;
440  m_hvline = hvdata_FCAL.hvLineNo (hvline);
441  if(m_addcells) {
442  for(unsigned i=0; i<m_hvonlId_map[m_hvline].size(); ++i) {
448  m_tree->Fill();
449  }
450  } else m_tree->Fill();
451  }
452  } //iSector
453  }//iSampling
454  }//iSide
455 
456  return StatusCode::SUCCESS;
457  }

◆ extraDeps_update_handler()

void AthCommonDataStore< AthCommonMsg< Algorithm > >::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

◆ extraOutputDeps()

const DataObjIDColl & AthAlgorithm::extraOutputDeps ( ) const
overridevirtualinherited

Return the list of extra output dependencies.

This list is extended to include symlinks implied by inheritance relations.

Definition at line 50 of file AthAlgorithm.cxx.

51 {
52  // If we didn't find any symlinks to add, just return the collection
53  // from the base class. Otherwise, return the extended collection.
54  if (!m_extendedExtraObjects.empty()) {
56  }
57  return Algorithm::extraOutputDeps();
58 }

◆ GetHVLines()

std::vector< int > LArHV2Ntuple::GetHVLines ( const EMBHVManager::EMBHVData hvdata_EMB,
const EMBPresamplerHVManager::EMBPresamplerHVData hvdata_EMBPS,
const EMECHVManager::EMECHVData hvdata_EMEC_OUT,
const EMECHVManager::EMECHVData hvdata_EMEC_IN,
const EMECPresamplerHVManager::EMECPresamplerHVData hvdata_EMECPS,
const HECHVManager::HECHVData hvdata_HEC,
const FCALHVManager::FCALHVData hvdata_FCAL,
const Identifier id,
const CaloDetDescrManager calodetdescrmgr 
)
private

Definition at line 459 of file LArHV2Ntuple.cxx.

467  {
468 
469  std::set<int> hv;
470 
471  // LAr EMB
472  if (m_caloId->is_em(id) && m_caloId->sampling(id)>0) {
473  if (abs(m_caloId->em_idHelper()->barrel_ec(id))==1) {
474  const EMBDetectorElement* embElement = dynamic_cast<const EMBDetectorElement*>(calodetdescrmgr->get_element(id));
475  if (!embElement) std::abort();
476  const EMBCellConstLink cell = embElement->getEMBCell();
477  unsigned int nelec = cell->getNumElectrodes();
478  for (unsigned int i=0;i<nelec;i++) {
479  const EMBHVElectrode& electrode = cell->getElectrode(i);
480  for (unsigned int igap=0;igap<2;igap++) hv.insert(hvdata_EMB.hvLineNo(electrode, igap));
481  }
482  } else { // LAr EMEC
483  const EMECDetectorElement* emecElement = dynamic_cast<const EMECDetectorElement*>(calodetdescrmgr->get_element(id));
484  if (!emecElement) std::abort();
485  const EMECCellConstLink cell = emecElement->getEMECCell();
486  unsigned int nelec = cell->getNumElectrodes();
487  for (unsigned int i=0;i<nelec;i++) {
488  const EMECHVElectrode& electrode = cell->getElectrode(i);
489  const EMECHVModule& module = electrode.getModule();
490  const EMECHVManager::EMECHVData& hvdata =
491  module.getWheelIndex() == EMECHVModule::INNER ?
492  hvdata_EMEC_IN :
493  hvdata_EMEC_OUT;
494  for (unsigned int igap=0;igap<2;igap++) hv.insert(hvdata.hvLineNo (electrode, igap));
495  }
496  }
497  } else if (m_caloId->is_hec(id)) { // LAr HEC
498  const HECDetectorElement* hecElement = dynamic_cast<const HECDetectorElement*>(calodetdescrmgr->get_element(id));
499  if (!hecElement) std::abort();
500  const HECCellConstLink cell = hecElement->getHECCell();
501  unsigned int nsubgaps = cell->getNumSubgaps();
502  for (unsigned int igap=0;igap<nsubgaps;igap++) {
503  const HECHVSubgap& subgap = cell->getSubgap(igap);
504  hv.insert(hvdata_HEC.hvLineNo (subgap));
505  }
506  } else if (m_caloId->is_fcal(id)) { // LAr FCAL
507  const FCALDetectorElement* fcalElement = dynamic_cast<const FCALDetectorElement*>(calodetdescrmgr->get_element(id));
508  if (!fcalElement) std::abort();
509  const FCALTile* tile = fcalElement->getFCALTile();
510  unsigned int nlines = FCALTile::getNumHVLines();
511  for (unsigned int i=0;i<nlines;i++) {
512  const FCALHVLine* line = tile->getHVLine(i);
513  if (line) hv.insert(hvdata_FCAL.hvLineNo (*line));
514  }
515  } else if (m_caloId->is_em(id) && m_caloId->sampling(id)==0) { // Presamplers
516  if (abs(m_caloId->em_idHelper()->barrel_ec(id))==1) {
517  const EMBDetectorElement* embElement = dynamic_cast<const EMBDetectorElement*>(calodetdescrmgr->get_element(id));
518  if (!embElement) std::abort();
519  const EMBCellConstLink cell = embElement->getEMBCell();
520  const EMBPresamplerHVModule& hvmodule = cell->getPresamplerHVModule();
521  for (unsigned int igap=0;igap<2;igap++) hv.insert(hvdata_EMBPS.hvLineNo (hvmodule, igap));
522  } else {
523  const EMECDetectorElement* emecElement = dynamic_cast<const EMECDetectorElement*>(calodetdescrmgr->get_element(id));
524  if (!emecElement) std::abort();
525  const EMECCellConstLink cell = emecElement->getEMECCell();
526  const EMECPresamplerHVModule& hvmodule = cell->getPresamplerHVModule ();
527  for (unsigned int igap=0;igap<2;igap++) hv.insert(hvdata_EMECPS.hvLineNo (hvmodule, igap));
528  }
529  }
530 
531  std::vector<int> hvlines;
532  for (std::set<int>::iterator i=hv.begin();i!=hv.end();++i) hvlines.push_back(*i);
533  return hvlines;
534  }

◆ initialize()

StatusCode LArHV2Ntuple::initialize ( )
overridevirtual

standard Athena-Algorithm method

Definition at line 58 of file LArHV2Ntuple.cxx.

59  {
60  ATH_CHECK( m_thistSvc.retrieve() );
61 
64  ATH_CHECK( detStore()->retrieve(m_caloId, "CaloCell_ID") );
65 
66  m_tree = new TTree("mytree","Calo Noise ntuple");
67  m_tree->Branch("bec",&m_bec,"bec/I");
68  m_tree->Branch("isPresampler",&m_isPresampler,"isPresampler/I");
69  m_tree->Branch("eta",&m_eta,"eta/F");
70  m_tree->Branch("phi",&m_phi,"phi/F");
71  m_tree->Branch("HVline",&m_hvline,"HVline/I");
72  m_tree->Branch("electrode",&m_electrode,"electrode/I");
73  m_tree->Branch("gap",&m_gap,"gap/I");
74  m_tree->Branch("hv",&m_hv,"hv/F");
75  m_tree->Branch("current",&m_current,"current/F");
76  if(m_addcells) {
77  m_tree->Branch("barrel_ec",&m_barrelec,"barrel_ec/I");
78  m_tree->Branch("side",&m_posneg,"side/I");
79  m_tree->Branch("FT",&m_FT,"FT/I");
80  m_tree->Branch("slot",&m_slot,"slot/I");
81  m_tree->Branch("channel",&m_channel,"channel/I");
82  ATH_CHECK( detStore()->retrieve(m_onlId, "LArOnlineID") );
83  }
84 
86  ATH_CHECK( m_DCSFolderKeys.initialize() );
87 
88  ATH_CHECK( m_thistSvc->regTree("/file1/hv/mytree",m_tree) );
89  return StatusCode::SUCCESS;
90 
91  }

◆ inputHandles()

virtual std::vector<Gaudi::DataHandle*> AthCommonDataStore< AthCommonMsg< Algorithm > >::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.

◆ msg() [1/2]

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

Definition at line 24 of file AthCommonMsg.h.

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

◆ msg() [2/2]

MsgStream& AthCommonMsg< Algorithm >::msg ( const MSG::Level  lvl) const
inlineinherited

Definition at line 27 of file AthCommonMsg.h.

27  {
28  return this->msgStream(lvl);
29  }

◆ msgLvl()

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

Definition at line 30 of file AthCommonMsg.h.

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

◆ outputHandles()

virtual std::vector<Gaudi::DataHandle*> AthCommonDataStore< AthCommonMsg< Algorithm > >::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.

◆ 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< Algorithm > >::renounce ( T &  h)
inlineprotectedinherited

Definition at line 380 of file AthCommonDataStore.h.

381  {
382  h.renounce();
383  PBASE::renounce (h);
384  }

◆ renounceArray()

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

remove all handles from I/O resolution

Definition at line 364 of file AthCommonDataStore.h.

364  {
365  handlesArray.renounce();
366  }

◆ sysInitialize()

StatusCode AthAlgorithm::sysInitialize ( )
overridevirtualinherited

Override sysInitialize.

Override sysInitialize from the base class.

Loop through all output handles, and if they're WriteCondHandles, automatically register them and this Algorithm with the CondSvc

Scan through all outputHandles, and if they're WriteCondHandles, register them with the CondSvc

Reimplemented from AthCommonDataStore< AthCommonMsg< Algorithm > >.

Reimplemented in AthAnalysisAlgorithm, AthFilterAlgorithm, PyAthena::Alg, and AthHistogramAlgorithm.

Definition at line 66 of file AthAlgorithm.cxx.

66  {
68 
69  if (sc.isFailure()) {
70  return sc;
71  }
72  ServiceHandle<ICondSvc> cs("CondSvc",name());
73  for (auto h : outputHandles()) {
74  if (h->isCondition() && h->mode() == Gaudi::DataHandle::Writer) {
75  // do this inside the loop so we don't create the CondSvc until needed
76  if ( cs.retrieve().isFailure() ) {
77  ATH_MSG_WARNING("no CondSvc found: won't autoreg WriteCondHandles");
78  return StatusCode::SUCCESS;
79  }
80  if (cs->regHandle(this,*h).isFailure()) {
81  sc = StatusCode::FAILURE;
82  ATH_MSG_ERROR("unable to register WriteCondHandle " << h->fullKey()
83  << " with CondSvc");
84  }
85  }
86  }
87  return sc;
88 }

◆ sysStart()

virtual StatusCode AthCommonDataStore< AthCommonMsg< Algorithm > >::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< Algorithm > >::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) {
312  std::vector<SG::VarHandleKey*> keys = a->keys();
313  for (auto k : keys) {
314  k->setOwner(this);
315  }
316  }
317  }

Member Data Documentation

◆ args

LArHV2Ntuple.args = parser.parse_args()

Definition at line 19 of file LArHV2Ntuple.py.

◆ AtlasVersion

LArHV2Ntuple.AtlasVersion

Definition at line 30 of file LArHV2Ntuple.py.

◆ cfg

LArHV2Ntuple.cfg = MainServicesCfg(flags)

Definition at line 58 of file LArHV2Ntuple.py.

◆ DatabaseInstance

LArHV2Ntuple.DatabaseInstance

Definition at line 42 of file LArHV2Ntuple.py.

◆ default

LArHV2Ntuple.default

Definition at line 14 of file LArHV2Ntuple.py.

◆ dest

LArHV2Ntuple.dest

Definition at line 14 of file LArHV2Ntuple.py.

◆ doAlign

LArHV2Ntuple.doAlign

Definition at line 36 of file LArHV2Ntuple.py.

◆ Files

LArHV2Ntuple.Files

Definition at line 32 of file LArHV2Ntuple.py.

◆ flags

LArHV2Ntuple.flags = initConfigFlags()

Definition at line 26 of file LArHV2Ntuple.py.

◆ GlobalTag

LArHV2Ntuple.GlobalTag

Definition at line 48 of file LArHV2Ntuple.py.

◆ help

LArHV2Ntuple.help

Definition at line 14 of file LArHV2Ntuple.py.

◆ isMC

LArHV2Ntuple.isMC

Definition at line 34 of file LArHV2Ntuple.py.

◆ m_addcells

bool LArHV2Ntuple::m_addcells
private

Definition at line 70 of file LArHV2Ntuple.h.

◆ m_barrelec

int LArHV2Ntuple::m_barrelec
private

Definition at line 83 of file LArHV2Ntuple.h.

◆ m_bec

int LArHV2Ntuple::m_bec
private

Definition at line 73 of file LArHV2Ntuple.h.

◆ m_cablingKey

SG::ReadCondHandleKey<LArOnOffIdMapping> LArHV2Ntuple::m_cablingKey {this, "OnOffMap", "LArOnOffIdMap", "SG key for mapping object"}
private

Definition at line 53 of file LArHV2Ntuple.h.

◆ m_caloId

const CaloCell_ID* LArHV2Ntuple::m_caloId
private

Definition at line 90 of file LArHV2Ntuple.h.

◆ m_caloMgrKey

SG::ReadCondHandleKey<CaloDetDescrManager> LArHV2Ntuple::m_caloMgrKey
private
Initial value:
{ this
, "CaloDetDescrManager"
, "CaloDetDescrManager"
, "SG Key for CaloDetDescrManager in the Condition Store" }

Definition at line 58 of file LArHV2Ntuple.h.

◆ m_channel

int LArHV2Ntuple::m_channel
private

Definition at line 87 of file LArHV2Ntuple.h.

◆ m_current

float LArHV2Ntuple::m_current
private

Definition at line 81 of file LArHV2Ntuple.h.

◆ m_DCSFolderKeys

SG::ReadCondHandleKeyArray<CondAttrListCollection> LArHV2Ntuple::m_DCSFolderKeys { this, "DCSFolderNames", {"/LAR/DCS/HV/BARREl/I16", "/LAR/DCS/HV/BARREL/I8"}, "DCS folders with HV values"}
private

Definition at line 56 of file LArHV2Ntuple.h.

◆ m_detStore

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

Pointer to StoreGate (detector store by default)

Definition at line 393 of file AthCommonDataStore.h.

◆ m_electrode

int LArHV2Ntuple::m_electrode
private

Definition at line 77 of file LArHV2Ntuple.h.

◆ m_eta

float LArHV2Ntuple::m_eta
private

Definition at line 75 of file LArHV2Ntuple.h.

◆ m_evtStore

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

Pointer to StoreGate (event store by default)

Definition at line 390 of file AthCommonDataStore.h.

◆ m_extendedExtraObjects

DataObjIDColl AthAlgorithm::m_extendedExtraObjects
privateinherited

Definition at line 79 of file AthAlgorithm.h.

◆ m_FT

int LArHV2Ntuple::m_FT
private

Definition at line 85 of file LArHV2Ntuple.h.

◆ m_gap

int LArHV2Ntuple::m_gap
private

Definition at line 78 of file LArHV2Ntuple.h.

◆ m_hv

float LArHV2Ntuple::m_hv
private

Definition at line 80 of file LArHV2Ntuple.h.

◆ m_hvCablingKey

SG::ReadCondHandleKey<LArHVIdMapping> LArHV2Ntuple::m_hvCablingKey {this, "LArHVIdMapping", "LArHVIdMap", "SG key for HV ID mapping"}
private

Definition at line 54 of file LArHV2Ntuple.h.

◆ m_hvline

int LArHV2Ntuple::m_hvline
private

Definition at line 79 of file LArHV2Ntuple.h.

◆ m_hvonlId_map

std::map<int, std::vector<HWIdentifier> > LArHV2Ntuple::m_hvonlId_map
private

Definition at line 92 of file LArHV2Ntuple.h.

◆ m_isPresampler

int LArHV2Ntuple::m_isPresampler
private

Definition at line 74 of file LArHV2Ntuple.h.

◆ m_onlId

const LArOnlineID* LArHV2Ntuple::m_onlId
private

Definition at line 91 of file LArHV2Ntuple.h.

◆ m_phi

float LArHV2Ntuple::m_phi
private

Definition at line 76 of file LArHV2Ntuple.h.

◆ m_posneg

int LArHV2Ntuple::m_posneg
private

Definition at line 84 of file LArHV2Ntuple.h.

◆ m_slot

int LArHV2Ntuple::m_slot
private

Definition at line 86 of file LArHV2Ntuple.h.

◆ m_thistSvc

ServiceHandle<ITHistSvc> LArHV2Ntuple::m_thistSvc {this,"THistSvc","THistSvc"}
private

Definition at line 67 of file LArHV2Ntuple.h.

◆ m_tree

TTree* LArHV2Ntuple::m_tree
private

Definition at line 68 of file LArHV2Ntuple.h.

◆ m_varHandleArraysDeclared

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

Definition at line 399 of file AthCommonDataStore.h.

◆ m_vhka

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

Definition at line 398 of file AthCommonDataStore.h.

◆ None

LArHV2Ntuple.None

Definition at line 16 of file LArHV2Ntuple.py.

◆ parser

LArHV2Ntuple.parser = argparse.ArgumentParser(formatter_class=argparse.ArgumentDefaultsHelpFormatter)

Definition at line 13 of file LArHV2Ntuple.py.

◆ rootfile

LArHV2Ntuple.rootfile = args.out

Definition at line 77 of file LArHV2Ntuple.py.

◆ Run

LArHV2Ntuple.Run

Definition at line 41 of file LArHV2Ntuple.py.

◆ RunNumbers

LArHV2Ntuple.RunNumbers

Definition at line 28 of file LArHV2Ntuple.py.

◆ type

LArHV2Ntuple.type

Definition at line 14 of file LArHV2Ntuple.py.


The documentation for this class was generated from the following files:
FCALHVManager::getData
FCALHVData getData(const LArHVIdMapping &hvIdMapping, const std::vector< const CondAttrListCollection * > &attrLists) const
Definition: FCALHVManager.cxx:276
FCALHVManager::FCALHVData::hvLineNo
int hvLineNo(const FCALHVLine &line) const
Definition: FCALHVManager.cxx:131
python.PyKernel.retrieve
def retrieve(aClass, aKey=None)
Definition: PyKernel.py:110
xAOD::iterator
JetConstituentVector::iterator iterator
Definition: JetConstituentVector.cxx:68
EMECPresamplerHVManager
This class provides direct access to information on the HV electrodes within the EMEC....
Definition: EMECPresamplerHVManager.h:36
EMBHVManager::beginEtaIndex
unsigned int beginEtaIndex() const
Definition: EMBHVManager.cxx:184
fillPileUpNoiseLumi.current
current
Definition: fillPileUpNoiseLumi.py:52
LArHV2Ntuple::m_electrode
int m_electrode
Definition: LArHV2Ntuple.h:77
LArHV2Ntuple::m_hvCablingKey
SG::ReadCondHandleKey< LArHVIdMapping > m_hvCablingKey
Definition: LArHV2Ntuple.h:55
test_pyathena.eta
eta
Definition: test_pyathena.py:10
EMBHVElectrode
Definition: EMBHVElectrode.h:15
EMBPresamplerHVManager::endSideIndex
static unsigned int endSideIndex()
Definition: EMBPresamplerHVManager.cxx:182
LArHV2Ntuple::m_caloId
const CaloCell_ID * m_caloId
Definition: LArHV2Ntuple.h:90
HECHVModule
Describes one HV Module within the HEC.
Definition: HECHVModule.h:21
EMECPresamplerHVModule::getEtaMin
double getEtaMin() const
Definition: EMECPresamplerHVModule.cxx:46
EMECHVManager::beginSideIndex
static unsigned int beginSideIndex()
Definition: EMECHVManager.cxx:230
checkFileSG.line
line
Definition: checkFileSG.py:75
EMECHVModule::getEtaMin
double getEtaMin() const
Definition: EMECHVModule.cxx:106
EMECHVManager::getHVModule
const EMECHVModule & getHVModule(unsigned int iSide, unsigned int iEta, unsigned int iPhi, unsigned int iSector) const
Definition: EMECHVManager.cxx:222
EMECDetectorElement
LAr EMEC Detector Element.
Definition: CaloDetectorElements.h:116
ReadCellNoiseFromCool.cell
cell
Definition: ReadCellNoiseFromCool.py:53
HECHVManager::beginSideIndex
static unsigned int beginSideIndex()
Definition: HECHVManager.cxx:164
SG::ReadCondHandle
Definition: ReadCondHandle.h:44
EMECPresamplerHVManager::EMECPresamplerHVData::current
double current(const EMECPresamplerHVModule &module, const int &iGap) const
Definition: EMECPresamplerHVManager.cxx:106
EMECPresamplerHVManager::EMECPresamplerHVData::voltage
double voltage(const EMECPresamplerHVModule &module, const int &iGap) const
Definition: EMECPresamplerHVManager.cxx:99
CaloCell_ID::em_idHelper
const LArEM_ID * em_idHelper() const
access to EM idHelper
Definition: CaloCell_ID.h:63
EMECPresamplerHVManager::endSideIndex
static unsigned int endSideIndex()
Definition: EMECPresamplerHVManager.cxx:162
LArHV2Ntuple::m_slot
int m_slot
Definition: LArHV2Ntuple.h:86
EMBHVManager::endPhiIndex
unsigned int endPhiIndex() const
Definition: EMBHVManager.cxx:179
HECHVManager::beginPhiIndex
static unsigned int beginPhiIndex()
Definition: HECHVManager.cxx:174
LArHV2Ntuple::m_hvline
int m_hvline
Definition: LArHV2Ntuple.h:79
EMBHVModule::getEtaMax
double getEtaMax() const
Definition: EMBHVModule.cxx:89
EMECPresamplerHVManager::beginSideIndex
static unsigned int beginSideIndex()
Definition: EMECPresamplerHVManager.cxx:157
LArHV2Ntuple::m_phi
float m_phi
Definition: LArHV2Ntuple.h:76
AthCommonDataStore< AthCommonMsg< Algorithm > >::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Definition: AthCommonDataStore.h:145
EMBPresamplerHVModule::getEtaMin
double getEtaMin() const
Definition: EMBPresamplerHVModule.cxx:55
LArHV2Ntuple::m_thistSvc
ServiceHandle< ITHistSvc > m_thistSvc
Definition: LArHV2Ntuple.h:67
EMECHVModule::getElectrode
const EMECHVElectrode & getElectrode(unsigned int iElectrode) const
Definition: EMECHVModule.cxx:81
EMECPresamplerHVManager::getData
EMECPresamplerHVData getData(const LArHVIdMapping &hvIdMapping, const std::vector< const CondAttrListCollection * > &attrLists) const
Definition: EMECPresamplerHVManager.cxx:241
HECHVManager::getData
HECHVData getData(const LArHVIdMapping &hvIdMapping, const std::vector< const CondAttrListCollection * > &attrLists) const
Definition: HECHVManager.cxx:290
CaloDetDescrManager_Base::get_element
const CaloDetDescrElement * get_element(const Identifier &cellId) const
get element by its identifier
Definition: CaloDetDescrManager.cxx:159
ReadCellNoiseFromCool.cabling
cabling
Definition: ReadCellNoiseFromCool.py:154
EMECHVManager::getData
EMECHVData getData(const LArHVIdMapping &hvIdMapping, const std::vector< const CondAttrListCollection * > &attrLists) const
Definition: EMECHVManager.cxx:388
FCALHVManager::FCALHVData::voltage
double voltage(const FCALHVLine &line) const
Definition: FCALHVManager.cxx:119
EMECHVManager::EMECHVData::voltage
double voltage(const EMECHVElectrode &electrode, const int &iGap) const
Definition: EMECHVManager.cxx:137
EMECHVManager::endSectorIndex
unsigned int endSectorIndex() const
Definition: EMECHVManager.cxx:245
EMECHVElectrode::getPhi
double getPhi() const
Definition: EMECHVElectrode.cxx:42
EMECHVManager::endEtaIndex
unsigned int endEtaIndex() const
Definition: EMECHVManager.cxx:217
LArOnlineID_Base::slot
int slot(const HWIdentifier id) const
Return the slot number of a hardware cell identifier: slot = [1,15] Slot-ID in top part of the crat...
Definition: LArOnlineID_Base.cxx:1957
AthCommonDataStore< AthCommonMsg< Algorithm > >::m_evtStore
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
Definition: AthCommonDataStore.h:390
AthCommonDataStore< AthCommonMsg< Algorithm > >::m_vhka
std::vector< SG::VarHandleKeyArray * > m_vhka
Definition: AthCommonDataStore.h:398
LArHV2Ntuple::m_DCSFolderKeys
SG::ReadCondHandleKeyArray< CondAttrListCollection > m_DCSFolderKeys
Definition: LArHV2Ntuple.h:57
CaloCell_Base_ID::cell_end
id_iterator cell_end(void) const
end iterator over full set of Identifiers (LAr + Tiles)
EMECHVManager::endPhiIndex
unsigned int endPhiIndex() const
Definition: EMECHVManager.cxx:207
EMBPresamplerHVManager::endPhiIndex
unsigned int endPhiIndex() const
Definition: EMBPresamplerHVManager.cxx:157
vec
std::vector< size_t > vec
Definition: CombinationsGeneratorTest.cxx:12
HECHVManager::HECHVData::hvLineNo
int hvLineNo(const HECHVSubgap &subgap) const
Definition: HECHVManager.cxx:136
EMBHVManager::beginSectorIndex
static unsigned int beginSectorIndex()
Definition: EMBHVManager.cxx:199
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
EMBHVManager::EMBHVData::current
double current(const EMBHVElectrode &electrode, const int &iGap) const
Definition: EMBHVManager.cxx:136
FCALHVManager::getHVModule
const FCALHVModule & getHVModule(unsigned int iSide, unsigned int iSector, unsigned int iSampling) const
Definition: FCALHVManager.cxx:190
SG::VarHandleKey::key
const std::string & key() const
Return the StoreGate ID for the referenced object.
Definition: AthToolSupport/AsgDataHandles/Root/VarHandleKey.cxx:141
CaloCell_Base_ID::is_tile
bool is_tile(const Identifier id) const
test if the id belongs to the Tiles
FCALDetectorElement::getFCALTile
const FCALTile * getFCALTile() const
FCAL Tile description from LArReadoutGeometry.
Definition: CaloDetectorElements.h:286
LArHV2Ntuple::m_bec
int m_bec
Definition: LArHV2Ntuple.h:73
EMECDetectorElement::getEMECCell
EMECCellConstLink getEMECCell() const
EMEC Cell description from LArReadoutGeometry.
Definition: CaloDetectorElements.h:141
EMBDetectorElement
LAr EMB Detector Element.
Definition: CaloDetectorElements.h:52
HWIdentifier
Definition: HWIdentifier.h:13
LArOnlineID_Base::barrel_ec
int barrel_ec(const HWIdentifier id) const
Return the position barrel or endcap of a hardware cell identifier: barrel_ec = [0,...
Definition: LArOnlineID_Base.cxx:1938
EMECPresamplerHVManager::beginPhiIndex
unsigned int beginPhiIndex() const
Definition: EMECPresamplerHVManager.cxx:142
LArHV2Ntuple::m_FT
int m_FT
Definition: LArHV2Ntuple.h:85
EMBHVManager::EMBHVData::hvLineNo
int hvLineNo(const EMBHVElectrode &electrode, const int &iGap) const
Definition: EMBHVManager.cxx:142
EMECPresamplerHVManager::getHVModule
const EMECPresamplerHVModule & getHVModule(unsigned int iSide, unsigned int iPhi) const
Definition: EMECPresamplerHVManager.cxx:152
CaloCell_Base_ID::is_hec
bool is_hec(const Identifier id) const
test if the id belongs to the HEC
EMBHVManager::beginSideIndex
static unsigned int beginSideIndex()
Definition: EMBHVManager.cxx:209
EMBHVManager::endEtaIndex
unsigned int endEtaIndex() const
Definition: EMBHVManager.cxx:189
EMECHVModule
Definition: EMECHVModule.h:20
AthenaPoolTestRead.sc
sc
Definition: AthenaPoolTestRead.py:27
EMBPresamplerHVModule::getPhiMin
double getPhiMin() const
Definition: EMBPresamplerHVModule.cxx:75
AthCommonDataStore< AthCommonMsg< Algorithm > >::detStore
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
Definition: AthCommonDataStore.h:95
SG::VarHandleKeyArray::setOwner
virtual void setOwner(IDataHandleHolder *o)=0
HECDetectorElement
LAr HEC Detector Element.
Definition: CaloDetectorElements.h:189
ReadCellNoiseFromCool.tile
tile
Definition: ReadCellNoiseFromCool.py:92
EMBHVManager::getHVModule
const EMBHVModule & getHVModule(unsigned int iSide, unsigned int iEta, unsigned int iPhi, unsigned int iSector) const
Definition: EMBHVManager.cxx:194
EMECHVManager::beginEtaIndex
unsigned int beginEtaIndex() const
Definition: EMECHVManager.cxx:212
IDTPMcnv.htype
htype
Definition: IDTPMcnv.py:29
xAOD::phi
setEt phi
Definition: TrigEMCluster_v1.cxx:29
EMBPresamplerHVManager
This class provides direct access to information on the HV electrodes within the barrels....
Definition: EMBPresamplerHVManager.h:37
EMBPresamplerHVManager::beginPhiIndex
unsigned int beginPhiIndex() const
Definition: EMBPresamplerHVManager.cxx:152
FCALTile
A tile of the forward calorimeter readout geometry.
Definition: FCALTile.h:27
CxxUtils::vec
typename vecDetail::vec_typedef< T, N >::type vec
Define a nice alias for the vectorized type.
Definition: vec.h:207
dumpHVPathFromNtuple.hvline
hvline
Definition: dumpHVPathFromNtuple.py:72
python.PyAthena.module
module
Definition: PyAthena.py:131
EMECHVManager::EMECHVData::hvLineNo
int hvLineNo(const EMECHVElectrode &electrode, const int &iGap) const
Definition: EMECHVManager.cxx:149
LArHV2Ntuple::m_current
float m_current
Definition: LArHV2Ntuple.h:81
FCALHVLine
Definition: FCALHVLine.h:15
EMECHVModule::INNER
@ INNER
Definition: EMECHVModule.h:22
CaloCell_Base_ID::is_em
bool is_em(const Identifier id) const
test if the id belongs to LArEM
LArHV2Ntuple::m_eta
float m_eta
Definition: LArHV2Ntuple.h:75
HECHVManager::HECHVData
Definition: HECHVManager.h:39
LArOnlineID_Base::channel
int channel(const HWIdentifier id) const
Return the channel number of a hardware cell identifier channel = [0,127] in all FEB.
Definition: LArOnlineID_Base.cxx:1963
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
HECHVManager::endSideIndex
static unsigned int endSideIndex()
Definition: HECHVManager.cxx:169
EMBPresamplerHVManager::EMBPresamplerHVData
Definition: EMBPresamplerHVManager.h:40
AthCommonDataStore
Definition: AthCommonDataStore.h:52
AthAlgorithm::sysInitialize
virtual StatusCode sysInitialize() override
Override sysInitialize.
Definition: AthAlgorithm.cxx:66
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
EMBPresamplerHVManager::EMBPresamplerHVData::current
double current(const EMBPresamplerHVModule &module, const int &iGap) const
Definition: EMBPresamplerHVManager.cxx:115
AthCommonDataStore< AthCommonMsg< Algorithm > >::outputHandles
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
LArHV2Ntuple::m_gap
int m_gap
Definition: LArHV2Ntuple.h:78
lumiFormat.i
int i
Definition: lumiFormat.py:85
FCALHVModule::getNumHVLines
static unsigned int getNumHVLines()
Definition: FCALHVModule.cxx:67
EMBHVManager::EMBHVData::voltage
double voltage(const EMBHVElectrode &electrode, const int &iGap) const
Definition: EMBHVManager.cxx:130
EMBPresamplerHVModule::getEtaMax
double getEtaMax() const
Definition: EMBPresamplerHVModule.cxx:65
HECHVModule::getSubgap
const HECHVSubgap & getSubgap(unsigned int iElectrode) const
Definition: HECHVModule.cxx:69
CaloCell_Base_ID::is_fcal
bool is_fcal(const Identifier id) const
test if the id belongs to the FCAL - true also for MiniFCAL
EMECHVManager::EMECHVData
Definition: EMECHVManager.h:41
CaloCell_Base_ID::sampling
int sampling(const Identifier id) const
LAr field values (NOT_VALID == invalid request)
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
EMBHVModule::getEtaMin
double getEtaMin() const
Definition: EMBHVModule.cxx:79
EMECHVManager::EMECHVData::current
double current(const EMECHVElectrode &electrode, const int &iGap) const
Definition: EMECHVManager.cxx:143
EMECHVModule::getEtaMax
double getEtaMax() const
Definition: EMECHVModule.cxx:116
FCALDetectorElement
LAr FCAL Detector Element.
Definition: CaloDetectorElements.h:261
HECHVManager::HECHVData::voltage
double voltage(const HECHVSubgap &subgap) const
Definition: HECHVManager.cxx:124
HECHVManager::endSamplingIndex
static unsigned int endSamplingIndex()
Definition: HECHVManager.cxx:189
LArHV2Ntuple::m_channel
int m_channel
Definition: LArHV2Ntuple.h:87
LArOnlineID_Base::pos_neg
int pos_neg(const HWIdentifier id) const
Return the side of a hardware cell identifier pos_neg = [0,1] positive-side or negative-side Barrel...
Definition: LArOnlineID_Base.cxx:1950
EMECPresamplerHVManager::EMECPresamplerHVData
Definition: EMECPresamplerHVManager.h:39
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
HECHVManager::HECHVData::current
double current(const HECHVSubgap &subgap) const
Definition: HECHVManager.cxx:130
LArHV2Ntuple::m_barrelec
int m_barrelec
Definition: LArHV2Ntuple.h:83
AthCommonDataStore< AthCommonMsg< Algorithm > >::m_detStore
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
Definition: AthCommonDataStore.h:393
CaloPhiRange::twopi
static double twopi()
Definition: CaloPhiRange.h:46
EMECPresamplerHVModule::getEtaMax
double getEtaMax() const
Definition: EMECPresamplerHVModule.cxx:52
EMBPresamplerHVManager::endEtaIndex
unsigned int endEtaIndex() const
Definition: EMBPresamplerHVManager.cxx:167
FCALHVManager::FCALHVData::current
double current(const FCALHVLine &line) const
Definition: FCALHVManager.cxx:125
CaloPhiRange::fix
static double fix(double phi)
Definition: CaloPhiRange.cxx:14
EMBPresamplerHVManager::getData
EMBPresamplerHVData getData(const LArHVIdMapping &hvIdMapping, const std::vector< const CondAttrListCollection * > &attrLists) const
Definition: EMBPresamplerHVManager.cxx:276
CaloCell_Base_ID::cell_begin
id_iterator cell_begin(void) const
begin iterator over full set of Identifiers (LAr + Tiles)
EMECPresamplerHVModule::getPhiMin
double getPhiMin() const
Definition: EMECPresamplerHVModule.cxx:58
FCALTile::getNumHVLines
static unsigned int getNumHVLines()
Get num hvlines.
Definition: FCALTile.cxx:81
HECHVModule::getNumSubgaps
static unsigned int getNumSubgaps()
Definition: HECHVModule.cxx:64
SG::VarHandleKeyArray::renounce
virtual void renounce()=0
SG::HandleClassifier::type
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
Definition: HandleClassifier.h:54
LArHV2Ntuple::m_posneg
int m_posneg
Definition: LArHV2Ntuple.h:84
EMBHVManager::beginPhiIndex
unsigned int beginPhiIndex() const
Definition: EMBHVManager.cxx:174
EMECHVModule::getNumElectrodes
unsigned int getNumElectrodes() const
Definition: EMECHVModule.cxx:70
EMBHVManager::EMBHVData
Definition: EMBHVManager.h:39
merge_scale_histograms.doc
string doc
Definition: merge_scale_histograms.py:9
EMBPresamplerHVManager::EMBPresamplerHVData::voltage
double voltage(const EMBPresamplerHVModule &module, const int &iGap) const
Definition: EMBPresamplerHVManager.cxx:108
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
LArEM_Base_ID::barrel_ec
int barrel_ec(const Identifier id) const
return barrel_ec according to :
SG::CondHandleKey::initialize
StatusCode initialize(bool used=true)
EMBHVManager
This class provides direct access to information on the HV electrodes within the barrels....
Definition: EMBHVManager.h:36
EMECHVManager::endSideIndex
static unsigned int endSideIndex()
Definition: EMECHVManager.cxx:235
HECHVModule::getPhiMax
double getPhiMax() const
Definition: HECHVModule.cxx:84
EMECPresamplerHVManager::EMECPresamplerHVData::hvLineNo
int hvLineNo(const EMECPresamplerHVModule &module, const int &iGap) const
Definition: EMECPresamplerHVManager.cxx:113
EMECHVElectrode::getModule
const EMECHVModule & getModule() const
Definition: EMECHVElectrode.cxx:37
EMBDetectorElement::getEMBCell
EMBCellConstLink getEMBCell() const
EMB Cell description from LArReadoutGeometry.
Definition: CaloDetectorElements.h:77
EMBPresamplerHVManager::EMBPresamplerHVData::hvLineNo
int hvLineNo(const EMBPresamplerHVModule &module, const int &iGap) const
Definition: EMBPresamplerHVManager.cxx:122
EMBPresamplerHVManager::beginEtaIndex
unsigned int beginEtaIndex() const
Definition: EMBPresamplerHVManager.cxx:162
FCALHVModule::getHVLine
const FCALHVLine & getHVLine(unsigned int iLine) const
Definition: FCALHVModule.cxx:72
EMBPresamplerHVManager::beginSideIndex
static unsigned int beginSideIndex()
Definition: EMBPresamplerHVManager.cxx:177
Trk::iPhi
@ iPhi
Definition: ParamDefs.h:47
EMECHVModule::OUTER
@ OUTER
Definition: EMECHVModule.h:22
SG::ReadCondHandleKey< CondAttrListCollection >
FCALHVManager::endSamplingIndex
static unsigned int endSamplingIndex()
Definition: FCALHVManager.cxx:185
HECHVManager
This class provides direct access to information on the HV electrodes within the barrels....
Definition: HECHVManager.h:36
FCALHVManager::beginSectorIndex
static unsigned int beginSectorIndex(unsigned int iSampling)
Definition: FCALHVManager.cxx:167
AthAlgorithm::m_extendedExtraObjects
DataObjIDColl m_extendedExtraObjects
Definition: AthAlgorithm.h:79
LArOnlineID_Base::feedthrough
int feedthrough(const HWIdentifier id) const
Return the feedthrough of a hardware cell identifier : feedthrough = [0,31] Barrel - A/C side or H/...
Definition: LArOnlineID_Base.cxx:1944
LArHV2Ntuple::m_cablingKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
Definition: LArHV2Ntuple.h:53
EMECPresamplerHVModule::getPhiMax
double getPhiMax() const
Definition: EMECPresamplerHVModule.cxx:63
a
TList * a
Definition: liststreamerinfos.cxx:10
LArHVManager
This class provides access to the High Voltage throughout the LAr. High voltage conditions can also b...
Definition: LArHVManager.h:24
h
LArHV2Ntuple::m_hv
float m_hv
Definition: LArHV2Ntuple.h:80
CaloDetDescrManager
This class provides the client interface for accessing the detector description information common to...
Definition: CaloDetDescrManager.h:473
EMBHVElectrode::getPhi
double getPhi() const
Definition: EMBHVElectrode.cxx:37
ATH_MSG_WARNING
#define ATH_MSG_WARNING(x)
Definition: AthMsgStreamMacros.h:32
LArHV2Ntuple::m_onlId
const LArOnlineID * m_onlId
Definition: LArHV2Ntuple.h:91
HECHVManager::endPhiIndex
static unsigned int endPhiIndex()
Definition: HECHVManager.cxx:179
EMECHVManager::beginPhiIndex
unsigned int beginPhiIndex() const
Definition: EMECHVManager.cxx:202
HECHVModule::getPhiMin
double getPhiMin() const
Definition: HECHVModule.cxx:79
FCALHVManager::endSectorIndex
static unsigned int endSectorIndex(unsigned int iSampling)
Definition: FCALHVManager.cxx:172
SG::VarHandleBase::vhKey
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Definition: StoreGate/src/VarHandleBase.cxx:623
EMECPresamplerHVModule
Describes one HV Module within the EMEc Presampler.
Definition: EMECPresamplerHVModule.h:22
EMBHVModule::getElectrode
const EMBHVElectrode & getElectrode(unsigned int iElectrode) const
Definition: EMBHVModule.cxx:69
FCALHVModule
Describes one HV Module within the FCAL.
Definition: FCALHVModule.h:20
LArHV2Ntuple::m_caloMgrKey
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
Definition: LArHV2Ntuple.h:58
AthAlgorithm::AthAlgorithm
AthAlgorithm()
Default constructor:
EMECHVManager::beginSectorIndex
unsigned int beginSectorIndex() const
Definition: EMECHVManager.cxx:240
python.Bindings.keys
keys
Definition: Control/AthenaPython/python/Bindings.py:798
FCALHVManager::beginSideIndex
static unsigned int beginSideIndex()
Definition: FCALHVManager.cxx:157
python.Logging.manager
manager
Definition: PhysicsAnalysis/D3PDTools/AnaAlgorithm/python/Logging.py:92
LArHV2Ntuple::GetHVLines
std::vector< int > GetHVLines(const EMBHVManager::EMBHVData &hvdata_EMB, const EMBPresamplerHVManager::EMBPresamplerHVData &hvdata_EMBPS, const EMECHVManager::EMECHVData &hvdata_EMEC_OUT, const EMECHVManager::EMECHVData &hvdata_EMEC_IN, const EMECPresamplerHVManager::EMECPresamplerHVData &hvdata_EMECPS, const HECHVManager::HECHVData &hvdata_HEC, const FCALHVManager::FCALHVData &hvdata_FCAL, const Identifier &id, const CaloDetDescrManager *calodetdescrmgr)
Definition: LArHV2Ntuple.cxx:459
HECHVManager::beginSamplingIndex
static unsigned int beginSamplingIndex()
Definition: HECHVManager.cxx:184
EMBHVManager::getData
EMBHVData getData(const LArHVIdMapping &hvIdMapping, const std::vector< const CondAttrListCollection * > &attrLists) const
Definition: EMBHVManager.cxx:343
EMBHVManager::endSectorIndex
static unsigned int endSectorIndex()
Definition: EMBHVManager.cxx:204
LHEF::Writer
Pythia8::Writer Writer
Definition: Prophecy4fMerger.cxx:12
EMECPresamplerHVManager::endPhiIndex
unsigned int endPhiIndex() const
Definition: EMECPresamplerHVManager.cxx:147
EMECHVElectrode
Definition: EMECHVElectrode.h:15
HECDetectorElement::getHECCell
HECCellConstLink getHECCell() const
HEC Cell description from LArReadoutGeometry.
Definition: CaloDetectorElements.h:214
EMECHVManager
This class provides direct access to information on the HV electrodes within the EMEC....
Definition: EMECHVManager.h:36
EMBHVModule
Describes one HV Module within the EMB.
Definition: EMBHVModule.h:20
EMBHVManager::endSideIndex
static unsigned int endSideIndex()
Definition: EMBHVManager.cxx:214
EMBPresamplerHVModule::getPhiMax
double getPhiMax() const
Definition: EMBPresamplerHVModule.cxx:80
EMBPresamplerHVManager::getHVModule
const EMBPresamplerHVModule & getHVModule(unsigned int iSide, unsigned int iEta, unsigned int iPhi) const
Definition: EMBPresamplerHVManager.cxx:172
LArHV2Ntuple::m_addcells
bool m_addcells
Definition: LArHV2Ntuple.h:70
xAOD::iEta
setScale setgFexType iEta
Definition: gFexJetRoI_v1.cxx:77
FCALHVManager
This class provides direct access to information on the HV electrodes within the barrels....
Definition: FCALHVManager.h:35
AthCommonDataStore::declareGaudiProperty
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition: AthCommonDataStore.h:156
HECHVSubgap
Definition: HECHVSubgap.h:15
FCALHVManager::FCALHVData
Definition: FCALHVManager.h:38
readCCLHist.float
float
Definition: readCCLHist.py:83
LArHV2Ntuple::m_hvonlId_map
std::map< int, std::vector< HWIdentifier > > m_hvonlId_map
Definition: LArHV2Ntuple.h:92
HECHVManager::getHVModule
const HECHVModule & getHVModule(unsigned int iSide, unsigned int iPhi, unsigned int iSampling) const
Definition: HECHVManager.cxx:194
EMBPresamplerHVModule
Describes one HV Module within the EMB Presampler.
Definition: EMBPresamplerHVModule.h:22
FCALHVManager::beginSamplingIndex
static unsigned int beginSamplingIndex()
Definition: FCALHVManager.cxx:180
fitman.k
k
Definition: fitman.py:528
FCALHVManager::endSideIndex
static unsigned int endSideIndex()
Definition: FCALHVManager.cxx:162
LArHV2Ntuple::m_isPresampler
int m_isPresampler
Definition: LArHV2Ntuple.h:74
ServiceHandle< ICondSvc >
LArOnOffIdMapping
Definition: LArOnOffIdMapping.h:20
LArHV2Ntuple::m_tree
TTree * m_tree
Definition: LArHV2Ntuple.h:68