|  | ATLAS Offline Software
    | 
 
 
 
Go to the documentation of this file.
    4 #ifndef TRIGT1INTERFACES_CTPSLINK_H 
    5 #define TRIGT1INTERFACES_CTPSLINK_H 
   16 #include "CTPfragment/CTPdataformatVersion.h" 
   49       CTPSLink( 
const std::vector<uint32_t>& roiVec, 
unsigned int ctpVersionNumber );
 
   74       const std::vector<uint32_t> 
getHeader() 
const;           
 
   76       const std::vector<uint32_t> 
getTrailer() 
const;
 
   85       const std::vector<uint32_t> 
getTBP() 
const;
 
   87       const std::vector<uint32_t> 
getTAP() 
const;
 
   89       const std::vector<uint32_t> 
getTAV() 
const;
 
  102       const std::string 
dump() 
const;
 
  104       const std::string 
print(
const bool longFormat = 
false) 
const;
 
  124       const std::string 
convert(
const std::vector<uint32_t>& 
data,
 
  125                                 const bool longFormat = 
false) 
const;
 
  135 #endif // TRIGT1INTERFACES_CTPSLINK_H 
  
const std::vector< uint32_t > getDataElements() const
get raw data content
const std::string dump() const
dump raw object content to string
char data[hepevt_bytes_allocation_ATLAS]
const std::vector< uint32_t > m_CTPSLinkVector
this vector contains the header, data elements and trailer
const std::vector< uint32_t > getTBP() const
get trigger result before prescale
bool getAcceptAP() const
get trigger accept after prescale
unsigned int getNumWordsPerCTPSLink() const
const std::vector< uint32_t > getHeader() const
get raw header content
const std::vector< uint32_t > getTAV() const
get trigger result after veto
unsigned int m_wordsPerHeader
number of words per header
CTPSLink & operator=(CTPSLink const &)=delete
~CTPSLink()
empty default destructor
CTPSLink(const std::vector< uint32_t > &roiVec, unsigned int ctpVersionNumber)
constructor initializing data content from given vector
CTPSLink(CTPSLink const &)=delete
unsigned int getDataElementSize() const
number of words in data
unsigned int getTrailerSize() const
number of words in trailer
const std::vector< uint32_t > & getCTPToRoIBWords() const
get full raw data content
unsigned int getHeaderSize() const
number of words in header
const std::vector< uint32_t > getTAP() const
get trigger result after prescale
unsigned int m_wordsPerCTPSLink
number of words per CTPSLink
unsigned int getSize() const
toal number of words in object
bool getAcceptAV() const
get trigger accept after veto
unsigned int m_ctpVersionNumber
unsigned int m_wordsPerDataElement
number of words per data element
const std::string print(const bool longFormat=false) const
print object content in a human readable form to string
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
unsigned int getCTPVersionNumber() const
retrieve CTP version number
unsigned int m_wordsPerTrailer
number of words per trailer
const std::string convert(const std::vector< uint32_t > &data, const bool longFormat=false) const
convert data contetn into string (used by dump and print)
const std::vector< uint32_t > getTrailer() const
get raw trailer content
CTPdataformatVersion * m_ctpVersion
macros to associate a CLID to a type
bool getAcceptBP() const
get trigger accept before prescale
bool getAccept() const
get standard trigger accept