6#ifndef TRIGT1RESULT_CTPRESULT_H
7#define TRIGT1RESULT_CTPRESULT_H
22#include "CTPfragment/CTPdataformatVersion.h"
85 const std::vector<CTPRoI>&
roIVec()
const;
90 const std::vector<CTPRoI>
TBP()
const;
92 const std::vector<CTPRoI>
TAP()
const;
94 const std::vector<CTPRoI>
TAV()
const;
108 const std::string
dump()
const;
110 const std::string
print(
const bool longFormat =
false)
const;
129 const std::string
convert(
const std::vector<CTPRoI>&
data,
const bool longFormat =
false)
const;
char data[hepevt_bytes_allocation_ATLAS]
const std::string convert(const std::vector< CTPRoI > &data, const bool longFormat=false) const
convert data content into string (used by dump and print)
CTPdataformatVersion m_ctpDataformat
bool acceptBP() const
get trigger accept before prescale
const Header & header() const
return header
void dumpData() const
print object content to default message stream
Trailer m_CTPResultTrailer
trailer fragment in LVL1 eformat
bool acceptAP() const
get trigger accept after prescale
bool isComplete() const
returns true if object isValid() and data has the expected length
std::vector< CTPRoI > m_CTPResultRoIVec
raw data content (RoIs)
const std::string print(const bool longFormat=false) const
print object content in a human readable format to string
const std::vector< CTPRoI > TBP() const
get trigger result before prescale
Header m_CTPResultHeader
header fragment in LVL1 eformat
const std::vector< CTPRoI > & roIVec() const
return the RoI vector */
bool isValid() const
returns true if header and trailer exist, data can be empty
bool acceptAV() const
get trigger accept after veto
const std::string dump() const
dump raw object content to string
bool accept() const
get standard trigger accept
const std::vector< CTPRoI > TAP() const
get trigger result after prescale
const Trailer & trailer() const
return trailer
const std::vector< CTPRoI > TAV() const
get trigger result after veto
CTPResult()
default constructor: empty object
ROIB::Trailer models the LVL1 ROD Trailer.
Namespace of the LVL1 RoIB simulation.
std::bitset< 512 > convertToBitset(const std::vector< uint32_t > &words)
convert vector of unsigned int into bitset