ATLAS Offline Software
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
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

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

Public Member Functions

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

Private Member Functions

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

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 40 of file FullEventAssembler.h.

Member Typedef Documentation

◆ IDMAP_t

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

type for Identifier mapping

Definition at line 50 of file FullEventAssembler.h.

◆ ROBMAP

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

map of ROB data, indexed by ROB ids

Definition at line 62 of file FullEventAssembler.h.

◆ RODDATA

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

ROD data as a vector of unsigned int.

Definition at line 54 of file FullEventAssembler.h.

◆ RODMAP

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

map of ROD data, indexed by ROD ids

Definition at line 58 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 
)
private

converting from SubDetector to FullEvent

◆ RodToRob()

template<class IDMAP = SrcIdMap>
void FullEventAssembler< IDMAP >::RodToRob ( RODMAP rodMap,
ROBMAP robMap,
MsgStream &  log 
)
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 133 of file FullEventAssembler.h.

◆ m_detEvtType

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

Definition at line 130 of file FullEventAssembler.h.

◆ m_idmap

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

Definition at line 118 of file FullEventAssembler.h.

◆ m_lvl1_id

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

Definition at line 124 of file FullEventAssembler.h.

◆ m_lvl1_trigger_type

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

Definition at line 132 of file FullEventAssembler.h.

◆ m_rob_version

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

Definition at line 128 of file FullEventAssembler.h.

◆ m_robMap

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

Definition at line 121 of file FullEventAssembler.h.

◆ m_rod_version

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

Definition at line 127 of file FullEventAssembler.h.

◆ m_rodMap

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

Definition at line 120 of file FullEventAssembler.h.

◆ m_runnum

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

Definition at line 123 of file FullEventAssembler.h.


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