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

#include <LArStripsCrossTalkCorrector.h>

Inheritance diagram for LArStripsCrossTalkCorrector:
Collaboration diagram for LArStripsCrossTalkCorrector:

Classes

struct  neighbour_t
 

Public Member Functions

virtual StatusCode initialize () override final
 
virtual StatusCode execute () override final
 
virtual StatusCode finalize () override final
 
 AthAlgorithm (const std::string &name, ISvcLocator *pSvcLocator)
 Constructor with parameters: 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
 

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

StatusCode initKnownMissingFebs ()
 
size_t getEtaIndex (const Identifier) const
 
size_t getPhiIndex (const Identifier) const
 
void correctSamples (std::vector< double > &dest, const neighbour_t &neighbor) const
 
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...
 

Static Private Member Functions

static std::string printMaxSample (const LArAccumulatedCalibDigit *thisDig)
 

Private Attributes

SG::ReadCondHandleKey< LArBadChannelContm_BCKey {this, "BadChanKey", "LArBadChannel", "SG key for LArBadChan object"}
 
SG::ReadCondHandleKey< LArBadFebContm_BFKey {this, "MissingFEBKey", "LArBadFeb", "SG key for miffing FEB object"}
 
SG::ReadCondHandleKey< LArOnOffIdMappingm_cablingKey {this, "OnOffMap", "LArOnOffIdMap", "SG key for mapping object"}
 
Gaudi::Property< std::vector< std::string > > m_dontUseForCorr {this,"DontUseForXtalkCorr",{}, "Types of bad channel should not be taken into accout for xtalk correction of their neighbor"}
 
LArBadChannelMask m_dontUseForCorrMask
 
Gaudi::Property< std::vector< std::string > > m_dontCorr {this,"NoXtalkCorr",{}, "Types of bad channel should be ignored and not x-talk corrected"}
 
LArBadChannelMask m_dontCorrMask
 
const LArOnlineIDm_onlineHelper {nullptr}
 
const LArEM_IDm_emId {nullptr}
 
unsigned int m_event_counter =0
 
const unsigned int m_MAXphi =64
 
int m_nStrips =-1
 
Gaudi::Property< std::vector< std::string > > m_keylist {this,"KeyList",{},"List of input keys ('HIGH','MEDIUM','LOW')"}
 
Gaudi::Property< unsigned int > m_ADCsatur {this,"ADCsaturation",0,"Cutoff value to ignore saturated digits"}
 
Gaudi::Property< float > m_acceptableDifference {this,"AcceptableDifference",20, "For sanity check: By how much the corrected value may differ from the original one (in %)"}
 
SG::ReadCondHandleKey< ILArPedestalm_pedKey {this,"PedestalKey","Pedestal","Key of Pedestal object"}
 
uint16_t m_fatalFebErrorPattern {0xffff}
 
const size_t m_noIdx {9999999}
 
std::array< std::vector< std::vector< const LArAccumulatedCalibDigit * > >, 2 > m_stripsLookUp
 
std::array< std::vector< std::bitset< 128 > >, 2 > m_knownMissingFebs
 
bool m_missingFEBsDone =false
 
std::set< HWIdentifierm_uncorrectedIds
 
XtalkCorrHisto m_differences {6,0.3}
 
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
 

Static Private Attributes

static constexpr auto m_MAXeta =std::to_array<unsigned>({448,208})
 
static constexpr auto m_MINeta =std::to_array<unsigned>({1,0})
 

Detailed Description

Definition at line 58 of file LArStripsCrossTalkCorrector.h.

Member Typedef Documentation

◆ StoreGateSvc_t

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

Definition at line 388 of file AthCommonDataStore.h.

Member Function Documentation

◆ AthAlgorithm()

AthAlgorithm::AthAlgorithm

Constructor with parameters:

Definition at line 51 of file AthAlgorithm.cxx.

25  :
27 {
28  // Set up to run AthAlgorithmDHUpdate in sysInitialize before
29  // merging dependency lists. This extends the output dependency
30  // list with any symlinks implied by inheritance relations.
31  m_updateDataHandles =
32  std::make_unique<AthenaBaseComps::AthAlgorithmDHUpdate>
34  std::move (m_updateDataHandles));
35 }

◆ correctSamples()

void LArStripsCrossTalkCorrector::correctSamples ( std::vector< double > &  dest,
const neighbour_t neighbor 
) const
inlineprivate

Definition at line 138 of file LArStripsCrossTalkCorrector.h.

138  {
139  const size_t nSamples=std::min(dest.size(),nb.dig->sampleSum().size());
140  const double pedTimesTrig=nb.ped*(double)nb.dig->nTriggers();
141  for (size_t i=0;i<nSamples;++i) {
142  dest[i]+=nb.weight*(nb.dig->sampleSum()[i]-pedTimesTrig);
143  }
144  return;
145 }

◆ 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 LArStripsCrossTalkCorrector::execute ( )
finaloverridevirtual

Definition at line 56 of file LArStripsCrossTalkCorrector.cxx.

57 {
58  if ( m_event_counter < 100 || ( m_event_counter < 1000 && m_event_counter%100==0 ) || m_event_counter%1000==0 )
59  ATH_MSG_INFO( "Processing event " << m_event_counter );
61 
62  if (m_keylist.size()==0) {
63  ATH_MSG_ERROR( "Key list is empty! No containers to process!" );
64  return StatusCode::FAILURE;
65  }
66 
67 
68  StatusCode sc;
69  unsigned nSaturation=0;
70 
71  const LArFebErrorSummary* febErrSum=nullptr;
72  if (evtStore()->contains<LArFebErrorSummary>("LArFebErrorSummary")) {
73  sc=evtStore()->retrieve(febErrSum);
74  if (sc.isFailure()) {
75  ATH_MSG_ERROR( "Failed to retrieve FebErrorSummary object!" );
76  return sc;
77  }
78  }
79  else
80  if (m_event_counter==1)
81  ATH_MSG_WARNING( "No FebErrorSummaryObject found! Feb errors not checked!" );
82 
84  const LArOnOffIdMapping* cabling{*cablingHdl};
85  if(!cabling) {
86  ATH_MSG_ERROR( "Do not have cabling object LArOnOffIdMapping");
87  return StatusCode::FAILURE;
88  }
89 
91  const LArBadChannelCont* bcCont{*bcHdl};
92 
94  const ILArPedestal* larPedestal=*pedHdl;
95 
96 
97  const LArAccumulatedCalibDigitContainer* larAccumulatedCalibDigitContainer;
98 
99  // now start to deal with digits
100 
101  for (const std::string& key : m_keylist) { // Loop over all containers that are to be processed (e.g. different gains)
102 
103  sc = evtStore()->retrieve(larAccumulatedCalibDigitContainer,key);
104  if (sc.isFailure()){
105  ATH_MSG_WARNING( "Cannot read LArAccumulatedCalibDigitContainer from StoreGate! key=" << key );
106  continue; // Try next container
107  }
108 
109 
110  LArAccumulatedCalibDigit febErrorDummy; //Use the address of this object to mark cells belonging to a errornous FEB
111  LArAccumulatedCalibDigit inexistingDummy; //Use the address of this object for "cells" that would be outside of cryostat
112 
113 
114  HWIdentifier lastFailedFEB(0);
115 
116  if(larAccumulatedCalibDigitContainer->empty()) {
117  ATH_MSG_DEBUG( "LArAccumulatedCalibDigitContainer with key = " << key << " is empty " );
118  //return StatusCode::SUCCESS;
119  continue; // Try next container
120  } else {
121  ATH_MSG_DEBUG( "Processing LArAccumulatedCalibDigitContainer with key = " << key
122  << ". Size: " << larAccumulatedCalibDigitContainer->size() );
123  }
124 
125  //Fill missing febs (if not done yet)
126  if (!m_missingFEBsDone) {
128  }
129 
130 
131  //Reset strips lookup table to nullptr:
132  for (int bec : {0,1}) {
133  for (unsigned ieta=0;ieta!=m_MAXeta[bec];++ieta) { //Loop over Strips cells
134  for (unsigned iphi=0;iphi!=m_MAXphi;++iphi) { //Loop over Strips cells
135  for (unsigned iside=0;iside<2;++iside) {
136  m_stripsLookUp[bec][iphi+iside*m_MAXphi][ieta]=nullptr;
137  }
138  }
139  }
140  } //end loop over barrel & EC
141  ATH_MSG_DEBUG( "Filling strips lookup table..." ) ;
142  int nStrips=0;
143 
144  for (const LArAccumulatedCalibDigit* dig : *larAccumulatedCalibDigitContainer) { //Loop over all cells to fill Strips lookup table
145  const HWIdentifier chid=dig->hardwareID();
146  if (!(m_onlineHelper->isEMBchannel(chid) || m_onlineHelper->isEMECchannel(chid))) continue; //Deal only with EM calos case
147  if (!cabling->isOnlineConnected(chid)) continue; //ignore disconnected channels
148 
149 
150  const Identifier id=cabling->cnvToIdentifier(chid);
151  if (m_emId->sampling(id)!=1) continue; //Deal only with strips
152 
153  const HWIdentifier febid=m_onlineHelper->feb_Id(chid);
154  if (febErrSum) {
155  const uint16_t febErrs=febErrSum->feb_error(febid);
156  if (febErrs & m_fatalFebErrorPattern) {
157  if (febid!=lastFailedFEB) {
158  lastFailedFEB=febid;
159  ATH_MSG_ERROR( "Event " << m_event_counter << " Feb " << m_onlineHelper->channel_name(febid)
160  << " reports error(s):" << febErrSum->error_to_string(febErrs) << ". Data ignored." );
161  }
162  dig=&febErrorDummy;
163  } //end if fatal feb error
164  }//end if check feb error summary
165 
166 
167  const int bec=m_onlineHelper->barrel_ec(chid);
168  const size_t ieta=getEtaIndex(id);
169  if (ieta==m_noIdx) continue; //Not a cell we care about
170  const size_t iphi=getPhiIndex(id);
171  if (iphi>=2*m_MAXphi || ieta>=m_MAXeta[bec]) {
172  ATH_MSG_FATAL( "Array index out of range: iphi=" << iphi << " (max " << m_MAXphi << "), ieta="
173  << ieta << "(max " << m_MAXeta[bec] << ")" );
174  return StatusCode::FAILURE;
175  }
176  ++nStrips;
177 
178 
179  //check for saturation:
180  bool saturated=false;
181  if (m_ADCsatur>0) {
182  const std::vector<uint64_t>& samples=dig->sampleSum();
183  const size_t& nS=samples.size();
184  const uint32_t maxValue=(uint32_t)(m_ADCsatur*dig->nTriggers());
185  for (size_t i=0;i<nS;++i) {
186  if (samples[i] >= maxValue) {
187  saturated=true;
188  ATH_MSG_DEBUG("Found saturating digit (index = " << i
189  << ", <ADC> = " << samples[i]/dig->nTriggers()
190  << ", DAC = " << dig->DAC()
191  << ") for channel 0x" << MSG::hex << chid.get_compact() << MSG::dec
192  << ". Skipping.");
193  break;
194  }//end if>maxvalue
195  }//end loop over digits
196  }
197  if (saturated) {
198  ++nSaturation;
199  continue; //Skip this channel
200  }
201 
202  m_stripsLookUp[bec][iphi][ieta]=dig;
203 
204  }//End loop over all cells
205 
206  if (m_nStrips<0)
208 
209  if (m_nStrips != nStrips) {
210  ATH_MSG_WARNING( "Number of strips changed! Have " << nStrips << ", had " << m_nStrips << " before.");
212  }
213  else
214  ATH_MSG_DEBUG("strips lookup table filled. Have " << nStrips << " out of " << 2*m_MAXphi*(1+m_MAXeta[0]-m_MINeta[0])
215  << " barrel channels plus " << 2*m_MAXphi*(1+m_MAXeta[1]-m_MINeta[1]) << "endcap channels.");
216 
217 
218  //Weight for the four neighbors:
219  //only half the signal of the next-to-next neihbor is summed
220  //A more correct approach would be to check if the 'mirrored' neighbor is pulsed as well and compute this weights on-the-fly
221  //const float weight[4]={0.5,1,1,0.5};
222  neighbour_t neighbours[4]={}; //Keep pointers for the four neightbors
223  neighbours[0].dist=-2;
224  neighbours[1].dist=-1;
225  neighbours[2].dist=1;
226  neighbours[3].dist=2;
227 
228  for (unsigned bec : {0,1}) { //Loop over barrel and endcap
229  for (unsigned iside=0; iside<2; iside++) { //Loop over both sides of the detector
230  for (int ieta=0; ieta<(int)m_MAXeta[bec]; ieta++) { // Loop over eta range
231  for (unsigned iphi=0; iphi<m_MAXphi; iphi++) { // Loop over phi range
232  const unsigned iphi2=iphi+m_MAXphi*iside; //Phi index inside lookup table
233  const LArAccumulatedCalibDigit* currDig=m_stripsLookUp[bec][iphi2][ieta];
234  if (currDig==nullptr || currDig==&febErrorDummy) continue; //Digit not found or FEB in error: ignore
235 
236  if ( currDig->isPulsed() ) {
237  HWIdentifier chid = currDig->hardwareID();
238  CaloGain::CaloGain t_gain = currDig->gain();
239  if (m_dontCorrMask.cellShouldBeMasked(bcCont,chid)) {
240  ATH_MSG_DEBUG("Strip " << m_onlineHelper->channel_name(chid) <<" (Eta = " << ieta << ", Phi = "
241  << iphi2 << ") should not be touched accoring to jobConfig");
242  continue;
243  }
244 
245  const unsigned NtotSamples = currDig->nsamples();
246  const unsigned NbTriggers = currDig->nTriggers();
247  ATH_MSG_VERBOSE("Now processing strip "<< m_onlineHelper->channel_name(chid) << " (Eta = " << ieta << ", Phi = " << iphi2 << ")");
248 
249  //Fill the pointers and pedestal in the 'neighbours' array
250  for (unsigned i=0;i<4;i++) {
251  //Set all zero to start with...
252  neighbours[i].dig=nullptr;
253  neighbours[i].ped=0.;
254  const int neigbEtaItx=neighbours[i].dist+(int)ieta;
255  //Check if we are supposed to have this neighbour
256  if (neigbEtaItx<(int)m_MINeta[bec] || neigbEtaItx>=(int)m_MAXeta[bec]) {
257  ATH_MSG_DEBUG("Neighbour " << neighbours[i].dist <<" , ieta=" << neigbEtaItx
258  << " doesn't exist. (min="<< m_MINeta[bec] << " ,max=" << m_MAXeta[bec] << ")");
259  neighbours[i].dig=&inexistingDummy;
260  continue;
261  }
262  const LArAccumulatedCalibDigit* neighDig=m_stripsLookUp[bec][iphi2][neigbEtaItx];
263  //Check if neighbour is present
264  if (!neighDig) {
265  //neighbor missing. Could be known missing FEB or new problem
266  //Reported only if at least WARNING
267  if (msgLvl(MSG::WARNING)) {
268  if (m_knownMissingFebs[bec][neigbEtaItx].test(iphi2)) {
269  ATH_MSG_DEBUG("FEB missing for neighbour " << neighbours[i].dist << " to be added to strip 0x"
270  << m_onlineHelper->channel_name(chid) << " (Eta = " << ieta << ", Phi = " << iphi << ")");
271  }
272  else {
273  ATH_MSG_WARNING( "Cannot find neighbour " << neighbours[i].dist << " to be added to strip 0x"
274  << m_onlineHelper->channel_name(chid) << " (Eta = " << ieta << ", Phi = " << iphi << ")" );
275  }
276  }//end if msgLvl(WARNING)
277  continue;
278  }//end if !neighDIg
279  if (neighDig==&febErrorDummy) { //Pointer comparison!!
280  ATH_MSG_WARNING("Neighbour " << neighbours[i].dist << " of strip " << m_onlineHelper->channel_name(chid)
281  << " (Eta = " << ieta << ", Phi = " << iphi <<"), has a FEB error. Ignored.");
282  continue;
283  }
284 
285  //Check if neighbour is pulsed
286  if (neighDig->isPulsed()) {
287  ATH_MSG_WARNING( "Neighbour " << neighbours[i].dist << " of strip " << m_onlineHelper->channel_name(chid)
288  << " (Eta = " << ieta << ", Phi = " << iphi <<", " << printMaxSample(neighDig)
289  << ") is pulsed. Not used for correction." );
290  continue;
291  }
292 
293  //Check if neighbour is on the bad-channel list
294  if (m_dontUseForCorrMask.cellShouldBeMasked(bcCont,neighDig->hardwareID())) {
295  ATH_MSG_DEBUG("Neighbour " << neighbours[i].dist << " of strip " << m_onlineHelper->channel_name(chid)
296  << " (Eta = " << ieta << ", Phi = " << iphi
297  << ") is flagged by the LArBadChannelMaskingTool. Not used for correction.");
298  continue;
299  }
300 
301  //Get Pedestal
302  const float pedestal = larPedestal->pedestal(neighDig->hardwareID(),t_gain);
303  if (pedestal <= (1.0+LArElecCalib::ERRORCODE)) {
304  ATH_MSG_ERROR( "No pedestal are available for neighbour " << neighbours[i].dist << " of strip "
305  << m_onlineHelper->channel_name(chid) << " (Eta = " << ieta << ", Phi = " << iphi << "). Not used for correction!" );
306  continue;
307  }
308  //All went ok, fill struct
309  neighbours[i].dig=neighDig;
310  neighbours[i].ped=pedestal;
311 
312  //The weight is one, unless the neighbor-of-the-neighbor is pulsed too
313  neighbours[i].weight=1.0;
314  //Now check if the neighbor-of-the-neighbor is pulsed to set a different weight.
315  const int nnEta=ieta+2*neighbours[i].dist;
316  if (nnEta>=(int)m_MINeta[bec] && nnEta<(int)m_MAXeta[bec]) {
317  const LArAccumulatedCalibDigit* nnDig=m_stripsLookUp[bec][iphi2][nnEta];
318  if (nnDig!=nullptr) {
319  //Could be also FebErrorDummy (which will always pretentd to be not pulsed)
320  if (nnDig->isPulsed()) {
321  ATH_MSG_VERBOSE("Neighbour " << neighbours[i].dist << " of strip " << m_onlineHelper->channel_name(chid)
322  << " has another pulsed cell in the neighborhood. Setting weight to 0.5");
323  neighbours[i].weight=0.5;
324  }//end if isPulsed
325  }//end if neighbor-of-neighbor not NULL
326  }//end if neighbor-of-neighbor in eta range
327  }//End loop over four neighbours
328 
329 
330  //Now loop over samples to apply xtalk correction
331  std::vector<double> SampleSums(NtotSamples);
332  for (std::size_t SampleIndex=0;SampleIndex<NtotSamples; ++SampleIndex ) {
333  SampleSums[SampleIndex]=(double)currDig->sampleSum()[SampleIndex];
334  ATH_MSG_VERBOSE("SampleSum " << SampleIndex << " (" << SampleSums[SampleIndex] << " ADC counts / " << NbTriggers << " Ntriggers)");
335  }
336  //Loop over the neighbours and apply corrections
337  for (unsigned i=0;i<4;i++) {
338  if (neighbours[i].dig==&inexistingDummy) { //Pointer comparision!
339  ATH_MSG_VERBOSE("Neighbour " << neighbours[i].dist << " of strip " << m_onlineHelper->channel_name(chid)
340  << " (Eta = " << ieta << ", Phi = " << iphi << ") does not exist.");
341  //no neighbor (end of calorimeter). Do nothing
342  continue;
343  }
344 
345  if (neighbours[i].dig) { //"Normal" case
346  correctSamples(SampleSums,neighbours[i]);
347  ATH_MSG_VERBOSE("Neighbour " << neighbours[i].dist << " of strip " << m_onlineHelper->channel_name(chid)
348  << " (Eta = " << ieta << ", Phi = " << iphi << ") is used for correction");
349  } //end if have pointer to neighbor cell
350  else { //Neighbor not usable for some reason, try mirrored neighbor
351  const int j = 3-i; //get mirrored neighbor
352  ATH_MSG_INFO( "Neighbour " << neighbours[i].dist << " of strip " << m_onlineHelper->channel_name(chid)
353  << " cannot be used. Taking mirrored neighbour " << neighbours[j].dist << " instead." );
354  if (neighbours[j].dig!=nullptr && neighbours[j].dig!=&inexistingDummy){
355  correctSamples(SampleSums,neighbours[j]);
356  ATH_MSG_VERBOSE("Mirrored neighbour " << neighbours[j].dist << " of strip " << m_onlineHelper->channel_name(chid)
357  << " (Eta = " << ieta << ", Phi = " << iphi << ") is used for correction");
358  }//end if neighbours[j].dig
359  else {
360  ATH_MSG_WARNING( "Mirrored Neighbour " << neighbours[j].dist << " of strip " << m_onlineHelper->channel_name(chid)
361  << " cannot be used too. No correction applied" );
362  }
363  }//end if no neighboring cell
364  }//end loop over the four neighbors
365 
366 
367  std::vector<uint64_t> SampleSumInt(NtotSamples);
368  bool unresonable=false;
369  std::size_t iPeak=std::max_element(currDig->sampleSum().begin(),currDig->sampleSum().end())-currDig->sampleSum().begin();
370  for (std::size_t SampleIndex=0;SampleIndex<NtotSamples; ++SampleIndex ) {
371  const double& thisSampleSum=SampleSums[SampleIndex];
372  const uint32_t& oldVal=currDig->sampleSum()[SampleIndex];
373  if (thisSampleSum<0) {
374  unresonable=true;
375  ATH_MSG_WARNING( "Channel 0x" << MSG::hex << chid.get_compact() << MSG::dec
376  << " (Eta = " << ieta << ", Phi = " << iphi << ") Resulting ADC sample " << SampleIndex <<" negative! "
377  << thisSampleSum << " instead of " << oldVal << " Not corrected." );
378  break;
379  }
380 
381  if (SampleIndex==iPeak) { //check value of correction at peak
382  const float dev=(thisSampleSum-oldVal)/oldVal;
383  m_differences.add(currDig,dev);
384  if (std::fabs(dev)>m_acceptableDifference) {
385  unresonable=true;
386  ATH_MSG_WARNING("Strip " << m_onlineHelper->channel_name(chid) << " (Eta = " << ieta << ", Phi = " << iphi
387  << ") DAC=" << currDig->DAC() << ": Resulting ADC sample " << SampleIndex <<" looks unreasonable: "
388  << thisSampleSum << " instead of " << oldVal << " (off by " << dev*100 << "%)"
389  << " (=" << thisSampleSum/NbTriggers << " -> " << oldVal/NbTriggers <<", ped="
390  << larPedestal->pedestal(chid,t_gain)
391  << " Not Corrected.");
392  break;
393  }//end if dev>m_acceptableDifference
394  } // end if at peak sample
395  SampleSumInt[SampleIndex] = (uint64_t)(thisSampleSum);
396  }//End loop over samples
397 
398 
399  if (unresonable) {
400  m_uncorrectedIds.insert(chid);
401  ATH_MSG_DEBUG("Correction for channel " << m_onlineHelper->channel_name(chid) << " failed");
402  }
403  else {
404  ATH_MSG_VERBOSE("Correction for channel " << m_onlineHelper->channel_name(chid) << " DAC="<<currDig->DAC() << " succeeded "
405  << currDig->sampleSum()[2] << "->" << SampleSumInt[2]);
406  // FIXME: const_cast, modifying object in SG.
407  const_cast<LArAccumulatedCalibDigit*>(currDig)->setSampleSum(SampleSumInt);
408  }
409  }// end if-pulsed
410  }//end loop over phi
411  }//end loop over eta
412  }//End loop over sides
413  }//End loop over barrel-EC
414  } //End loop over all containers
415 
416  if (nSaturation) {
417  ATH_MSG_INFO( "Found " << nSaturation << " saturating digits in this event." );
418  }
419  return StatusCode::SUCCESS;
420 }

◆ 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()

StatusCode LArStripsCrossTalkCorrector::finalize ( )
finaloverridevirtual

Definition at line 424 of file LArStripsCrossTalkCorrector.cxx.

424  {
425  if (msgLvl(MSG::WARNING) && !m_uncorrectedIds.empty() ) {
426  const LArBadChanBitPacking packing;
427  ATH_MSG_WARNING( "The following "<< m_uncorrectedIds.size() << " channels are (partly) uncorrected because of unresonable high correction:" );
429  const LArBadChannelCont* bcCont{*bcHdl};
430  if(bcCont) {
431  std::set<HWIdentifier>::const_iterator it=m_uncorrectedIds.begin();
432  std::set<HWIdentifier>::const_iterator it_e=m_uncorrectedIds.end();
433  for (;it!=it_e;++it) {
434  LArBadChannel bc=bcCont->status(*it);
435  ATH_MSG_WARNING( "Not corrected: " << m_onlineHelper->channel_name(*it) << " " << packing.stringStatus(bc) );
436  }
437  }
438  }
439 
441 
442  return StatusCode::SUCCESS;
443 }

◆ getEtaIndex()

size_t LArStripsCrossTalkCorrector::getEtaIndex ( const Identifier  id) const
inlineprivate

Definition at line 147 of file LArStripsCrossTalkCorrector.h.

147  {
148  if (m_emId->sampling(id)!=1) return m_noIdx; //Deal only with layer 1
149  const int region = m_emId->region(id);
150  const int keta = m_emId->eta(id);
151  if (abs(m_emId->barrel_ec(id))== 1) { // Barrel case
152  if (region==0)
153  return keta;
154  else
155  return m_noIdx;
156  }// end if barrel
157  else if (abs(m_emId->barrel_ec(id))== 2) { //Endcap case
158  switch (region) {
159  case 2:
160  return keta;
161  break;
162  case 3:
163  return keta+96;
164  break;
165  case 4:
166  return keta+144;
167  break;
168  default:
169  return m_noIdx;
170  break;
171  }
172  }// end if endcap
173  return m_noIdx; //endcap OW or unknown region
174 }

◆ getPhiIndex()

size_t LArStripsCrossTalkCorrector::getPhiIndex ( const Identifier  id) const
inlineprivate

Definition at line 176 of file LArStripsCrossTalkCorrector.h.

176  {
177  const int kphi = m_emId->phi(id);
178  const int kside=m_emId->barrel_ec(id)>0;
179  return kphi+kside*m_MAXphi;
180  }

◆ initialize()

StatusCode LArStripsCrossTalkCorrector::initialize ( )
finaloverridevirtual

Definition at line 18 of file LArStripsCrossTalkCorrector.cxx.

18  {
19 
20  StatusCode sc = detStore()->retrieve(m_onlineHelper, "LArOnlineID");
21  if (sc.isFailure()) {
22  ATH_MSG_ERROR( "Could not get LArOnlineID helper !" );
23  return StatusCode::FAILURE;
24  }
25 
26  sc = detStore()->retrieve(m_emId, "LArEM_ID");
27  if (sc.isFailure()) {
28  ATH_MSG_ERROR( "Could not get LArEM_ID helper !" );
29  return StatusCode::FAILURE;
30  }
31 
32 
35 
36  ATH_CHECK(m_BCKey.initialize());
37  ATH_CHECK(m_BFKey.initialize());
40 
41  m_acceptableDifference.value()/=100; //Convert from % to fraction
42 
43  //Initialize strips lookup table:
44  for (unsigned bec : {0,1}) {
45  m_stripsLookUp[bec].resize(2*m_MAXphi); //change index to coded index
46  for (unsigned iside=0;iside<2;++iside) {
47  for (unsigned iphi=0; iphi!=m_MAXphi; ++iphi) {
48  m_stripsLookUp[bec][iphi+iside*m_MAXphi].resize(m_MAXeta[bec],nullptr);
49  }
50  }
51  }
52  return StatusCode::SUCCESS;
53 }

◆ initKnownMissingFebs()

StatusCode LArStripsCrossTalkCorrector::initKnownMissingFebs ( )
private

Definition at line 456 of file LArStripsCrossTalkCorrector.cxx.

456  {
457 unsigned nMissing=0;
458 
459  for (unsigned bec : {0,1}) {
460  m_knownMissingFebs[bec].clear();
462  }
463 
464  //const std::vector<HWIdentifier> mf=m_badChannelTool->missingFEBs();
466  const LArBadFebCont* bfCont{*bfHdl};
467  if(!bfCont) {
468  ATH_MSG_ERROR( "Do not have missing FEBs " << m_BFKey.key() );
469  return StatusCode::FAILURE;
470  }
472  const LArOnOffIdMapping* cabling{*cablingHdl};
473  if(!cabling) {
474  ATH_MSG_ERROR( "Do not have cabling object LArOnOffIdMapping");
475  return StatusCode::FAILURE;
476  }
477 
479  for (const auto& entry : bfCont->fullCont()) {
480  const HWIdentifier hid=HWIdentifier(entry.first);
481  mf.emplace_back(LArBadChannelDBTools::BadFebEntry(hid,entry.second));
482  }
483 
484  //ATH_MSG_DEBUG( "Got " << mf.size() << " missing FEBs" );
485  LArBadChannelDBTools::BadFebVec::const_iterator it=mf.begin();
486  LArBadChannelDBTools::BadFebVec::const_iterator it_e=mf.end();
487  for (;it!=it_e;++it) {
488  const HWIdentifier& fid=it->first;
489  const LArBadFeb& bf=it->second;
490  if (bf.deadAll() || bf.deadReadout() || bf.deactivatedInOKS()) {
492  ATH_MSG_DEBUG( "Feb " << MSG::hex << fid.get_compact() << MSG::dec << " reported as missing" );
493  const int nChan=m_onlineHelper->channelInSlotMax(fid);
494  const unsigned bec=m_onlineHelper->barrel_ec(fid);
495  for (int c=0;c<nChan;++c) {
496  const HWIdentifier chid=m_onlineHelper->channel_Id(fid,c);
497  const Identifier id=cabling->cnvToIdentifier(chid);
498  const size_t ieta=getEtaIndex(id);
499  if (ieta==m_noIdx) continue; //Not a cell we care about
500  const size_t iphi=getPhiIndex(id);
501  if (iphi>=2*m_MAXphi || ieta>=m_MAXeta[bec]) {
502  ATH_MSG_FATAL( "Array index out of range: iphi=" << iphi << " (max " << m_MAXphi << "), ieta="
503  << ieta << "(max " << m_MAXeta[bec] << ")" );
504  return StatusCode::FAILURE;
505  }
506  m_knownMissingFebs[bec][ieta].set(iphi);
507  ++nMissing;
508  }//end loop over channels of one feb
509  }//end if is barrel/endcap & EM
510  }//end if is dead
511  }//end loop over problematic febs
512  ATH_MSG_INFO( "Number of known missing strip cells: "<< nMissing );
513  m_missingFEBsDone=true;
514  return StatusCode::SUCCESS;
515 }

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

◆ printMaxSample()

std::string LArStripsCrossTalkCorrector::printMaxSample ( const LArAccumulatedCalibDigit thisDig)
staticprivate

Definition at line 446 of file LArStripsCrossTalkCorrector.cxx.

446  {
447 
448  const std::vector<uint64_t>& ss=thisDig->sampleSum();
449  std::vector<uint64_t>::const_iterator imax=std::max_element(ss.begin(),ss.end());
450  std::ostringstream output;
451  output << "S[" << imax-ss.begin() << "]=" << *imax/thisDig->nTriggers();
452  return output.str();
453 }

◆ 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

◆ m_acceptableDifference

Gaudi::Property<float> LArStripsCrossTalkCorrector::m_acceptableDifference {this,"AcceptableDifference",20, "For sanity check: By how much the corrected value may differ from the original one (in %)"}
private

Definition at line 96 of file LArStripsCrossTalkCorrector.h.

◆ m_ADCsatur

Gaudi::Property<unsigned int> LArStripsCrossTalkCorrector::m_ADCsatur {this,"ADCsaturation",0,"Cutoff value to ignore saturated digits"}
private

Definition at line 95 of file LArStripsCrossTalkCorrector.h.

◆ m_BCKey

SG::ReadCondHandleKey<LArBadChannelCont> LArStripsCrossTalkCorrector::m_BCKey {this, "BadChanKey", "LArBadChannel", "SG key for LArBadChan object"}
private

Definition at line 71 of file LArStripsCrossTalkCorrector.h.

◆ m_BFKey

SG::ReadCondHandleKey<LArBadFebCont> LArStripsCrossTalkCorrector::m_BFKey {this, "MissingFEBKey", "LArBadFeb", "SG key for miffing FEB object"}
private

Definition at line 72 of file LArStripsCrossTalkCorrector.h.

◆ m_cablingKey

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

Definition at line 73 of file LArStripsCrossTalkCorrector.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_differences

XtalkCorrHisto LArStripsCrossTalkCorrector::m_differences {6,0.3}
private

Definition at line 124 of file LArStripsCrossTalkCorrector.h.

◆ m_dontCorr

Gaudi::Property<std::vector<std::string> > LArStripsCrossTalkCorrector::m_dontCorr {this,"NoXtalkCorr",{}, "Types of bad channel should be ignored and not x-talk corrected"}
private

Definition at line 80 of file LArStripsCrossTalkCorrector.h.

◆ m_dontCorrMask

LArBadChannelMask LArStripsCrossTalkCorrector::m_dontCorrMask
private

Definition at line 81 of file LArStripsCrossTalkCorrector.h.

◆ m_dontUseForCorr

Gaudi::Property<std::vector<std::string> > LArStripsCrossTalkCorrector::m_dontUseForCorr {this,"DontUseForXtalkCorr",{}, "Types of bad channel should not be taken into accout for xtalk correction of their neighbor"}
private

Definition at line 76 of file LArStripsCrossTalkCorrector.h.

◆ m_dontUseForCorrMask

LArBadChannelMask LArStripsCrossTalkCorrector::m_dontUseForCorrMask
private

Definition at line 79 of file LArStripsCrossTalkCorrector.h.

◆ m_emId

const LArEM_ID* LArStripsCrossTalkCorrector::m_emId {nullptr}
private

Definition at line 86 of file LArStripsCrossTalkCorrector.h.

◆ m_event_counter

unsigned int LArStripsCrossTalkCorrector::m_event_counter =0
private

Definition at line 87 of file LArStripsCrossTalkCorrector.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_fatalFebErrorPattern

uint16_t LArStripsCrossTalkCorrector::m_fatalFebErrorPattern {0xffff}
private

Definition at line 101 of file LArStripsCrossTalkCorrector.h.

◆ m_keylist

Gaudi::Property<std::vector<std::string> > LArStripsCrossTalkCorrector::m_keylist {this,"KeyList",{},"List of input keys ('HIGH','MEDIUM','LOW')"}
private

Definition at line 94 of file LArStripsCrossTalkCorrector.h.

◆ m_knownMissingFebs

std::array<std::vector < std::bitset< 128 > >,2> LArStripsCrossTalkCorrector::m_knownMissingFebs
private

Definition at line 110 of file LArStripsCrossTalkCorrector.h.

◆ m_MAXeta

constexpr auto LArStripsCrossTalkCorrector::m_MAXeta =std::to_array<unsigned>({448,208})
staticconstexprprivate

Definition at line 89 of file LArStripsCrossTalkCorrector.h.

◆ m_MAXphi

const unsigned int LArStripsCrossTalkCorrector::m_MAXphi =64
private

Definition at line 91 of file LArStripsCrossTalkCorrector.h.

◆ m_MINeta

constexpr auto LArStripsCrossTalkCorrector::m_MINeta =std::to_array<unsigned>({1,0})
staticconstexprprivate

Definition at line 90 of file LArStripsCrossTalkCorrector.h.

◆ m_missingFEBsDone

bool LArStripsCrossTalkCorrector::m_missingFEBsDone =false
private

Definition at line 112 of file LArStripsCrossTalkCorrector.h.

◆ m_noIdx

const size_t LArStripsCrossTalkCorrector::m_noIdx {9999999}
private

Definition at line 103 of file LArStripsCrossTalkCorrector.h.

◆ m_nStrips

int LArStripsCrossTalkCorrector::m_nStrips =-1
private

Definition at line 92 of file LArStripsCrossTalkCorrector.h.

◆ m_onlineHelper

const LArOnlineID* LArStripsCrossTalkCorrector::m_onlineHelper {nullptr}
private

Definition at line 85 of file LArStripsCrossTalkCorrector.h.

◆ m_pedKey

SG::ReadCondHandleKey<ILArPedestal> LArStripsCrossTalkCorrector::m_pedKey {this,"PedestalKey","Pedestal","Key of Pedestal object"}
private

Definition at line 99 of file LArStripsCrossTalkCorrector.h.

◆ m_stripsLookUp

std::array<std::vector < std::vector < const LArAccumulatedCalibDigit* > >,2> LArStripsCrossTalkCorrector::m_stripsLookUp
private

Definition at line 108 of file LArStripsCrossTalkCorrector.h.

◆ m_uncorrectedIds

std::set<HWIdentifier> LArStripsCrossTalkCorrector::m_uncorrectedIds
private

Definition at line 114 of file LArStripsCrossTalkCorrector.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:
ILArPedestal::pedestal
virtual float pedestal(const HWIdentifier &id, int gain) const =0
LArBadChanBitPacking
Definition: LArBadChanBitPacking.h:13
LArStripsCrossTalkCorrector::getPhiIndex
size_t getPhiIndex(const Identifier) const
Definition: LArStripsCrossTalkCorrector.h:176
LArEM_Base_ID::phi
int phi(const Identifier id) const
return phi according to :
LArAccumulatedCalibDigit
Data class for calibration ADC samples preprocessed by the DSP.
Definition: LArAccumulatedCalibDigit.h:42
LArStripsCrossTalkCorrector::m_dontUseForCorr
Gaudi::Property< std::vector< std::string > > m_dontUseForCorr
Definition: LArStripsCrossTalkCorrector.h:76
LArStripsCrossTalkCorrector::m_MAXeta
static constexpr auto m_MAXeta
Definition: LArStripsCrossTalkCorrector.h:89
ATH_MSG_FATAL
#define ATH_MSG_FATAL(x)
Definition: AthMsgStreamMacros.h:34
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
maxValue
#define maxValue(current, test)
Definition: CompoundLayerMaterialCreator.h:22
PowhegControl_ttHplus_NLO.ss
ss
Definition: PowhegControl_ttHplus_NLO.py:83
SG::ReadCondHandle
Definition: ReadCondHandle.h:44
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition: AthMsgStreamMacros.h:31
CaloCellPos2Ntuple.int
int
Definition: CaloCellPos2Ntuple.py:24
ParticleGun_SamplingFraction.bec
int bec
Definition: ParticleGun_SamplingFraction.py:89
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
LArStripsCrossTalkCorrector::getEtaIndex
size_t getEtaIndex(const Identifier) const
Definition: LArStripsCrossTalkCorrector.h:147
LArStripsCrossTalkCorrector::printMaxSample
static std::string printMaxSample(const LArAccumulatedCalibDigit *thisDig)
Definition: LArStripsCrossTalkCorrector.cxx:446
AthCommonDataStore::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Definition: AthCommonDataStore.h:145
LArStripsCrossTalkCorrector::m_dontCorrMask
LArBadChannelMask m_dontCorrMask
Definition: LArStripsCrossTalkCorrector.h:81
ILArPedestal
Definition: ILArPedestal.h:12
LArStripsCrossTalkCorrector::m_acceptableDifference
Gaudi::Property< float > m_acceptableDifference
Definition: LArStripsCrossTalkCorrector.h:96
LArBadXCont
Conditions-Data class holding LAr Bad Channel or Bad Feb information.
Definition: LArBadChannelCont.h:28
LArAccumulatedCalibDigit::nsamples
size_t nsamples() const
return number of samples
Definition: LArAccumulatedCalibDigit.h:120
ReadCellNoiseFromCool.cabling
cabling
Definition: ReadCellNoiseFromCool.py:154
skel.it
it
Definition: skel.GENtoEVGEN.py:423
LArBadFeb::deadReadout
bool deadReadout() const
FEB is not sending readout data, but the L1 trigger path is working.
Definition: LArBadFeb.h:33
LArStripsCrossTalkCorrector::m_dontCorr
Gaudi::Property< std::vector< std::string > > m_dontCorr
Definition: LArStripsCrossTalkCorrector.h:80
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
LArBadChannelMask::buildBitMask
StatusCode buildBitMask(const std::vector< std::string > &problemsToMask, MsgStream &msg)
Definition: LArBadChannelMask.cxx:10
LArStripsCrossTalkCorrector::m_fatalFebErrorPattern
uint16_t m_fatalFebErrorPattern
Definition: LArStripsCrossTalkCorrector.h:101
LArStripsCrossTalkCorrector::m_event_counter
unsigned int m_event_counter
Definition: LArStripsCrossTalkCorrector.h:87
LArStripsCrossTalkCorrector::m_keylist
Gaudi::Property< std::vector< std::string > > m_keylist
Definition: LArStripsCrossTalkCorrector.h:94
AthCommonMsg< Algorithm >::msgLvl
bool msgLvl(const MSG::Level lvl) const
Definition: AthCommonMsg.h:30
LArEM_Base_ID::region
int region(const Identifier id) const
return region according to :
LArAccumulatedCalibDigit::sampleSum
const std::vector< uint64_t > & sampleSum() const
return a reference to a stl vector containing the sample-sums
Definition: LArAccumulatedCalibDigit.h:123
LArEM_Base_ID::sampling
int sampling(const Identifier id) const
return sampling according to :
perfmonmt-printer.dest
dest
Definition: perfmonmt-printer.py:189
LArFebErrorSummary::error_to_string
static std::string error_to_string(uint16_t error)
interpret the error in string
Definition: LArFebErrorSummary.cxx:58
TrigInDetValidation_Base.test
test
Definition: TrigInDetValidation_Base.py:146
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
LArStripsCrossTalkCorrector::m_MAXphi
const unsigned int m_MAXphi
Definition: LArStripsCrossTalkCorrector.h:91
ATH_MSG_VERBOSE
#define ATH_MSG_VERBOSE(x)
Definition: AthMsgStreamMacros.h:28
LArStripsCrossTalkCorrector::m_missingFEBsDone
bool m_missingFEBsDone
Definition: LArStripsCrossTalkCorrector.h:112
LArStripsCrossTalkCorrector::m_BCKey
SG::ReadCondHandleKey< LArBadChannelCont > m_BCKey
Definition: LArStripsCrossTalkCorrector.h:71
LArAccumulatedCalibDigit::gain
CaloGain::CaloGain gain() const
return gain value
Definition: LArAccumulatedCalibDigit.h:117
HWIdentifier
Definition: HWIdentifier.h:13
LArBadChannelMask::cellShouldBeMasked
bool cellShouldBeMasked(const LArBadChannelCont *bcCont, const HWIdentifier &hardwareId) const
Definition: LArBadChannelMask.h:42
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
LArBadChanBlobUtils::BadFebVec
std::vector< BadFebEntry > BadFebVec
Definition: LArBadChanBlobUtils.h:23
LArEM_Base_ID::eta
int eta(const Identifier id) const
return eta according to :
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
LArStripsCrossTalkCorrector::m_stripsLookUp
std::array< std::vector< std::vector< const LArAccumulatedCalibDigit * > >, 2 > m_stripsLookUp
Definition: LArStripsCrossTalkCorrector.h:108
DQPostProcessTest.mf
mf
Definition: DQPostProcessTest.py:19
LArFebErrorSummary::feb_error
uint16_t feb_error(HWIdentifier febid) const
get error for feb
Definition: LArFebErrorSummary.cxx:20
LArStripsCrossTalkCorrector::m_emId
const LArEM_ID * m_emId
Definition: LArStripsCrossTalkCorrector.h:86
LArStripsCrossTalkCorrector::m_noIdx
const size_t m_noIdx
Definition: LArStripsCrossTalkCorrector.h:103
xAOD::saturated
setScaleOne setStatusOne saturated
Definition: gFexGlobalRoI_v1.cxx:51
AthCommonDataStore< AthCommonMsg< Algorithm > >::evtStore
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
Definition: AthCommonDataStore.h:85
LArStripsCrossTalkCorrector::m_knownMissingFebs
std::array< std::vector< std::bitset< 128 > >, 2 > m_knownMissingFebs
Definition: LArStripsCrossTalkCorrector.h:110
LArStripsCrossTalkCorrector::m_BFKey
SG::ReadCondHandleKey< LArBadFebCont > m_BFKey
Definition: LArStripsCrossTalkCorrector.h:72
XtalkCorrHisto::print
void print(MsgStream &stream, const LArOnlineID *onlId, MSG::Level lvl=MSG::INFO)
Definition: LArStripsCrossTalkCorrector.cxx:534
LArStripsCrossTalkCorrector::m_nStrips
int m_nStrips
Definition: LArStripsCrossTalkCorrector.h:92
LArStripsCrossTalkCorrector::m_onlineHelper
const LArOnlineID * m_onlineHelper
Definition: LArStripsCrossTalkCorrector.h:85
LArOnlineID::isEMECchannel
bool isEMECchannel(const HWIdentifier id) const override final
Definition: LArOnlineID.cxx:774
LArStripsCrossTalkCorrector::initKnownMissingFebs
StatusCode initKnownMissingFebs()
Definition: LArStripsCrossTalkCorrector.cxx:456
AthCommonDataStore
Definition: AthCommonDataStore.h:52
AthAlgorithm::sysInitialize
virtual StatusCode sysInitialize() override
Override sysInitialize.
Definition: AthAlgorithm.cxx:66
LArBadChanBlobUtils::BadFebEntry
std::pair< HWIdentifier, LArBadFeb > BadFebEntry
Definition: LArBadChanBlobUtils.h:21
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
xAOD::uint16_t
setWord1 uint16_t
Definition: eFexEMRoI_v1.cxx:88
AthCommonDataStore< AthCommonMsg< Algorithm > >::outputHandles
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
lumiFormat.i
int i
Definition: lumiFormat.py:92
LArOnlineID_Base::channelInSlotMax
int channelInSlotMax(const HWIdentifier Id) const
Return the Maximum channel number of a given feb slot.
Definition: LArOnlineID_Base.cxx:286
Identifier
Definition: DetectorDescription/Identifier/Identifier/Identifier.h:32
LArStripsCrossTalkCorrector::correctSamples
void correctSamples(std::vector< double > &dest, const neighbour_t &neighbor) const
Definition: LArStripsCrossTalkCorrector.h:138
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LArStripsCrossTalkCorrector::m_uncorrectedIds
std::set< HWIdentifier > m_uncorrectedIds
Definition: LArStripsCrossTalkCorrector.h:114
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
01SubmitToGrid.samples
samples
Definition: 01SubmitToGrid.py:58
LArBadFeb::deadAll
bool deadAll() const
FEB is completely missing, e.g. powered off.
Definition: LArBadFeb.h:30
XtalkCorrHisto::add
void add(const LArAccumulatedCalibDigit *dig, const float reldiff)
Definition: LArStripsCrossTalkCorrector.cxx:524
LArAccumulatedCalibDigit::nTriggers
unsigned nTriggers() const
return the number of triggers
Definition: LArAccumulatedCalibDigit.h:129
LArBadChannel
Definition: LArBadChannel.h:10
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
xAOD::uint64_t
uint64_t
Definition: EventInfo_v1.cxx:123
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
AthCommonDataStore< AthCommonMsg< Algorithm > >::m_detStore
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
Definition: AthCommonDataStore.h:393
xAOD::double
double
Definition: CompositeParticle_v1.cxx:159
LArStripsCrossTalkCorrector::m_MINeta
static constexpr auto m_MINeta
Definition: LArStripsCrossTalkCorrector.h:90
imax
int imax(int i, int j)
Definition: TileLaserTimingTool.cxx:33
LArAccumulatedCalibDigit::hardwareID
const HWIdentifier & hardwareID() const
Return HWIdentifier.
Definition: LArAccumulatedCalibDigit.h:111
LArOnlineID_Base::feb_Id
HWIdentifier feb_Id(int barrel_ec, int pos_neg, int feedthrough, int slot) const
Create feb_Id from fields.
Definition: LArOnlineID_Base.cxx:1483
min
#define min(a, b)
Definition: cfImp.cxx:40
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
merge.output
output
Definition: merge.py:17
LArStripsCrossTalkCorrector::m_cablingKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
Definition: LArStripsCrossTalkCorrector.h:73
MuonGM::nStrips
int nStrips(const MuonGM::TgcReadoutElement &readoutEle, int layer)
Definition: MuonDetDescr/MuonGeoModelTest/src/GeoModelTgcTest.cxx:46
GetAllXsec.entry
list entry
Definition: GetAllXsec.py:132
merge_scale_histograms.doc
string doc
Definition: merge_scale_histograms.py:9
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
LArStripsCrossTalkCorrector::m_pedKey
SG::ReadCondHandleKey< ILArPedestal > m_pedKey
Definition: LArStripsCrossTalkCorrector.h:99
LArBadFeb
Definition: LArBadFeb.h:10
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)
LArOnlineID_Base::isEMBchannel
bool isEMBchannel(const HWIdentifier id) const
Definition: LArOnlineID_Base.cxx:1652
LArBadFeb::deactivatedInOKS
bool deactivatedInOKS() const
Deactivated in OKS.
Definition: LArBadFeb.h:39
CaloGain::CaloGain
CaloGain
Definition: CaloGain.h:11
TLArBadChanBitPackingBase::stringStatus
std::string stringStatus(const LArBadChannel &bc) const
AthAlgorithm::m_extendedExtraObjects
DataObjIDColl m_extendedExtraObjects
Definition: AthAlgorithm.h:79
a
TList * a
Definition: liststreamerinfos.cxx:10
h
Identifier::get_compact
value_type get_compact(void) const
Get the compact id.
LArStripsCrossTalkCorrector::m_dontUseForCorrMask
LArBadChannelMask m_dontUseForCorrMask
Definition: LArStripsCrossTalkCorrector.h:79
ATH_MSG_WARNING
#define ATH_MSG_WARNING(x)
Definition: AthMsgStreamMacros.h:32
LArFebErrorSummary
Holds information from the FEB Error Summary.
Definition: LArFebErrorSummary.h:23
AthCommonMsg< Algorithm >::msg
MsgStream & msg() const
Definition: AthCommonMsg.h:24
LArAccumulatedCalibDigit::isPulsed
bool isPulsed() const
Tell if this channel was pulsed.
Definition: LArAccumulatedCalibDigit.h:141
SG::VarHandleBase::vhKey
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Definition: StoreGate/src/VarHandleBase.cxx:616
declareProperty
#define declareProperty(n, p, h)
Definition: BaseFakeBkgTool.cxx:15
LArElecCalib::ERRORCODE
@ ERRORCODE
Definition: LArCalibErrorCode.h:17
LArDigits2NtupleDumper.nSamples
nSamples
Definition: LArDigits2NtupleDumper.py:70
python.Bindings.keys
keys
Definition: Control/AthenaPython/python/Bindings.py:790
LHEF::Writer
Pythia8::Writer Writer
Definition: Prophecy4fMerger.cxx:12
LArOnlineID_Base::channel_name
std::string channel_name(const HWIdentifier id) const
Return a string corresponding to a feedthrough name given an identifier.
Definition: LArOnlineID_Base.cxx:218
hotSpotInTAG.nb
nb
Definition: hotSpotInTAG.py:164
LArAccumulatedCalibDigitContainer
Container class for LArAccumulatedCalibDigit.
Definition: LArAccumulatedCalibDigitContainer.h:25
python.compressB64.c
def c
Definition: compressB64.py:93
DataVector::size
size_type size() const noexcept
Returns the number of elements in the collection.
AthCommonDataStore::declareGaudiProperty
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition: AthCommonDataStore.h:156
DataVector::empty
bool empty() const noexcept
Returns true if the collection is empty.
fitman.k
k
Definition: fitman.py:528
ServiceHandle< ICondSvc >
LArOnOffIdMapping
Definition: LArOnOffIdMapping.h:20
mapkey::key
key
Definition: TElectronEfficiencyCorrectionTool.cxx:37
LArAccumulatedCalibDigit::DAC
int DAC() const
return the number of samples
Definition: LArAccumulatedCalibDigit.h:135
LArStripsCrossTalkCorrector::m_differences
XtalkCorrHisto m_differences
Definition: LArStripsCrossTalkCorrector.h:124
LArStripsCrossTalkCorrector::m_ADCsatur
Gaudi::Property< unsigned int > m_ADCsatur
Definition: LArStripsCrossTalkCorrector.h:95