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

Class which contains statically allocated LArCellCollections. More...

#include <LArCellCont.h>

Inheritance diagram for LArCellCont:
Collaboration diagram for LArCellCont:

Public Types

typedef LArCellCollection IDENTIFIABLE
 Identifiable definition to be compatible with LArCellIDC. More...
 

Public Member Functions

 LArCellCont ()
 Constructor. More...
 
const std::vector< LArCellCollection * >::const_iterator find (const HWIdentifier &id) const
 Finds a collection by its LArReadoutModuleID. More...
 
const std::vector< LArCellCollection * >::const_iterator find (const unsigned int &id)
 Finds a collection by its ROD ID. More...
 
HWIdentifier findsec (const unsigned int &id) const
 Each Collection contains data from 2 FEBs. More...
 
void applyBCIDCorrection (const unsigned int &rodid)
 method to apply correction based on the luminosity to the energy More...
 
virtual ~LArCellCont ()
 destructor More...
 
StatusCode initialize (const LArRoIMap &roiMap, const LArOnOffIdMapping &onOffMap, const LArMCSym &mcsym, const LArFebRodMapping &febrod, const LArBadChannelCont &badchannel, const CaloDetDescrManager &ddm)
 initialize method. More...
 
StatusCode finalize (void)
 finalize method. More...
 
void eventNumber (const unsigned int eN)
 sets Event Number More...
 
void lumiBlock_BCID (const unsigned int lumi_block, const unsigned int BCID)
 sets LumiBlock and BCID More...
 
const std::vector< uint32_t > & MissingROBs (void)
 List of Missing ROBs. More...
 
bool lumiBCIDCheck (const EventContext &context)
 
void updateBCID (const CaloBCIDAverage &, const LArOnOffIdMapping &)
 update BCID dependent correction table for MT case More...
 

Public Attributes

elements
 STL member. More...
 

Private Attributes

LArRodIdHash m_hash
 Hash ID Identifier mapping to collection index. More...
 
Hid2RESrcID m_conv
 Hardware to Source ID conversion. More...
 
std::vector< HWIdentifierm_second
 FEB Hardware Identifier for second FEBs in a Collection. More...
 
std::vector< unsigned int > m_eventNumber
 eventNumber of a given Collection More...
 
unsigned int m_event
 this event number More...
 
std::vector< DataVector< LArCell > * > m_vecs
 One needs to destroy the TT vectors. More...
 
const ILArBadFebMaskerm_badFebMasker = nullptr
 A tool to help mask cells. More...
 
std::vector< uint32_t > m_MissingROBs
 List of Missing ROBs to be disabled at the RS. More...
 
std::vector< std::vector< int > > m_hashSym
 hash references to BCID More...
 
std::vector< float > m_corrBCID
 corrections for a given BCID More...
 
std::map< HWIdentifier, int > m_indexset
 index table More...
 
float m_lumi_block
 current lumi_block More...
 
unsigned int m_bcid
 
EventIDBase::event_number_t m_bcidEvt
 
bool m_BCIDcache
 flag to only update cache when trying to apply corrections More...
 

Detailed Description

Class which contains statically allocated LArCellCollections.

Definition at line 41 of file LArCellCont.h.

Member Typedef Documentation

◆ IDENTIFIABLE

Identifiable definition to be compatible with LArCellIDC.

Definition at line 47 of file LArCellCont.h.

Constructor & Destructor Documentation

◆ LArCellCont()

LArCellCont::LArCellCont ( )

Constructor.

Does not do anything. Check initialize.

Definition at line 18 of file LArCellCont.cxx.

18  : m_event(0), m_lumi_block(0), m_bcid(5000), m_bcidEvt(5000), m_BCIDcache(false)
19 {}

◆ ~LArCellCont()

virtual LArCellCont::~LArCellCont ( )
inlinevirtual

destructor

Definition at line 74 of file LArCellCont.h.

74 { };

Member Function Documentation

◆ applyBCIDCorrection()

void LArCellCont::applyBCIDCorrection ( const unsigned int &  rodid)

method to apply correction based on the luminosity to the energy

Definition at line 246 of file LArCellCont.cxx.

246  {
247  int idx = m_hash(rodid);
248  std::vector<LArCellCollection*>::const_iterator it = (std::vector<LArCellCollection*>::const_iterator)((*this).begin()+idx);
249  LArCellCollection* col = (*it);
250  unsigned int itsize = col->size();
251  std::vector<int>& hashTab = m_hashSym[idx];
252  for(unsigned int i=0; i< itsize; ++i){
253  float cor = m_corrBCID[ hashTab[i] ];
254  LArCell* cell = col->operator[](i);
255 #ifdef TRIGLARCELLDEBUG
256  std::cout << "LArCellId= " << cell->ID() << " Ecorr= " << cor << " MeV " << std::endl;
257 #endif
258  float cellenergy = cell->energy();
259  cell->setEnergyFast( cellenergy - cor );
260  }
261  return;
262 }

◆ eventNumber()

void LArCellCont::eventNumber ( const unsigned int  eN)
inline

sets Event Number

Definition at line 85 of file LArCellCont.h.

85 { m_event=eN; };

◆ finalize()

StatusCode LArCellCont::finalize ( void  )

finalize method.

Destroys all cells and collections.

Definition at line 208 of file LArCellCont.cxx.

208  {
209 int number_of_col = m_hash.max();
210 for(int i=0;i<number_of_col;i++){
211  int number_of_cell = ((*this)[i])->size();
212  for(int j=0;j<number_of_cell;j++)
213  delete ((*((*this)[i]))[j]);
214  if ((*this)[i] != NULL)
215  delete ((*this)[i]);
216 } // End of for m_hash.max()
217 // Destroy also the vector of vectors to TT maps.
218 for(size_t i=0;i<m_vecs.size();i++){
219  delete m_vecs[i];
220 }
221 for(unsigned int i=0; i< m_hashSym.size(); ++i) (m_hashSym[i]).clear();
222 m_hashSym.clear();
223 return StatusCode::SUCCESS;
224 } // end of finalize

◆ find() [1/2]

const std::vector< LArCellCollection * >::const_iterator LArCellCont::find ( const HWIdentifier id) const

Finds a collection by its LArReadoutModuleID.

Parameters
[in]ReadOutModule ID
Returns
const_iterator to a pointer to LArCellCollection.

Definition at line 228 of file LArCellCont.cxx.

228  {
229  int idx = m_hash(m_conv.getRodIDFromROM (rodid));
230  return (std::vector<LArCellCollection*>::const_iterator)((*this).begin()+idx);
231 }

◆ find() [2/2]

const std::vector< LArCellCollection * >::const_iterator LArCellCont::find ( const unsigned int &  id)

Finds a collection by its ROD ID.

Parameters
[in]ReadOut ID as provided by RegionSelector.
Returns
const_iterator to a pointer to LArCellCollection.

Definition at line 235 of file LArCellCont.cxx.

235  {
236  int idx = m_hash(rodid);
237  if ( m_eventNumber[idx] != m_event ) { // Decoding a new event
239  return (std::vector<LArCellCollection*>::const_iterator)((*this).begin()+idx);
240  // Keep track of last decoded number
241  } else { // Event already decoded. Return Null
242  return (std::vector<LArCellCollection*>::const_iterator)((*this).end());
243  }
244 }

◆ findsec()

HWIdentifier LArCellCont::findsec ( const unsigned int &  id) const

Each Collection contains data from 2 FEBs.

Returns
for each collection the ID of the second FEB.

Definition at line 265 of file LArCellCont.cxx.

265  {
266  int idx = m_hash(rodid);
267  return m_second[idx];
268 }

◆ initialize()

StatusCode LArCellCont::initialize ( const LArRoIMap roiMap,
const LArOnOffIdMapping onOffMap,
const LArMCSym mcsym,
const LArFebRodMapping febrod,
const LArBadChannelCont badchannel,
const CaloDetDescrManager ddm 
)

initialize method.

Builds all cells and collections.

Definition at line 22 of file LArCellCont.cxx.

27  {
28 
29 #ifdef TRIGLARCELLDEBUG
30 std::cout << "LArCellCont \t\t DEBUG \t in initialize" << std::endl;
31 #endif
32 
33  StatusCode sc;
34  ISvcLocator* svcLoc = Gaudi::svcLocator( );
35  IToolSvc* toolSvc = nullptr;
36  sc = svcLoc->service( "ToolSvc",toolSvc);
37  if(sc.isFailure()){
38  std::cout << "LArCellCont:initialize ERROR: Can not retrieve ToolSvc" << std::endl;
39  return StatusCode::FAILURE;
40 }
41 
42  StoreGateSvc* detStore = nullptr;
43  sc=svcLoc->service("DetectorStore",detStore);
44  if(sc.isFailure()){
45  std::cout << "LArCellCont:initialize ERROR: Can not retrieve DetectorStore" << std::endl;
46  return StatusCode::FAILURE;
47  }
48 
49  const LArOnlineID* onlineId = nullptr;
50  sc=detStore->retrieve(onlineId,"LArOnlineID");
51  if(sc.isFailure()){
52  std::cout << "LArCellCont:initialize ERROR: Can not retrieve LArOnlineID" << std::endl;
53  return StatusCode::FAILURE;
54  }
55 
56  sc = m_conv.initialize(febrod);
57  if(sc.isFailure()){
58  std::cout << "Problems to initialize Hid2RESrcID" << std::endl;
59  return StatusCode::FAILURE;
60  }
61  m_hash.initialize(0, febrod.getLArRoModIDvec() );
62 
63  HWIdentifier larrodid(0);
64  for(int i=0;i<m_hash.max();i++){
65 #ifdef TRIGLARCELLDEBUG
66  std::cout << "LArCellCont\t\t DEBUG \t"
67  << i << " " << std::hex << m_hash.identifier(i) << std::dec
68  << std::endl;
69 #endif
70  // A collection per ROD/ROB/HashId
71  LArCellCollection* mycoll = new LArCellCollection(larrodid);
72  mycoll->reserve(256);
73  this->push_back(mycoll);
74  m_second.push_back(HWIdentifier(0));
75  m_eventNumber.push_back(0xFFFFFFFF);
76  } // end of for id
77  // Not anymore necessary
78  //delete larrodid;
79 
80 std::vector<const CaloCellCorrection*> LArCellCorrTools;
81 
82 MakeLArCellFromRaw makeCell;
83 makeCell.setThreshold(-100);
84 makeCell.initialize( roiMap, onOffMap, man, &LArCellCorrTools, 0 );
85 
86 
87 //sc = toolSvc->retrieveTool("LArBadChannelMasker", m_masker);
88 //bool doCellMasking = sc.isSuccess() && m_masker->isMaskingOn();
89 
90 //if(!sc.isSuccess()) //not a critical error. LArCellCont can proceed as usual, without masking.
91 // std::cout << "LArCellCont\t\t INFO \t Failed to retrieve LArBadChannelMasker - no masking will be done." << std::endl;
92 //std::cout << "doCellMasking "<<doCellMasking<<std::endl;
93 
94 sc = toolSvc->retrieveTool("LArBadFebMasker", m_badFebMasker);
95 bool toolAvailable = sc.isSuccess();
96 
97 if(!sc.isSuccess()) //not a critical error. LArCellCont can proceed as usual, without masking.
98  std::cout << "LArCellCont\t\t INFO \t Failed to retrieve LArBadFebMasker - no masking will be done." << std::endl;
99 std::cout <<"toolAvailable "<<toolAvailable<<std::endl;
100 
101 std::vector<uint32_t> RobsFromMissingFeb;
102 
103 //std::map<HWIdentifier,int> m_indexset;
104 int count = 0;
105 std::vector<HWIdentifier>::const_iterator beg = onlineId->channel_begin();
106 std::vector<HWIdentifier>::const_iterator end = onlineId->channel_end ();
107 for( ; beg != end; ++beg ){
108  HWIdentifier hwid = mcsym.ZPhiSymOnl(*beg);
109  if ( m_indexset.try_emplace (hwid, count).second ) {
110  ++count;
111  }
112 } // end of loop over online IDs
113 int indexsetmax = m_indexset.size();
114 // the extra indexsetmax is used for invalid cells
115 m_corrBCID.resize(indexsetmax+1,0.0);
116 
117 for(unsigned int i=0; i< m_hashSym.size(); ++i) (m_hashSym[i]).clear();
118 m_hashSym.clear();
119 m_hashSym.resize(onlineId->febHashMax());
120  for (unsigned iFeb=0;iFeb<onlineId->febHashMax();++iFeb) {
121  const HWIdentifier& febid=onlineId->feb_Id(IdentifierHash(iFeb));
122  if( (toolAvailable && (m_badFebMasker->febMissing(febid)) ) || !toolAvailable ){
123  RobsFromMissingFeb.push_back( m_conv.getRobID( m_conv.getRodID( febrod, febid ) ) );
124  }
125  if( (toolAvailable && !(m_badFebMasker->febMissing(febid)) ) || !toolAvailable ){
126  // get RodID associated with the collection
127  const HWIdentifier& rodId = febrod.getReadoutModuleID(febid);
128  unsigned int rodId32 = m_conv.getRodIDFromROM(rodId);
129  // index in the collection vector
130  int idx = m_hash(rodId32);
131 #ifdef TRIGLARCELLDEBUG
132  std::cout << "LArCellCont\t\t DEBUG \t"
133  << idx << " " << std::hex << m_hash.identifier(idx) << std::dec
134  << std::endl;
135 #endif
136  // get all channels for a FEB
137  std::map<LArRoIMap::TT_ID,std::vector<LArCell* > > collMap;
138  if ( (*this)[idx]->size() != 0 ) { // This is the second FEB
139  m_second[idx] = febid;
140  }
141  std::vector<int>& hashTab = m_hashSym[idx];
142  hashTab.reserve(256);
143  unsigned int febidcomp = febid.get_identifier32().get_compact();
144  for(int ch=0;ch<128;ch++){
145  LArRoIMap::TT_ID ttId;
146  LArCell* larcell = makeCell.getLArCell(febidcomp,ch,0,0,0,ttId);
147  if ( larcell ) { // if it is a good cell
148  // Fixes default value
149  larcell->setGain(CaloGain::LARHIGHGAIN);
150  (*this)[idx]->push_back(larcell);
151  LArBadChannel bc = badchannel.offlineStatus(larcell->ID());
152  bool good(true);
153  if (! bc.good() ){
154  // cell has some specific problems
155  if ( bc.unstable() ) good=false;
156  if ( bc.highNoiseHG() ) good=false;
157  if ( bc.highNoiseMG() ) good=false;
158  if ( bc.highNoiseLG() ) good=false;
159  if ( bc.problematicForUnknownReason() ) good=false;
160  }
161  if ( good ) collMap[ttId].push_back(larcell); // cell masked if not know to be good
162  HWIdentifier hwsym = mcsym.ZPhiSymOnl(onlineId->channel_Id(febid,ch));
163  if ( m_indexset.find( hwsym ) != m_indexset.end() ){
164  int index = (m_indexset.find( hwsym ))->second;
165  hashTab.push_back( index );
166  } else hashTab.push_back(indexsetmax);
167 #ifdef TRIGLARCELLDEBUG
168  std::cout << "Cell registered at Collection "
169  << std::hex << febid.get_identifier32().get_compact() << std::dec <<
170  " Channel " << ch << " TTId " << (unsigned int)ttId
171  << std::endl;
172 #endif
173  }
174  else {// add a dummy cell
175 #ifdef TRIGLARCELLDEBUG
176  std::cout << "Cell not existing" << std::endl;
177 #endif
178  LArCell* larcell = new LArCell();
179  (*this)[idx]->push_back(larcell);
180  hashTab.push_back( indexsetmax);
181  } // end of if bad cell
182  } // end of for ch loop
183  for (const auto& [ttid, cells] : collMap) {
184  // Ones needs to dump the mapped vector to an allocated vector
186  vec->reserve(cells.size());
187  for(LArCell* c : cells)
188  {
189  // if(doCellMasking && m_masker->cellShouldBeMasked(c->ID()) )
190  vec->push_back(c);
191  }
192  (*this)[idx]->setTT(ttid,vec->begin(),vec->end());
193  m_vecs.push_back(vec);
194  }//End of loop over the map
195  } // End of check for missing FEB
196 } // end of FEB for
197 
198 m_MissingROBs.clear();
199 for(size_t i = 0 ; i < RobsFromMissingFeb.size() ; i++)
200 for(size_t j = i+1 ; j < RobsFromMissingFeb.size() ; j++)
201 if ( RobsFromMissingFeb[i] == RobsFromMissingFeb[j] )
202 m_MissingROBs.push_back(RobsFromMissingFeb[i]);
203 RobsFromMissingFeb.clear();
204 
205 return StatusCode::SUCCESS;
206 }

◆ lumiBCIDCheck()

bool LArCellCont::lumiBCIDCheck ( const EventContext &  context)

Definition at line 297 of file LArCellCont.cxx.

297  {
298  uint32_t bcid = context.eventID().bunch_crossing_id();
299  if ( bcid == m_bcid ) return false;
300  EventIDBase::event_number_t evN = context.eventID().event_number();
301  if ( evN == m_bcidEvt ) return false;
302  m_bcid = bcid;
303  m_bcidEvt = evN;
304  return true;
305 }

◆ lumiBlock_BCID()

void LArCellCont::lumiBlock_BCID ( const unsigned int  lumi_block,
const unsigned int  BCID 
)

sets LumiBlock and BCID

Definition at line 270 of file LArCellCont.cxx.

270  {
271  if ( m_bcid != BCID ) {
272 #ifdef TRIGLARCELLDEBUG
273  std::cout << "Update : CURRENT lumi_block, BCID = " << lumi_block << ", " << BCID << " <--> PREVIOUS lumi_block = " << m_lumi_block << ", " << m_bcid << std::endl;
274 #endif
275  m_lumi_block = lumi_block; m_bcid = BCID;
276  m_BCIDcache=false;
277  }
278 }

◆ MissingROBs()

const std::vector<uint32_t>& LArCellCont::MissingROBs ( void  )
inline

List of Missing ROBs.

Definition at line 90 of file LArCellCont.h.

90  {
91  return m_MissingROBs;
92  }

◆ updateBCID()

void LArCellCont::updateBCID ( const CaloBCIDAverage avg,
const LArOnOffIdMapping onoff 
)

update BCID dependent correction table for MT case

Definition at line 280 of file LArCellCont.cxx.

280  {
281 
282  std::map<HWIdentifier,int>::const_iterator end = m_indexset.end ();
283 
284  std::map<HWIdentifier,int>::const_iterator beg = m_indexset.begin();
285  for( ; beg != end ; ++beg ) {
286  HWIdentifier hwid = (*beg).first;
287  int idx = (*beg).second;
288  if ( idx < (int)m_corrBCID.size() ){
289  Identifier id = onoff.cnvToIdentifier(hwid);
290  float corr = avg.average(id);
291  m_corrBCID[idx] = corr;
292  }
293  } // end of HWID
294  return;
295 }

Member Data Documentation

◆ elements

T std::vector< T >::elements
inherited

STL member.

◆ m_badFebMasker

const ILArBadFebMasker* LArCellCont::m_badFebMasker = nullptr
private

A tool to help mask cells.

A tool to help mask febs

Definition at line 117 of file LArCellCont.h.

◆ m_bcid

unsigned int LArCellCont::m_bcid
private

Definition at line 128 of file LArCellCont.h.

◆ m_BCIDcache

bool LArCellCont::m_BCIDcache
private

flag to only update cache when trying to apply corrections

Definition at line 132 of file LArCellCont.h.

◆ m_bcidEvt

EventIDBase::event_number_t LArCellCont::m_bcidEvt
private

Definition at line 129 of file LArCellCont.h.

◆ m_conv

Hid2RESrcID LArCellCont::m_conv
private

Hardware to Source ID conversion.

Definition at line 103 of file LArCellCont.h.

◆ m_corrBCID

std::vector<float> LArCellCont::m_corrBCID
private

corrections for a given BCID

Definition at line 123 of file LArCellCont.h.

◆ m_event

unsigned int LArCellCont::m_event
private

this event number

Definition at line 110 of file LArCellCont.h.

◆ m_eventNumber

std::vector<unsigned int> LArCellCont::m_eventNumber
private

eventNumber of a given Collection

Definition at line 108 of file LArCellCont.h.

◆ m_hash

LArRodIdHash LArCellCont::m_hash
private

Hash ID Identifier mapping to collection index.

Definition at line 101 of file LArCellCont.h.

◆ m_hashSym

std::vector< std::vector<int> > LArCellCont::m_hashSym
private

hash references to BCID

Definition at line 121 of file LArCellCont.h.

◆ m_indexset

std::map<HWIdentifier,int> LArCellCont::m_indexset
private

index table

Definition at line 125 of file LArCellCont.h.

◆ m_lumi_block

float LArCellCont::m_lumi_block
private

current lumi_block

Definition at line 127 of file LArCellCont.h.

◆ m_MissingROBs

std::vector<uint32_t> LArCellCont::m_MissingROBs
private

List of Missing ROBs to be disabled at the RS.

Definition at line 119 of file LArCellCont.h.

◆ m_second

std::vector<HWIdentifier> LArCellCont::m_second
private

FEB Hardware Identifier for second FEBs in a Collection.

Definition at line 106 of file LArCellCont.h.

◆ m_vecs

std::vector<DataVector<LArCell>*> LArCellCont::m_vecs
private

One needs to destroy the TT vectors.

Definition at line 112 of file LArCellCont.h.


The documentation for this class was generated from the following files:
DataVector::reserve
void reserve(size_type n)
Attempt to preallocate enough memory for a specified number of elements.
Hid2RESrcID::getRobID
uint32_t getRobID(uint32_t rod_id) const
Make a ROB Source ID from a ROD source ID.
Definition: Hid2RESrcID.cxx:100
RunTileCalibRec.cells
cells
Definition: RunTileCalibRec.py:271
python.SystemOfUnits.second
int second
Definition: SystemOfUnits.py:120
LArBadChannel::good
bool good() const
Returns true if no problems at all (all bits at zero)
Definition: LArBadChannel.h:89
sendEI_SPB.ch
ch
Definition: sendEI_SPB.py:35
MakeLArCellFromRaw::getLArCell
LArCell * getLArCell(unsigned int feb, unsigned int chan, int e, int t, int q, CaloGain::CaloGain caloGain, unsigned int &ttId) const
access by Identifier
Definition: MakeLArCellFromRaw.cxx:282
LArCellCont::m_hash
LArRodIdHash m_hash
Hash ID Identifier mapping to collection index.
Definition: LArCellCont.h:101
ReadCellNoiseFromCool.cell
cell
Definition: ReadCellNoiseFromCool.py:53
LArOnlineID_Base::febHashMax
size_type febHashMax(void) const
define feb hash tables max size
Definition: LArOnlineID_Base.cxx:1896
LArFebRodMapping::getReadoutModuleID
HWIdentifier getReadoutModuleID(const HWIdentifier &id) const
Definition: LArFebRodMapping.cxx:15
LArRodIdHash::initialize
void initialize(int offset, const std::vector< HWIdentifier > &roms)
Initialize.
Definition: LArRodIdHash.cxx:20
CaloCellPos2Ntuple.int
int
Definition: CaloCellPos2Ntuple.py:24
LArCellCont::m_BCIDcache
bool m_BCIDcache
flag to only update cache when trying to apply corrections
Definition: LArCellCont.h:132
SG::VIEW_ELEMENTS
@ VIEW_ELEMENTS
this data object is a view, it does not own its elmts
Definition: OwnershipPolicy.h:18
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
LArRodIdHash::identifier
ID identifier(int i) const
reverse conversion
Definition: LArRodIdHash.cxx:65
index
Definition: index.py:1
LArCellCont::m_second
std::vector< HWIdentifier > m_second
FEB Hardware Identifier for second FEBs in a Collection.
Definition: LArCellCont.h:106
Hid2RESrcID::getRodID
uint32_t getRodID(const LArFebRodMapping &rodMapping, const HWIdentifier &hid) const
make a ROD SrcID for a HWIdentifier
Definition: Hid2RESrcID.cxx:88
MakeLArCellFromRaw
Building LArCell objects from LArRawChannel.
Definition: MakeLArCellFromRaw.h:31
skel.it
it
Definition: skel.GENtoEVGEN.py:423
ILArBadFebMasker::febMissing
virtual bool febMissing(const HWIdentifier &febId) const =0
LArCellCont::m_eventNumber
std::vector< unsigned int > m_eventNumber
eventNumber of a given Collection
Definition: LArCellCont.h:108
vec
std::vector< size_t > vec
Definition: CombinationsGeneratorTest.cxx:12
LArBadChannel::highNoiseHG
bool highNoiseHG() const
Definition: LArBadChannel.h:115
HWIdentifier
Definition: HWIdentifier.h:13
LArBadXCont::offlineStatus
LArBC_t offlineStatus(const Identifier id) const
Query the status of a particular channel by offline ID This is the main client access method.
LArOnlineID_Base::channel_end
id_iterator channel_end() const
Definition: LArOnlineID_Base.cxx:1931
XMLtoHeader.count
count
Definition: XMLtoHeader.py:85
AthenaPoolTestRead.sc
sc
Definition: AthenaPoolTestRead.py:27
mergePhysValFiles.end
end
Definition: DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py:93
MakeLArCellFromRaw::initialize
void initialize(const LArRoIMap &roiMap, const LArOnOffIdMapping &onOffMap, const CaloDetDescrManager &man, const std::vector< const CaloCellCorrection * > *pCorr, unsigned int poolMaxSize=190000)
initialize the internal map
Definition: MakeLArCellFromRaw.cxx:45
PixelByteStreamErrors::BCID
@ BCID
Definition: PixelByteStreamErrors.h:13
python.setupRTTAlg.size
int size
Definition: setupRTTAlg.py:39
event_number_t
EventIDBase::event_number_t event_number_t
Definition: IEvtIdModifierSvc.h:30
StoreGateSvc
The Athena Transient Store API.
Definition: StoreGateSvc.h:128
Identifier32::get_compact
value_type get_compact(void) const
Get the compact id.
Definition: Identifier32.h:171
lumiFormat.i
int i
Definition: lumiFormat.py:92
LArCellCont::m_lumi_block
float m_lumi_block
current lumi_block
Definition: LArCellCont.h:127
python.LArBadChannelDBAlg.xFFFFFFFF
xFFFFFFFF
Definition: LArBadChannelDBAlg.py:73
LArCellCont::m_event
unsigned int m_event
this event number
Definition: LArCellCont.h:110
Identifier
Definition: DetectorDescription/Identifier/Identifier/Identifier.h:32
LArBadChannel::problematicForUnknownReason
bool problematicForUnknownReason() const
Definition: LArBadChannel.h:125
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
Recovery.avg
def avg(a, b)
Definition: Recovery.py:79
Hid2RESrcID::initialize
StatusCode initialize(const LArFebRodMapping &rodMapping)
Definition: Hid2RESrcID.cxx:38
LArCellCont::m_bcidEvt
EventIDBase::event_number_t m_bcidEvt
Definition: LArCellCont.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
LArMCSym::ZPhiSymOnl
HWIdentifier ZPhiSymOnl(const HWIdentifier notSymOnlId) const
Find the symmetric HWID for an online channel identifier.
Definition: LArMCSym.h:91
CaloCell::setGain
void setGain(CaloGain::CaloGain gain=CaloGain::INVALIDGAIN)
set gain
Definition: CaloCell.cxx:173
DataVector< LArCell >
LArCellCont::m_badFebMasker
const ILArBadFebMasker * m_badFebMasker
A tool to help mask cells.
Definition: LArCellCont.h:117
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
python.PyKernel.detStore
detStore
Definition: PyKernel.py:41
LArFebRodMapping::getLArRoModIDvec
const std::vector< HWIdentifier > & getLArRoModIDvec() const
"iterator" on LArReadoutModuleIDs
Definition: LArFebRodMapping.h:46
LArCellCollection
Container Class for LArCell in a ROB used by EF.
Definition: LArCellCollection.h:28
WriteBchToCool.beg
beg
Definition: WriteBchToCool.py:69
LArCellCont::m_corrBCID
std::vector< float > m_corrBCID
corrections for a given BCID
Definition: LArCellCont.h:123
Hid2RESrcID::getRodIDFromROM
uint32_t getRodIDFromROM(const COLLECTION_ID &hid) const
make a ROD SrcID for a COLLECTION_ID
Definition: Hid2RESrcID.cxx:75
LArOnlineID
Definition: LArOnlineID.h:20
LArCell
Data object for LAr calorimeter readout cell.
Definition: LArCell.h:53
xAOD::bcid
setEventNumber setTimeStamp bcid
Definition: EventInfo_v1.cxx:133
LArBadChannel::highNoiseLG
bool highNoiseLG() const
Definition: LArBadChannel.h:121
CaloCell::ID
Identifier ID() const
get ID (from cached data member) non-virtual and inline for fast access
Definition: CaloCell.h:279
LArCellCont::m_conv
Hid2RESrcID m_conv
Hardware to Source ID conversion.
Definition: LArCellCont.h:103
CaloGain::LARHIGHGAIN
@ LARHIGHGAIN
Definition: CaloGain.h:18
query_example.col
col
Definition: query_example.py:7
LArRodIdHash::max
int max() const
return maximum number of IDs
Definition: LArRodIdHash.cxx:82
LArCellCont::m_bcid
unsigned int m_bcid
Definition: LArCellCont.h:128
MakeLArCellFromRaw::setThreshold
void setThreshold(float t)
Definition: MakeLArCellFromRaw.cxx:351
ReadBchFromCool.good
good
Definition: ReadBchFromCool.py:433
LArCellCont::m_vecs
std::vector< DataVector< LArCell > * > m_vecs
One needs to destroy the TT vectors.
Definition: LArCellCont.h:112
LArBadChannel::unstable
bool unstable() const
Definition: LArBadChannel.h:112
LArOnOffIdMapping::cnvToIdentifier
Identifier cnvToIdentifier(const HWIdentifier &sid) const
create an Identifier from a HWIdentifier (inline)
Definition: LArOnOffIdMapping.h:116
LArCellCont::m_indexset
std::map< HWIdentifier, int > m_indexset
index table
Definition: LArCellCont.h:125
LArRoIMap::TT_ID
unsigned int TT_ID
Definition: LArRoIMap.h:34
LArNewCalib_DelayDump_OFC_Cali.idx
idx
Definition: LArNewCalib_DelayDump_OFC_Cali.py:69
LArBadChannel::highNoiseMG
bool highNoiseMG() const
Definition: LArBadChannel.h:118
LArCellCont::m_MissingROBs
std::vector< uint32_t > m_MissingROBs
List of Missing ROBs to be disabled at the RS.
Definition: LArCellCont.h:119
LArCellCont::m_hashSym
std::vector< std::vector< int > > m_hashSym
hash references to BCID
Definition: LArCellCont.h:121
IdentifierHash
Definition: IdentifierHash.h:38
Identifier::get_identifier32
Identifier32 get_identifier32(void) const
Get the 32-bit version Identifier, will be invalid if >32 bits needed.
python.compressB64.c
def c
Definition: compressB64.py:93
LArOnlineID_Base::channel_begin
id_iterator channel_begin() const
Returns an iterator pointing to a channel identifier collection.
Definition: LArOnlineID_Base.cxx:1926