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

fix electronic calibration constants for SC More...

#include <FixLArElecSCCalib.h>

Inheritance diagram for FixLArElecSCCalib:
Collaboration diagram for FixLArElecSCCalib:

Public Member Functions

 FixLArElecSCCalib (const std::string &name, ISvcLocator *pSvcLocator)
 
virtual ~FixLArElecSCCalib ()
 
virtual StatusCode initialize () override
 
virtual StatusCode execute () override
 
virtual StatusCode finalize () override
 
virtual StatusCode stop () override
 
void print (const HWIdentifier &hwid, const LArOnlineID_Base *onlineID, const CaloCell_Base_ID *caloCellID, const Identifier *id=nullptr, std::vector< HWIdentifier > *calibIDs=nullptr, std::ostream &out=std::cout)
 
StatusCode fix1 ()
 
StatusCode fix2 (const LArOnOffIdMapping *cabling, const LArCalibLineMapping *cl)
 
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
 

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

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_cablingKeySC {this,"SCCablingKey","LArOnOffIdMapSC","SG Key of SC LArOnOffIdMapping object"}
 
SG::ReadCondHandleKey< LArCalibLineMappingm_CLKeySC {this, "SCCalibLineKey", "LArCalibLineMapSC", "SG calib line key"}
 
int m_fixFlag
 
double m_fixFactor = 0.0
 
std::string m_infile
 
const LArEM_IDm_em_idhelper
 
const LArHEC_IDm_hec_idhelper
 
const LArFCAL_IDm_fcal_idhelper
 
const LArOnlineIDm_online_idhelper
 
const LArEM_SuperCell_IDm_sem_idhelper
 
const LArHEC_SuperCell_IDm_shec_idhelper
 
const LArFCAL_SuperCell_IDm_sfcal_idhelper
 
const LArOnline_SuperCellIDm_sonline_idhelper
 
const CaloCell_SuperCell_IDm_scell_idhelper
 
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

fix electronic calibration constants for SC

@based on FixLArElecCalib from Hong Ma hma@b.nosp@m.nl.g.nosp@m.ov This should be used with FixLArElecSCCalib_jobOptions.py to write a new POOL file.

Implemented fixes:

  1. Flag = 1 scale values for Pedestals and Ramps by factor
  2. Flag = 2 create calib. line mapping for SC

Definition at line 29 of file FixLArElecSCCalib.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

◆ FixLArElecSCCalib()

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

Definition at line 44 of file FixLArElecSCCalib.cxx.

44  :
45  AthAlgorithm(name,pSvcLocator),
46  m_fixFlag(0),
47  m_em_idhelper(nullptr),
48  m_hec_idhelper(nullptr),
49  m_fcal_idhelper(nullptr),
50  m_online_idhelper(nullptr),
51  m_sem_idhelper(nullptr),
52  m_shec_idhelper(nullptr),
53  m_sfcal_idhelper(nullptr),
54  m_sonline_idhelper(nullptr),
55  m_scell_idhelper(nullptr)
56 {
57 
58  declareProperty("FixFlag", m_fixFlag);
59  declareProperty("FixFactor", m_fixFactor);
60 
61 }

◆ ~FixLArElecSCCalib()

FixLArElecSCCalib::~FixLArElecSCCalib ( )
virtual

Definition at line 63 of file FixLArElecSCCalib.cxx.

64 { }

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 FixLArElecSCCalib::execute ( )
overridevirtual

Definition at line 85 of file FixLArElecSCCalib.cxx.

85  {
86 
87  ATH_MSG_INFO ( " in execute " );
88  return StatusCode::SUCCESS;
89 }

◆ 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 }

◆ finalize()

virtual StatusCode FixLArElecSCCalib::finalize ( )
inlineoverridevirtual

Definition at line 37 of file FixLArElecSCCalib.h.

37 {return StatusCode::SUCCESS;}

◆ fix1()

StatusCode FixLArElecSCCalib::fix1 ( )

Definition at line 116 of file FixLArElecSCCalib.cxx.

116  {
117 
118  ATH_MSG_INFO ( " in fix1() " );
119 
120  // Fix1 is for scaling the Pedestals and Rams
121  int n=0;
122 
123  const LArPedestalSC *ped = nullptr;
124  CHECK(detStore()->retrieve(ped, "Pedestal_orig"));
125 
126  coral::AttributeListSpecification* spec = new coral::AttributeListSpecification();
127  spec->extend("Pedestal", "blob");
128  spec->extend("PedestalRMS", "blob");
129  spec->extend<unsigned>("version");
130 
132 
133  unsigned gain=0;
134  unsigned hashMax=m_sonline_idhelper->channelHashMax();
136  (*attrList)["version"].setValue(0U);
137  coral::Blob& blobPed=(*attrList)["Pedestal"].data<coral::Blob>();
138  coral::Blob& blobRMS=(*attrList)["PedestalRMS"].data<coral::Blob>();
139  blobPed.resize(hashMax*sizeof(float));
140  blobRMS.resize(hashMax*sizeof(float));
141  float* pblobPed=static_cast<float*>(blobPed.startingAddress());
142  float* pblobRMS=static_cast<float*>(blobRMS.startingAddress());
143 
144  for (unsigned hs=0;hs<hashMax;++hs) {
146  float p=ped->pedestal(chid,gain);
147  float rms=ped->pedestalRMS(chid,gain);
148 
149  pblobPed[hs]=p*m_fixFactor;
150  pblobRMS[hs]=rms;
151  ++n;
152  }//end loop over hash ids
153  collPed->add(gain,*attrList);
154 
155  StatusCode sc=detStore()->record(collPed,"/LAR/ElecCalibMCSC/Pedestal");
156  if (sc.isFailure()) {
157  ATH_MSG_ERROR( "Failed to record CondAttrListCollection for pedestal " );
158  return sc;
159  }
160 
161  ATH_MSG_DEBUG(" Number of entries changes in pedestals = " <<n );
162 
163  // Now ramp
164  n=0;
165  const LArRampSC *ramp = nullptr;
166  CHECK(detStore()->retrieve(ramp, "Ramp_orig"));
167 
168  spec = new coral::AttributeListSpecification();
169  spec->extend("RampVec", "blob");
170  spec->extend<unsigned>("nPoints");
171  spec->extend<unsigned>("version");
173 
174 
175  std::vector<float> defaultRamp={0.0,1.0};
176 
177  gain=0;
178 
179  unsigned nPoints=0;
180  unsigned nDefault=0;
181  for (unsigned hs=0;hs<hashMax && nPoints==0;++hs) {
183  const ILArRamp::RampRef_t rampref= ramp->ADC2DAC(chid,gain);
184  nPoints=rampref.size();
185  }
186  if (nPoints==0) {
187  ATH_MSG_ERROR( "All input Ramps for gain " << gain << " have 0 points!" );
188  return StatusCode::FAILURE;
189  }
190 
191  defaultRamp.resize(nPoints,0.0); //fill remaining points if needed
192  ATH_MSG_DEBUG( "Gain " << gain << ": Found a ramp polynom of degree " << nPoints << " in input data" );
193  attrList = new coral::AttributeList(*spec);
194  (*attrList)["version"].setValue(0U);
195  coral::Blob& blobRamp=(*attrList)["RampVec"].data<coral::Blob>();
196  (*attrList)["nPoints"].setValue(nPoints);
197  blobRamp.resize(hashMax*sizeof(float)*nPoints);
198  float* pblobRamp=static_cast<float*>(blobRamp.startingAddress());
199 
200  for (unsigned hs=0;hs<hashMax;++hs) {
202  std::vector<float> rampVec(ramp->ADC2DAC(chid,gain).asVector());
203 
204  if (rampVec.size()>=nPoints) {
205  for (size_t i=0;i<nPoints;++i) {
206  pblobRamp[nPoints*hs+i]=rampVec[i]*m_fixFactor;
207  }
208  }
209  else {
210  std::stringstream message;
211  message <<"Polynom degree doesn't match. Expect " << nPoints << ", got " << rampVec.size() << ".";
212  for (size_t i=0;i<nPoints;++i) {
213  pblobRamp[nPoints*hs+i]=defaultRamp[i];
214  }
215  ++nDefault;
216  }
217  ++n;
218  }//end loop over hash ids
219  coll->add(gain,*attrList);
220 
221  sc=detStore()->record(coll,"/LAR/ElecCalibMCSC/Ramp");
222  if (sc.isFailure()) {
223  ATH_MSG_ERROR( "Failed to record CondAttrListCollection for ramp " );
224  return StatusCode::FAILURE;
225  }
226 
227  ATH_MSG_INFO( "Converted Ramps to inline storage. Total number of channels " << n );
228  ATH_MSG_INFO( "Number of channels filled with default ramp {0,1} " << nDefault << " (including disconnected)" );
229 
230  return StatusCode::SUCCESS;
231 }

◆ fix2()

StatusCode FixLArElecSCCalib::fix2 ( const LArOnOffIdMapping cabling,
const LArCalibLineMapping cl 
)

Definition at line 233 of file FixLArElecSCCalib.cxx.

233  {
234 
235  ATH_MSG_INFO ( " in fix2() " );
236 
237  const uint32_t onlHashMax=m_sonline_idhelper->channelHashMax(); // all SC cells
238 
239  coral::AttributeListSpecification* spec_calib = new coral::AttributeListSpecification();
240  spec_calib->extend("OnlineHashToCalibIds", "blob");
241  spec_calib->extend<unsigned>("version");
242  AthenaAttributeList* al_calib = new AthenaAttributeList(*spec_calib);
243  coral::Blob& blobCalib=(*al_calib)["OnlineHashToCalibIds"].data<coral::Blob>();
244  (*al_calib)["version"].setValue(0U);
245  blobCalib.resize(onlHashMax*sizeof(uint32_t)*5); //Bigger than necessary
246  ATH_MSG_DEBUG("blobCalib size: "<<onlHashMax<<"*5");
247 
248  spec_calib->release();
249  spec_calib = nullptr;
250 
251  uint32_t* pBlobCalib=static_cast<uint32_t*>(blobCalib.startingAddress());
252 
253  size_t calibIndex=0;
254 
255  std::vector<unsigned> calibHist(17,0);
256  unsigned calibHistMax=0;
257 
258  std::ofstream outfile("SCIdentifiers.txt");
259 
260  outfile << "hash id bec pn FT SL chan id calo pn sampl reg eta phi calib" << std::endl;
261 
262  for (uint32_t onlHash=0;onlHash<onlHashMax;++onlHash) {
263  const HWIdentifier hwid=m_sonline_idhelper->channel_Id(onlHash);
264 
265  const std::vector<HWIdentifier>& calibIDs_tmp=cl->calibSlotLine(hwid);
266  std::vector<HWIdentifier> calibIDs;
267  for (unsigned i=0; i<calibIDs_tmp.size(); ++i) {
268  if(std::find(calibIDs.begin(), calibIDs.end(), calibIDs_tmp[i]) == calibIDs.end()) calibIDs.push_back(calibIDs_tmp[i]);
269  }
270  // deduplicate
271  Identifier *id= new Identifier();
272  if (cabling->isOnlineConnected(hwid)) {
273  *id=cabling->cnvToIdentifier(hwid);
274  print(hwid,dynamic_cast<const LArOnlineID_Base*>(m_sonline_idhelper), dynamic_cast<const CaloCell_Base_ID*>(m_scell_idhelper),
275  id,&calibIDs,outfile);
276  } else {
277  print(hwid,dynamic_cast<const LArOnlineID_Base*>(m_sonline_idhelper), dynamic_cast<const CaloCell_Base_ID*>(m_scell_idhelper),
278  nullptr,&calibIDs,outfile);
279  }
280  const size_t nCalibLines=calibIDs.size();
281  if (nCalibLines > calibHistMax ) calibHistMax=nCalibLines;
282  if(calibHistMax > 17) {
283  ATH_MSG_ERROR( "Too much calib lines, adjust please !!!" << calibHistMax);
284  return StatusCode::FAILURE;
285  }
286  (calibHist[nCalibLines])++;
287  pBlobCalib[calibIndex++]=nCalibLines;
288  for(uint32_t iCalib=0;iCalib<nCalibLines;++iCalib)
289  pBlobCalib[calibIndex++]=calibIDs[iCalib].get_identifier32().get_compact();
290  }
291 
292  blobCalib.resize(calibIndex*sizeof(uint32_t)); //Size down to actual size
293 
294 
295  outfile.close();
296 
297  ATH_MSG_INFO( "calibHistMax: " << calibHistMax);
298  ATH_MSG_INFO( "BlobSize CalibId:" << calibIndex);
299  msg(MSG::INFO) << "nCalib[i] ";
300  for (unsigned j=0;j<17;++j)
301  msg() << calibHist[j] << "/";
302  msg() << endmsg;
303 
304  ATH_CHECK(detStore()->record(al_calib,"/LAR/IdentifierOfl/CalibIdMap_SC"));
305 
306  return StatusCode::SUCCESS;
307 }

◆ initialize()

StatusCode FixLArElecSCCalib::initialize ( )
overridevirtual

◆ 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.

◆ print()

void FixLArElecSCCalib::print ( const HWIdentifier hwid,
const LArOnlineID_Base onlineID,
const CaloCell_Base_ID caloCellID,
const Identifier id = nullptr,
std::vector< HWIdentifier > *  calibIDs = nullptr,
std::ostream &  out = std::cout 
)

Definition at line 309 of file FixLArElecSCCalib.cxx.

310  {
311  const IdentifierHash hwid_hash=onlineID->channel_Hash(hwid);
312  out << hwid_hash << " " << std::hex << "0x" << hwid.get_identifier32().get_compact() << std::dec << " "
313  << onlineID->barrel_ec(hwid) << " "
314  << onlineID->pos_neg(hwid) << " "
315  << onlineID->feedthrough(hwid) << " "
316  << onlineID->slot(hwid) << " "
317  << onlineID->channel(hwid) << " : ";
318  if (id) {
319  out << std::hex << "0x" << id->get_identifier32().get_compact() << std::dec << " "
320  << caloCellID->sub_calo(*id) << " "
321  << caloCellID->pos_neg(*id) << " "
322  << caloCellID->sampling(*id) << " "
323  << caloCellID->region(*id) << " "
324  << caloCellID->eta(*id) << " "
325  << caloCellID->phi(*id) << " ";
326  }
327  else
328  out << " disconnected ";
329 
330  if(calibIDs){
331  for (size_t i=0;i<calibIDs->size();++i) {
332  out << std::hex << "0x" << calibIDs->at(i).get_identifier32().get_compact() << " ";
333  }
334  } else
335  out << " no calib ";
336 
337  out << std::dec << std::endl;
338 }

◆ 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  }

◆ stop()

StatusCode FixLArElecSCCalib::stop ( )
overridevirtual

Definition at line 91 of file FixLArElecSCCalib.cxx.

91  {
92 
93  ATH_MSG_INFO ( " in stop " );
94 
95  switch(m_fixFlag) {
96  case 1: return fix1();
97  case 2: {
99  const LArOnOffIdMapping* cabling{*cablingHdl};
100  if(!cabling) {
101  ATH_MSG_ERROR( "Do not have cabling mapping from key " << m_cablingKeySC.key() );
102  return StatusCode::FAILURE;
103  }
105  const LArCalibLineMapping *clCont {*clHdl};
106  if(!clCont) {
107  ATH_MSG_ERROR( "Do not have calib line mapping !!!" );
108  return StatusCode::FAILURE;
109  }
110  return fix2(cabling, clCont);
111  }
112  default: return StatusCode::SUCCESS;
113  }
114 }

◆ 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

◆ m_cablingKeySC

SG::ReadCondHandleKey<LArOnOffIdMapping> FixLArElecSCCalib::m_cablingKeySC {this,"SCCablingKey","LArOnOffIdMapSC","SG Key of SC LArOnOffIdMapping object"}
private

Definition at line 48 of file FixLArElecSCCalib.h.

◆ m_CLKeySC

SG::ReadCondHandleKey<LArCalibLineMapping> FixLArElecSCCalib::m_CLKeySC {this, "SCCalibLineKey", "LArCalibLineMapSC", "SG calib line key"}
private

Definition at line 49 of file FixLArElecSCCalib.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_em_idhelper

const LArEM_ID* FixLArElecSCCalib::m_em_idhelper
private

Definition at line 57 of file FixLArElecSCCalib.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_fcal_idhelper

const LArFCAL_ID* FixLArElecSCCalib::m_fcal_idhelper
private

Definition at line 59 of file FixLArElecSCCalib.h.

◆ m_fixFactor

double FixLArElecSCCalib::m_fixFactor = 0.0
private

Definition at line 53 of file FixLArElecSCCalib.h.

◆ m_fixFlag

int FixLArElecSCCalib::m_fixFlag
private

Definition at line 52 of file FixLArElecSCCalib.h.

◆ m_hec_idhelper

const LArHEC_ID* FixLArElecSCCalib::m_hec_idhelper
private

Definition at line 58 of file FixLArElecSCCalib.h.

◆ m_infile

std::string FixLArElecSCCalib::m_infile
private

Definition at line 55 of file FixLArElecSCCalib.h.

◆ m_online_idhelper

const LArOnlineID* FixLArElecSCCalib::m_online_idhelper
private

Definition at line 60 of file FixLArElecSCCalib.h.

◆ m_scell_idhelper

const CaloCell_SuperCell_ID* FixLArElecSCCalib::m_scell_idhelper
private

Definition at line 65 of file FixLArElecSCCalib.h.

◆ m_sem_idhelper

const LArEM_SuperCell_ID* FixLArElecSCCalib::m_sem_idhelper
private

Definition at line 61 of file FixLArElecSCCalib.h.

◆ m_sfcal_idhelper

const LArFCAL_SuperCell_ID* FixLArElecSCCalib::m_sfcal_idhelper
private

Definition at line 63 of file FixLArElecSCCalib.h.

◆ m_shec_idhelper

const LArHEC_SuperCell_ID* FixLArElecSCCalib::m_shec_idhelper
private

Definition at line 62 of file FixLArElecSCCalib.h.

◆ m_sonline_idhelper

const LArOnline_SuperCellID* FixLArElecSCCalib::m_sonline_idhelper
private

Definition at line 64 of file FixLArElecSCCalib.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.


The documentation for this class was generated from the following files:
python.PyKernel.retrieve
def retrieve(aClass, aKey=None)
Definition: PyKernel.py:110
LArOnlineID_Base::channel_Hash
IdentifierHash channel_Hash(HWIdentifier channelId) const
Create channel_hash from channel_Id.
Definition: LArOnlineID_Base.cxx:1636
CaloCell_Base_ID::region
int region(const Identifier id) const
LAr field values (NOT_VALID == invalid request)
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
SG::ReadCondHandle
Definition: ReadCondHandle.h:44
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition: AthMsgStreamMacros.h:31
find
std::string find(const std::string &s)
return a remapped string
Definition: hcg.cxx:135
FixLArElecSCCalib::m_hec_idhelper
const LArHEC_ID * m_hec_idhelper
Definition: FixLArElecSCCalib.h:58
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
CaloCondBlobAlgs_fillNoiseFromASCII.spec
spec
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:47
AthCommonDataStore< AthCommonMsg< Algorithm > >::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Definition: AthCommonDataStore.h:145
CaloCell_Base_ID::pos_neg
int pos_neg(const Identifier id) const
LAr field values (NOT_VALID == invalid request)
LArCalibLineMapping
Definition: LArCalibLineMapping.h:17
CaloCondBlobAlgs_fillNoiseFromASCII.gain
gain
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:110
ReadCellNoiseFromCool.cabling
cabling
Definition: ReadCellNoiseFromCool.py:154
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
LArRampSC
Definition: LArRampSC.h:18
FixLArElecSCCalib::m_scell_idhelper
const CaloCell_SuperCell_ID * m_scell_idhelper
Definition: FixLArElecSCCalib.h:65
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:1961
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
python.subdetectors.tile.Blob
Blob
Definition: tile.py:17
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
python.PyKernel.AttributeList
AttributeList
Definition: PyKernel.py:36
SG::VarHandleKey::key
const std::string & key() const
Return the StoreGate ID for the referenced object.
Definition: AthToolSupport/AsgDataHandles/Root/VarHandleKey.cxx:141
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:1942
CondAttrListCollection
This class is a collection of AttributeLists where each one is associated with a channel number....
Definition: CondAttrListCollection.h:52
ReweightUtils.message
message
Definition: ReweightUtils.py:15
FixLArElecSCCalib::fix2
StatusCode fix2(const LArOnOffIdMapping *cabling, const LArCalibLineMapping *cl)
Definition: FixLArElecSCCalib.cxx:233
AthenaPoolTestRead.sc
sc
Definition: AthenaPoolTestRead.py:27
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
FixLArElecSCCalib::fix1
StatusCode fix1()
Definition: FixLArElecSCCalib.cxx:116
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:1967
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
Identifier32::get_compact
value_type get_compact(void) const
Get the compact id.
Definition: Identifier32.h:171
AthCommonDataStore< AthCommonMsg< Algorithm > >::outputHandles
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
FixLArElecSCCalib::m_shec_idhelper
const LArHEC_SuperCell_ID * m_shec_idhelper
Definition: FixLArElecSCCalib.h:62
lumiFormat.i
int i
Definition: lumiFormat.py:92
CreatePhysValWebPage.hs
hs
Definition: CreatePhysValWebPage.py:107
Identifier
Definition: DetectorDescription/Identifier/Identifier/Identifier.h:32
beamspotman.n
n
Definition: beamspotman.py:731
CaloCell_Base_ID::sampling
int sampling(const Identifier id) const
LAr field values (NOT_VALID == invalid request)
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
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
FixLArElecSCCalib::m_sem_idhelper
const LArEM_SuperCell_ID * m_sem_idhelper
Definition: FixLArElecSCCalib.h:61
LArOnlineID_Base::channel_Id
HWIdentifier channel_Id(int barrel_ec, int pos_neg, int feedthrough, int slot, int channel) const
create channel identifier from fields
Definition: LArOnlineID_Base.cxx:1569
LArPedestalSC
Definition: LArPedestalSC.h:21
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:1954
CaloCell_Base_ID::eta
int eta(const Identifier id) const
LAr field values (NOT_VALID == invalid request)
CaloCell_Base_ID::sub_calo
int sub_calo(const Identifier id) const
returns an int taken from SUBCALO enum and describing the subCalo to which the Id belongs.
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
AthenaAttributeList
An AttributeList represents a logical row of attributes in a metadata table. The name and type of eac...
Definition: PersistentDataModel/PersistentDataModel/AthenaAttributeList.h:45
CHECK
#define CHECK(...)
Evaluate an expression and check for errors.
Definition: Control/AthenaKernel/AthenaKernel/errorcheck.h:422
AthCommonDataStore< AthCommonMsg< Algorithm > >::m_detStore
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
Definition: AthCommonDataStore.h:393
FixLArElecSCCalib::m_em_idhelper
const LArEM_ID * m_em_idhelper
Definition: FixLArElecSCCalib.h:57
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
LArOnlineID_Base
Helper for the Liquid Argon Calorimeter cell identifiers.
Definition: LArOnlineID_Base.h:105
merge_scale_histograms.doc
string doc
Definition: merge_scale_histograms.py:9
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
FixLArElecSCCalib::print
void print(const HWIdentifier &hwid, const LArOnlineID_Base *onlineID, const CaloCell_Base_ID *caloCellID, const Identifier *id=nullptr, std::vector< HWIdentifier > *calibIDs=nullptr, std::ostream &out=std::cout)
Definition: FixLArElecSCCalib.cxx:309
LArOnlineID_Base::channelHashMax
size_type channelHashMax(void) const
Define channel hash tables max size.
Definition: LArOnlineID_Base.cxx:1901
FixLArElecSCCalib::m_CLKeySC
SG::ReadCondHandleKey< LArCalibLineMapping > m_CLKeySC
Definition: FixLArElecSCCalib.h:49
SG::CondHandleKey::initialize
StatusCode initialize(bool used=true)
CaloCell_Base_ID::phi
int phi(const Identifier id) const
LAr field values (NOT_VALID == invalid request)
LArRampSC::ADC2DAC
virtual RampRef_t ADC2DAC(const HWIdentifier &CellID, int gain) const
Definition: LArRampSC.cxx:26
Example_ReadSampleNoise.ped
ped
Definition: Example_ReadSampleNoise.py:45
FixLArElecSCCalib::m_sfcal_idhelper
const LArFCAL_SuperCell_ID * m_sfcal_idhelper
Definition: FixLArElecSCCalib.h:63
AthAlgorithm::m_extendedExtraObjects
DataObjIDColl m_extendedExtraObjects
Definition: AthAlgorithm.h:79
FixLArElecSCCalib::m_cablingKeySC
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKeySC
Definition: FixLArElecSCCalib.h:48
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:1948
a
TList * a
Definition: liststreamerinfos.cxx:10
h
FixLArElecSCCalib::m_fixFactor
double m_fixFactor
Definition: FixLArElecSCCalib.h:53
ATH_MSG_WARNING
#define ATH_MSG_WARNING(x)
Definition: AthMsgStreamMacros.h:32
AthCommonMsg< Algorithm >::msg
MsgStream & msg() const
Definition: AthCommonMsg.h:24
LArVectorProxy::asVector
std::vector< value_type > asVector() const
Convert back to a vector.
beamspotnt.rms
rms
Definition: bin/beamspotnt.py:1266
SG::VarHandleBase::vhKey
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Definition: StoreGate/src/VarHandleBase.cxx:616
FixLArElecSCCalib::m_fixFlag
int m_fixFlag
Definition: FixLArElecSCCalib.h:52
declareProperty
#define declareProperty(n, p, h)
Definition: BaseFakeBkgTool.cxx:15
AthAlgorithm::AthAlgorithm
AthAlgorithm()
Default constructor:
python.Bindings.keys
keys
Definition: Control/AthenaPython/python/Bindings.py:790
LHEF::Writer
Pythia8::Writer Writer
Definition: Prophecy4fMerger.cxx:12
FixLArElecSCCalib::m_fcal_idhelper
const LArFCAL_ID * m_fcal_idhelper
Definition: FixLArElecSCCalib.h:59
IdentifierHash
Definition: IdentifierHash.h:38
FixLArElecSCCalib::m_online_idhelper
const LArOnlineID * m_online_idhelper
Definition: FixLArElecSCCalib.h:60
Identifier::get_identifier32
Identifier32 get_identifier32(void) const
Get the 32-bit version Identifier, will be invalid if >32 bits needed.
CaloCell_Base_ID
Helper base class for offline cell identifiers.
Definition: CaloCell_Base_ID.h:41
PrepareReferenceFile.outfile
outfile
Definition: PrepareReferenceFile.py:42
dq_make_web_display.cl
cl
print [x.__class__ for x in toList(dqregion.getSubRegions()) ]
Definition: dq_make_web_display.py:26
AthCommonDataStore::declareGaudiProperty
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition: AthCommonDataStore.h:156
fitman.k
k
Definition: fitman.py:528
LArVectorProxy
Proxy for accessing a range of float values like a vector.
Definition: LArVectorProxy.h:38
ServiceHandle< ICondSvc >
LArOnOffIdMapping
Definition: LArOnOffIdMapping.h:20
FixLArElecSCCalib::m_sonline_idhelper
const LArOnline_SuperCellID * m_sonline_idhelper
Definition: FixLArElecSCCalib.h:64