![]() |
ATLAS Offline Software
|
This class provides conversion between ROD data and LArRawChannels. More...
#include <LArRodDecoder.h>
Public Member Functions | |
| LArRodDecoder (const std::string &type, const std::string &name, const IInterface *parent) | |
| Constructor Standard AlgTool constructor. | |
| virtual | ~LArRodDecoder () |
| Destructor. | |
| virtual StatusCode initialize | ATLAS_NOT_THREAD_SAFE () override |
| void | setsecfeb (HWIdentifier feb) |
| uint32_t | fillCollectionHLT (const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment &robFrag, const uint32_t *p, uint32_t n, LArCellCollection &coll, LArRodBlockStructure *&providedRodBlockStructure, uint16_t &rodMinorVersion, uint32_t &robBlockType) const |
| void | fillCollection (const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment &robFrag, const uint32_t *p, uint32_t n, LArRawChannelContainer &coll, const CaloGain::CaloGain gain) const |
| template<class T> | |
| bool | check_valid (const T *frag, MsgStream &log) const |
| ServiceHandle< StoreGateSvc > & | evtStore () |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. | |
| const ServiceHandle< StoreGateSvc > & | detStore () const |
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc. | |
| virtual StatusCode | sysInitialize () override |
| Perform system initialization for an algorithm. | |
| virtual StatusCode | sysStart () override |
| Handle START transition. | |
| virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
| Return this algorithm's input handles. | |
| virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
| Return this algorithm's output handles. | |
| Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T, V, H > &t) |
| void | updateVHKA (Gaudi::Details::PropertyBase &) |
| MsgStream & | msg () const |
| bool | msgLvl (const MSG::Level lvl) const |
Static Public Member Functions | |
| static const InterfaceID & | interfaceID () |
Protected Member Functions | |
| void | renounceArray (SG::VarHandleKeyArray &handlesArray) |
| remove all handles from I/O resolution | |
| 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. | |
Private Types | |
| typedef ServiceHandle< StoreGateSvc > | StoreGateSvc_t |
Private Member Functions | |
| LArRodBlockStructure * | prepareBlockStructure1 (const uint16_t rodMinorVersion, const uint32_t robBlockType) const |
| LArRodBlockStructure * | prepareBlockStructure (const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment &robFrag, const uint32_t *p, uint32_t n, const CaloGain::CaloGain RequestedGain) const |
| std::unique_ptr< LArRodBlockStructure > | makeBlockStructure (unsigned int rodBlockType, unsigned int rodMinorVersion) const |
| void | setCellEnergy (LArCell *element, int energy, int time, int quality, CaloGain::CaloGain gain) const |
| void | writeFebInfo (LArCellCollection &m_coll, LArFebEnergy &febene) const |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> | |
Private Attributes | |
| SG::ReadHandleKey< xAOD::EventInfo > | m_evt {this, "EvtInfo", "EventInfo", "EventInfo name"} |
| float | m_LArCellEthreshold |
| bool | m_readtdc |
| bool | m_febExchange |
| unsigned int | m_febId1 |
| unsigned int | m_febId2 |
| unsigned int | m_febIdHLT = 0U |
| int | m_firstSample |
| std::vector< int > | m_vFTPreselection |
| std::vector< int > | m_vBEPreselection |
| std::vector< int > | m_vPosNegPreselection |
| std::vector< unsigned int > | m_vFinalPreselection |
| uint32_t | m_StatusMask |
| uint32_t | m_StatusNMask = 0U |
| const LArOnlineID * | m_onlineHelper |
| std::vector< std::string > | m_LArCellCorrNames |
| std::vector< unsigned int > | m_IgnoreCheckFEBs |
| std::vector< const CaloCellCorrection * > | m_LArCellCorrTools |
| double | m_delayScale |
| SG::SlotSpecificObj< std::vector< std::unique_ptr< LArRodBlockStructure > > > m_blstructs | ATLAS_THREAD_SAFE |
| bool | m_MultiDSPMode |
| bool | m_CheckSum |
| unsigned short | m_requiredPhysicsNSamples |
| StoreGateSvc_t | m_evtStore |
| Pointer to StoreGate (event store by default). | |
| StoreGateSvc_t | m_detStore |
| Pointer to StoreGate (detector store by default). | |
| std::vector< SG::VarHandleKeyArray * > | m_vhka |
| bool | m_varHandleArraysDeclared |
This class provides conversion between ROD data and LArRawChannels.
Modified, Dec 4, 2002 Create either LArRawChannel or LArCell.
Modified, Jan 02, 2003 Moved Encoding part to LArROD_Encoder.
Modified, Jul 23, 2003 by R. Lafaye Added LArDigit support Build on the same structure as LArROD_Encoder No longer an AlgTool
Modified, Aug 5 2003 by W. Lampl Have now functionality to decode:
Modified, Aug 7 2003 by W. Lampl Made a template-function for LArRawChannelCollection and LArRawCellCollection
Modified, Aug 17 2003 by W. Lampl Introduce ability to decode different ROD format versions by using a map of LArRodBlockStructures
Modified, Sept 9 2003 by W. Lampl Change implementation of multiple-version feature. A ROD block type/version is now written as second word of the fragment. Replace std::map by c-style array to increase performance
Modified, Sept 28 2003 by W. Lampl Adapt for new constructor of LArRawChannels. (Needs also gain as parameter)
Modified, November 10 2005 by D.O. Damazio Inclusion of new RodBlock format (Bertrand Laforge). Inclusion of methods for fast decoding of data.
Modified,January 04 2006 by I. Wingerter Inclusion of Accumulated Calib Digit
Modified, May 03 2006 by I. Aracena Inclusion of fillCollectionHLTFeb
Modified, Dec 03 2006 by G. Rosenbaum Loop over all possible pusled calib lines and make isPulsed int which stores which lines 1-4 have been pulsed. (needed for HEC)
Modified Aug 16 2009 by W. Lampl Remove internal accumlation of LArAccumulatedCalibDigit. They are now put in the event store for each substep and contain only data of this substep.
Definition at line 127 of file LArRodDecoder.h.
|
privateinherited |
Definition at line 376 of file AthCommonDataStore.h.
| LArRodDecoder::LArRodDecoder | ( | const std::string & | type, |
| const std::string & | name, | ||
| const IInterface * | parent ) |
Constructor Standard AlgTool constructor.
Definition at line 26 of file LArRodDecoder.cxx.
|
virtual |
|
overridevirtual |
|
inline |
Definition at line 215 of file LArRodDecoder.h.
|
inlineprivateinherited |
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
|
inlineinherited |
Definition at line 145 of file AthCommonDataStore.h.
|
inlineinherited |
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 95 of file AthCommonDataStore.h.
|
inlineinherited |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 85 of file AthCommonDataStore.h.
|
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
| void LArRodDecoder::fillCollection | ( | const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment & | robFrag, |
| const uint32_t * | p, | ||
| uint32_t | n, | ||
| LArRawChannelContainer & | coll, | ||
| const CaloGain::CaloGain | gain ) const |
Definition at line 127 of file LArRodDecoder.cxx.
|
inline |
Definition at line 233 of file LArRodDecoder.h.
|
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.
|
static |
Definition at line 57 of file LArRodDecoder.cxx.
|
private |
Definition at line 293 of file LArRodDecoder.cxx.
|
inlineinherited |
Definition at line 24 of file AthCommonMsg.h.
|
inlineinherited |
Definition at line 30 of file AthCommonMsg.h.
|
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.
|
private |
Definition at line 252 of file LArRodDecoder.cxx.
|
private |
Definition at line 218 of file LArRodDecoder.cxx.
|
inlineprotectedinherited |
Definition at line 368 of file AthCommonDataStore.h.
|
inlineprotectedinherited |
remove all handles from I/O resolution
Definition at line 352 of file AthCommonDataStore.h.
|
inlineprivate |
Definition at line 342 of file LArRodDecoder.h.
|
inline |
Definition at line 145 of file LArRodDecoder.h.
|
overridevirtualinherited |
Perform system initialization for an algorithm.
We override this to declare all the elements of handle key arrays at the end of initialization. See comments on updateVHKA.
Reimplemented in asg::AsgMetadataTool, AthCheckedComponent< AthAlgTool >, and AthCheckedComponent<::AthAlgTool >.
|
overridevirtualinherited |
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
|
inlineinherited |
Definition at line 298 of file AthCommonDataStore.h.
|
inlineprivate |
Definition at line 350 of file LArRodDecoder.h.
|
mutableprivate |
Definition at line 207 of file LArRodDecoder.h.
|
private |
Definition at line 210 of file LArRodDecoder.h.
|
private |
Definition at line 205 of file LArRodDecoder.h.
|
privateinherited |
Pointer to StoreGate (detector store by default).
Definition at line 381 of file AthCommonDataStore.h.
|
private |
Definition at line 181 of file LArRodDecoder.h.
|
privateinherited |
Pointer to StoreGate (event store by default).
Definition at line 378 of file AthCommonDataStore.h.
|
private |
Definition at line 184 of file LArRodDecoder.h.
|
private |
Definition at line 185 of file LArRodDecoder.h.
|
private |
Definition at line 185 of file LArRodDecoder.h.
|
private |
Definition at line 185 of file LArRodDecoder.h.
|
private |
Definition at line 187 of file LArRodDecoder.h.
|
private |
Definition at line 202 of file LArRodDecoder.h.
|
private |
Definition at line 201 of file LArRodDecoder.h.
|
private |
Definition at line 203 of file LArRodDecoder.h.
|
private |
Definition at line 182 of file LArRodDecoder.h.
|
private |
Definition at line 209 of file LArRodDecoder.h.
|
private |
Definition at line 200 of file LArRodDecoder.h.
|
private |
Definition at line 183 of file LArRodDecoder.h.
|
private |
Definition at line 211 of file LArRodDecoder.h.
|
private |
Definition at line 199 of file LArRodDecoder.h.
|
private |
Definition at line 199 of file LArRodDecoder.h.
|
privateinherited |
Definition at line 387 of file AthCommonDataStore.h.
|
private |
Definition at line 196 of file LArRodDecoder.h.
|
private |
Definition at line 198 of file LArRodDecoder.h.
|
private |
Definition at line 195 of file LArRodDecoder.h.
|
privateinherited |
Definition at line 386 of file AthCommonDataStore.h.
|
private |
Definition at line 197 of file LArRodDecoder.h.