ATLAS Offline Software
Loading...
Searching...
No Matches
FullEventAssembler< IDMAP > Class Template Reference

Template class for assembling a full atlas raw event from subfragments. More...

#include <FullEventAssembler.h>

Inheritance diagram for FullEventAssembler< IDMAP >:
Collaboration diagram for FullEventAssembler< IDMAP >:

Public Types

using IDMAP_t = IDMAP
 type for Identifier mapping
using RODDATA = std::vector<uint32_t>
 ROD data as a vector of unsigned int.
using RODMAP = std::map< uint32_t, RODDATA* >
 map of ROD data, indexed by ROD ids
using ROBMAP = std::map< uint32_t, OFFLINE_FRAGMENTS_NAMESPACE_WRITE::ROBFragment* >
 map of ROB data, indexed by ROB ids

Public Member Functions

 FullEventAssembler ()
 ~FullEventAssembler ()
RODDATAgetRodData (uint32_t id)
 get a block of ROD data
void fill (RawEventWrite *re, MsgStream &log)
 Fill the FullEventFragment with all the ROD data stored in this.
RODMAP::const_iterator begin () const
 begin iterator for all existing ROD
RODMAP::const_iterator end () const
 end iterator for all existing ROD
void setRodMinorVersion (uint16_t m)
 change the ROD minor version
void setRobMinorVersion (uint16_t m)
 change the ROB minor version
void setDetEvtType (uint32_t m)
 change Detector Event Type
void setLvl1TriggerType (uint8_t m)
 change LVL1 Trigger Type
IDMAP_tidMap ()
 Return reference to IDMAP.
void clear ()
 Clear internal stack.

Private Member Functions

void RodToRob (RODMAP &rodMap, ROBMAP &robMap, MsgStream &log) const
 converting from ROD to ROB
void RobToEvt (ROBMAP &robMap, RawEventWrite *re, MsgStream &log) const
 converting from SubDetector to FullEvent

Private Attributes

IDMAP_t m_idmap
RODMAP m_rodMap
ROBMAP m_robMap
uint32_t m_runnum
uint32_t m_lvl1_id
uint16_t m_rod_version
uint16_t m_rob_version
uint32_t m_detEvtType
uint8_t m_lvl1_trigger_type
uint16_t m_bcid

Detailed Description

template<class IDMAP = SrcIdMap>
class FullEventAssembler< IDMAP >

Template class for assembling a full atlas raw event from subfragments.

Definition at line 38 of file FullEventAssembler.h.

Member Typedef Documentation

◆ IDMAP_t

template<class IDMAP = SrcIdMap>
using FullEventAssembler< IDMAP >::IDMAP_t = IDMAP

type for Identifier mapping

Definition at line 48 of file FullEventAssembler.h.

◆ ROBMAP

template<class IDMAP = SrcIdMap>
using FullEventAssembler< IDMAP >::ROBMAP = std::map< uint32_t, OFFLINE_FRAGMENTS_NAMESPACE_WRITE::ROBFragment* >

map of ROB data, indexed by ROB ids

Definition at line 60 of file FullEventAssembler.h.

◆ RODDATA

template<class IDMAP = SrcIdMap>
using FullEventAssembler< IDMAP >::RODDATA = std::vector<uint32_t>

ROD data as a vector of unsigned int.

Definition at line 52 of file FullEventAssembler.h.

◆ RODMAP

template<class IDMAP = SrcIdMap>
using FullEventAssembler< IDMAP >::RODMAP = std::map< uint32_t, RODDATA* >

map of ROD data, indexed by ROD ids

Definition at line 56 of file FullEventAssembler.h.

Constructor & Destructor Documentation

◆ FullEventAssembler()

template<class IDMAP = SrcIdMap>
FullEventAssembler< IDMAP >::FullEventAssembler ( )

◆ ~FullEventAssembler()

template<class IDMAP = SrcIdMap>
FullEventAssembler< IDMAP >::~FullEventAssembler ( )

Member Function Documentation

◆ begin()

template<class IDMAP = SrcIdMap>
RODMAP::const_iterator FullEventAssembler< IDMAP >::begin ( ) const

begin iterator for all existing ROD

◆ clear()

template<class IDMAP = SrcIdMap>
void FullEventAssembler< IDMAP >::clear ( )
virtual

Clear internal stack.

Implements FullEventAssemblerBase.

◆ end()

template<class IDMAP = SrcIdMap>
RODMAP::const_iterator FullEventAssembler< IDMAP >::end ( ) const

end iterator for all existing ROD

◆ fill()

template<class IDMAP = SrcIdMap>
void FullEventAssembler< IDMAP >::fill ( RawEventWrite * re,
MsgStream & log )
virtual

Fill the FullEventFragment with all the ROD data stored in this.

Implements FullEventAssemblerBase.

◆ getRodData()

template<class IDMAP = SrcIdMap>
RODDATA * FullEventAssembler< IDMAP >::getRodData ( uint32_t id)

get a block of ROD data

if it does not exist, create it the users is supposed to fill the container with data.

◆ idMap()

template<class IDMAP = SrcIdMap>
IDMAP_t & FullEventAssembler< IDMAP >::idMap ( )

Return reference to IDMAP.

◆ RobToEvt()

template<class IDMAP = SrcIdMap>
void FullEventAssembler< IDMAP >::RobToEvt ( ROBMAP & robMap,
RawEventWrite * re,
MsgStream & log ) const
private

converting from SubDetector to FullEvent

◆ RodToRob()

template<class IDMAP = SrcIdMap>
void FullEventAssembler< IDMAP >::RodToRob ( RODMAP & rodMap,
ROBMAP & robMap,
MsgStream & log ) const
private

converting from ROD to ROB

◆ setDetEvtType()

template<class IDMAP = SrcIdMap>
void FullEventAssembler< IDMAP >::setDetEvtType ( uint32_t m)

change Detector Event Type

◆ setLvl1TriggerType()

template<class IDMAP = SrcIdMap>
void FullEventAssembler< IDMAP >::setLvl1TriggerType ( uint8_t m)

change LVL1 Trigger Type

◆ setRobMinorVersion()

template<class IDMAP = SrcIdMap>
void FullEventAssembler< IDMAP >::setRobMinorVersion ( uint16_t m)

change the ROB minor version

◆ setRodMinorVersion()

template<class IDMAP = SrcIdMap>
void FullEventAssembler< IDMAP >::setRodMinorVersion ( uint16_t m)

change the ROD minor version

Member Data Documentation

◆ m_bcid

template<class IDMAP = SrcIdMap>
uint16_t FullEventAssembler< IDMAP >::m_bcid
private

Definition at line 131 of file FullEventAssembler.h.

◆ m_detEvtType

template<class IDMAP = SrcIdMap>
uint32_t FullEventAssembler< IDMAP >::m_detEvtType
private

Definition at line 128 of file FullEventAssembler.h.

◆ m_idmap

template<class IDMAP = SrcIdMap>
IDMAP_t FullEventAssembler< IDMAP >::m_idmap
private

Definition at line 116 of file FullEventAssembler.h.

◆ m_lvl1_id

template<class IDMAP = SrcIdMap>
uint32_t FullEventAssembler< IDMAP >::m_lvl1_id
private

Definition at line 122 of file FullEventAssembler.h.

◆ m_lvl1_trigger_type

template<class IDMAP = SrcIdMap>
uint8_t FullEventAssembler< IDMAP >::m_lvl1_trigger_type
private

Definition at line 130 of file FullEventAssembler.h.

◆ m_rob_version

template<class IDMAP = SrcIdMap>
uint16_t FullEventAssembler< IDMAP >::m_rob_version
private

Definition at line 126 of file FullEventAssembler.h.

◆ m_robMap

template<class IDMAP = SrcIdMap>
ROBMAP FullEventAssembler< IDMAP >::m_robMap
private

Definition at line 119 of file FullEventAssembler.h.

◆ m_rod_version

template<class IDMAP = SrcIdMap>
uint16_t FullEventAssembler< IDMAP >::m_rod_version
private

Definition at line 125 of file FullEventAssembler.h.

◆ m_rodMap

template<class IDMAP = SrcIdMap>
RODMAP FullEventAssembler< IDMAP >::m_rodMap
private

Definition at line 118 of file FullEventAssembler.h.

◆ m_runnum

template<class IDMAP = SrcIdMap>
uint32_t FullEventAssembler< IDMAP >::m_runnum
private

Definition at line 121 of file FullEventAssembler.h.


The documentation for this class was generated from the following file: