![]() |
ATLAS Offline Software
|
Class which contains statically allocated LArCellCollections. More...
#include <LArCellCont.h>
Public Types | |
| typedef LArCellCollection | IDENTIFIABLE |
| Identifiable definition to be compatible with LArCellIDC. | |
Public Member Functions | |
| LArCellCont () | |
| Constructor. | |
| const std::vector< LArCellCollection * >::const_iterator | find (const HWIdentifier &id) const |
| Finds a collection by its LArReadoutModuleID. | |
| const std::vector< LArCellCollection * >::const_iterator | find (const unsigned int &id) |
| Finds a collection by its ROD ID. | |
| HWIdentifier | findsec (const unsigned int &id) const |
| Each Collection contains data from 2 FEBs. | |
| void | applyBCIDCorrection (const unsigned int &rodid) |
| method to apply correction based on the luminosity to the energy | |
| virtual | ~LArCellCont () |
| destructor | |
| StatusCode | initialize (const LArRoIMap &roiMap, const LArOnOffIdMapping &onOffMap, const LArMCSym &mcsym, const LArFebRodMapping &febrod, const LArBadChannelCont &badchannel, const CaloDetDescrManager &ddm) |
| initialize method. | |
| StatusCode | finalize (void) |
| finalize method. | |
| void | eventNumber (const unsigned int eN) |
| sets Event Number | |
| void | lumiBlock_BCID (const unsigned int lumi_block, const unsigned int BCID) |
| sets LumiBlock and BCID | |
| const std::vector< uint32_t > & | MissingROBs (void) |
| List of Missing ROBs. | |
| bool | lumiBCIDCheck (const EventContext &context) |
| void | updateBCID (const CaloBCIDAverage &, const LArOnOffIdMapping &) |
| update BCID dependent correction table for MT case | |
Public Attributes | |
| T | elements |
| STL member. | |
Private Attributes | |
| LArRodIdHash | m_hash |
| Hash ID Identifier mapping to collection index. | |
| Hid2RESrcID | m_conv |
| Hardware to Source ID conversion. | |
| std::vector< HWIdentifier > | m_second |
| FEB Hardware Identifier for second FEBs in a Collection. | |
| std::vector< unsigned int > | m_eventNumber |
| eventNumber of a given Collection | |
| unsigned int | m_event |
| this event number | |
| std::vector< DataVector< LArCell > * > | m_vecs |
| One needs to destroy the TT vectors. | |
| const ILArBadFebMasker * | m_badFebMasker = nullptr |
| A tool to help mask cells. | |
| std::vector< uint32_t > | m_MissingROBs |
| List of Missing ROBs to be disabled at the RS. | |
| std::vector< std::vector< int > > | m_hashSym |
| hash references to BCID | |
| std::vector< float > | m_corrBCID |
| corrections for a given BCID | |
| std::map< HWIdentifier, int > | m_indexset |
| index table | |
| float | m_lumi_block |
| current lumi_block | |
| unsigned int | m_bcid |
| EventIDBase::event_number_t | m_bcidEvt |
| bool | m_BCIDcache |
| flag to only update cache when trying to apply corrections | |
Class which contains statically allocated LArCellCollections.
Definition at line 39 of file LArCellCont.h.
Identifiable definition to be compatible with LArCellIDC.
Definition at line 45 of file LArCellCont.h.
| LArCellCont::LArCellCont | ( | ) |
Constructor.
Does not do anything. Check initialize.
Definition at line 18 of file LArCellCont.cxx.
|
inlinevirtual |
| void LArCellCont::applyBCIDCorrection | ( | const unsigned int & | rodid | ) |
method to apply correction based on the luminosity to the energy
Definition at line 219 of file LArCellCont.cxx.
|
inline |
| StatusCode LArCellCont::finalize | ( | void | ) |
finalize method.
Destroys all cells and collections.
Definition at line 181 of file LArCellCont.cxx.
| const std::vector< LArCellCollection * >::const_iterator LArCellCont::find | ( | const HWIdentifier & | id | ) | const |
Finds a collection by its LArReadoutModuleID.
| [in] | ReadOut | Module ID |
const_iterator to a pointer to LArCellCollection. Definition at line 201 of file LArCellCont.cxx.
| const std::vector< LArCellCollection * >::const_iterator LArCellCont::find | ( | const unsigned int & | id | ) |
Finds a collection by its ROD ID.
| [in] | Read | Out ID as provided by RegionSelector. |
const_iterator to a pointer to LArCellCollection. Definition at line 208 of file LArCellCont.cxx.
| HWIdentifier LArCellCont::findsec | ( | const unsigned int & | id | ) | const |
Each Collection contains data from 2 FEBs.
Definition at line 238 of file LArCellCont.cxx.
| 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.
| bool LArCellCont::lumiBCIDCheck | ( | const EventContext & | context | ) |
Definition at line 270 of file LArCellCont.cxx.
| void LArCellCont::lumiBlock_BCID | ( | const unsigned int | lumi_block, |
| const unsigned int | BCID ) |
sets LumiBlock and BCID
Definition at line 243 of file LArCellCont.cxx.
|
inline |
List of Missing ROBs.
Definition at line 88 of file LArCellCont.h.
| void LArCellCont::updateBCID | ( | const CaloBCIDAverage & | avg, |
| const LArOnOffIdMapping & | onoff ) |
update BCID dependent correction table for MT case
Definition at line 253 of file LArCellCont.cxx.
|
inherited |
STL member.
|
private |
|
private |
Definition at line 126 of file LArCellCont.h.
|
private |
flag to only update cache when trying to apply corrections
Definition at line 130 of file LArCellCont.h.
|
private |
Definition at line 127 of file LArCellCont.h.
|
private |
Hardware to Source ID conversion.
Definition at line 101 of file LArCellCont.h.
|
private |
corrections for a given BCID
Definition at line 121 of file LArCellCont.h.
|
private |
this event number
Definition at line 108 of file LArCellCont.h.
|
private |
eventNumber of a given Collection
Definition at line 106 of file LArCellCont.h.
|
private |
Hash ID Identifier mapping to collection index.
Definition at line 99 of file LArCellCont.h.
|
private |
hash references to BCID
Definition at line 119 of file LArCellCont.h.
|
private |
index table
Definition at line 123 of file LArCellCont.h.
|
private |
current lumi_block
Definition at line 125 of file LArCellCont.h.
|
private |
List of Missing ROBs to be disabled at the RS.
Definition at line 117 of file LArCellCont.h.
|
private |
FEB Hardware Identifier for second FEBs in a Collection.
Definition at line 104 of file LArCellCont.h.
|
private |
One needs to destroy the TT vectors.
Definition at line 110 of file LArCellCont.h.