CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
l1t::EMTFDaqOut Class Reference

#include <EMTFDaqOut.h>

Public Member Functions

void add_format_error ()
 
uint64_t Dataword () const
 
 EMTFDaqOut (uint64_t dataword)
 
 EMTFDaqOut ()
 
int Format_Errors () const
 
emtf::AMC13Header GetAMC13Header () const
 
emtf::AMC13Trailer GetAMC13Trailer () const
 
emtf::Counters GetCounters () const
 
emtf::EventHeader GetEventHeader () const
 
emtf::EventTrailer GetEventTrailer () const
 
emtf::GEMCollection GetGEMCollection () const
 
emtf::MECollection GetMECollection () const
 
emtf::MTF7Header GetMTF7Header () const
 
emtf::MTF7Trailer GetMTF7Trailer () const
 
emtf::RPCCollection GetRPCCollection () const
 
emtf::SPCollection GetSPCollection () const
 
bool HasAMC13Header () const
 
bool HasAMC13Trailer () const
 
bool HasCounters () const
 
bool HasEventHeader () const
 
bool HasEventTrailer () const
 
bool HasMTF7Header () const
 
bool HasMTF7Trailer () const
 
int NumGEM () const
 
int NumME () const
 
int NumRPC () const
 
int NumSP () const
 
const emtf::AMC13HeaderPtrAMC13Header () const
 
const emtf::AMC13TrailerPtrAMC13Trailer () const
 
const emtf::CountersPtrCounters () const
 
const emtf::EventHeaderPtrEventHeader () const
 
const emtf::EventTrailerPtrEventTrailer () const
 
const emtf::GEMCollectionPtrGEMCollection () const
 
const emtf::MECollectionPtrMECollection () const
 
const emtf::MTF7HeaderPtrMTF7Header () const
 
const emtf::MTF7TrailerPtrMTF7Trailer () const
 
const emtf::RPCCollectionPtrRPCCollection () const
 
const emtf::SPCollectionPtrSPCollection () const
 
void push_GEM (emtf::GEM bits)
 
void push_ME (emtf::ME bits)
 
void push_RPC (emtf::RPC bits)
 
void push_SP (emtf::SP bits)
 
void set_AMC13Header (emtf::AMC13Header bits)
 
void set_AMC13Trailer (emtf::AMC13Trailer bits)
 
void set_Counters (emtf::Counters bits)
 
void set_dataword (uint64_t bits)
 
void set_EventHeader (emtf::EventHeader bits)
 
void set_EventTrailer (emtf::EventTrailer bits)
 
void set_GEMCollection (emtf::GEMCollection bits)
 
void set_MECollection (emtf::MECollection bits)
 
void set_MTF7Header (emtf::MTF7Header bits)
 
void set_MTF7Trailer (emtf::MTF7Trailer bits)
 
void set_RPCCollection (emtf::RPCCollection bits)
 
void set_SPCollection (emtf::SPCollection bits)
 
virtual ~EMTFDaqOut ()
 

Private Attributes

emtf::AMC13Header AMC13Header
 
emtf::AMC13Trailer AMC13Trailer
 
emtf::Counters Counters
 
uint64_t dataword
 
emtf::EventHeader EventHeader
 
emtf::EventTrailer EventTrailer
 
int format_errors
 
emtf::GEMCollection GEMCollection
 
bool hasAMC13Header
 
bool hasAMC13Trailer
 
bool hasCounters
 
bool hasEventHeader
 
bool hasEventTrailer
 
bool hasMTF7Header
 
bool hasMTF7Trailer
 
emtf::MECollection MECollection
 
emtf::MTF7Header MTF7Header
 
emtf::MTF7Trailer MTF7Trailer
 
int numGEM
 
int numME
 
int numRPC
 
int numSP
 
emtf::RPCCollection RPCCollection
 
emtf::SPCollection SPCollection
 

Detailed Description

Definition at line 24 of file EMTFDaqOut.h.

Constructor & Destructor Documentation

◆ EMTFDaqOut() [1/2]

l1t::EMTFDaqOut::EMTFDaqOut ( uint64_t  dataword)
explicit

◆ EMTFDaqOut() [2/2]

l1t::EMTFDaqOut::EMTFDaqOut ( )
inline

Definition at line 29 of file EMTFDaqOut.h.

30  : hasAMC13Header(false),
31  hasMTF7Header(false),
32  hasEventHeader(false),
33  hasCounters(false),
34  numME(0),
35  numRPC(0),
36  numGEM(0),
37  numSP(0),
38  hasEventTrailer(false),
39  hasMTF7Trailer(false),
40  hasAMC13Trailer(false),
41  format_errors(0),
42  dataword(-99) {}
bool hasAMC13Trailer
Definition: EMTFDaqOut.h:161
bool hasEventTrailer
Definition: EMTFDaqOut.h:159
uint64_t dataword
Definition: EMTFDaqOut.h:174

◆ ~EMTFDaqOut()

virtual l1t::EMTFDaqOut::~EMTFDaqOut ( )
inlinevirtual

Definition at line 49 of file EMTFDaqOut.h.

49 {}

Member Function Documentation

◆ add_format_error()

void l1t::EMTFDaqOut::add_format_error ( )
inline

Definition at line 111 of file EMTFDaqOut.h.

References format_errors.

111 { format_errors += 1; }

◆ Dataword()

uint64_t l1t::EMTFDaqOut::Dataword ( ) const
inline

Definition at line 148 of file EMTFDaqOut.h.

References dataword.

148 { return dataword; }
uint64_t dataword
Definition: EMTFDaqOut.h:174

◆ Format_Errors()

int l1t::EMTFDaqOut::Format_Errors ( ) const
inline

Definition at line 147 of file EMTFDaqOut.h.

References format_errors.

147 { return format_errors; }

◆ GetAMC13Header()

emtf::AMC13Header l1t::EMTFDaqOut::GetAMC13Header ( ) const
inline

Definition at line 125 of file EMTFDaqOut.h.

References AMC13Header.

125 { return AMC13Header; }
emtf::AMC13Header AMC13Header
Definition: EMTFDaqOut.h:162

◆ GetAMC13Trailer()

emtf::AMC13Trailer l1t::EMTFDaqOut::GetAMC13Trailer ( ) const
inline

Definition at line 135 of file EMTFDaqOut.h.

References AMC13Trailer.

135 { return AMC13Trailer; }
emtf::AMC13Trailer AMC13Trailer
Definition: EMTFDaqOut.h:172

◆ GetCounters()

emtf::Counters l1t::EMTFDaqOut::GetCounters ( ) const
inline

Definition at line 128 of file EMTFDaqOut.h.

References Counters.

128 { return Counters; }
emtf::Counters Counters
Definition: EMTFDaqOut.h:165

◆ GetEventHeader()

emtf::EventHeader l1t::EMTFDaqOut::GetEventHeader ( ) const
inline

Definition at line 127 of file EMTFDaqOut.h.

References EventHeader.

127 { return EventHeader; }
emtf::EventHeader EventHeader
Definition: EMTFDaqOut.h:164

◆ GetEventTrailer()

emtf::EventTrailer l1t::EMTFDaqOut::GetEventTrailer ( ) const
inline

Definition at line 133 of file EMTFDaqOut.h.

References EventTrailer.

133 { return EventTrailer; }
emtf::EventTrailer EventTrailer
Definition: EMTFDaqOut.h:170

◆ GetGEMCollection()

emtf::GEMCollection l1t::EMTFDaqOut::GetGEMCollection ( ) const
inline

Definition at line 131 of file EMTFDaqOut.h.

References GEMCollection.

131 { return GEMCollection; }
emtf::GEMCollection GEMCollection
Definition: EMTFDaqOut.h:168

◆ GetMECollection()

emtf::MECollection l1t::EMTFDaqOut::GetMECollection ( ) const
inline

Definition at line 129 of file EMTFDaqOut.h.

References MECollection.

129 { return MECollection; }
emtf::MECollection MECollection
Definition: EMTFDaqOut.h:166

◆ GetMTF7Header()

emtf::MTF7Header l1t::EMTFDaqOut::GetMTF7Header ( ) const
inline

Definition at line 126 of file EMTFDaqOut.h.

References MTF7Header.

126 { return MTF7Header; }
emtf::MTF7Header MTF7Header
Definition: EMTFDaqOut.h:163

◆ GetMTF7Trailer()

emtf::MTF7Trailer l1t::EMTFDaqOut::GetMTF7Trailer ( ) const
inline

Definition at line 134 of file EMTFDaqOut.h.

References MTF7Trailer.

134 { return MTF7Trailer; }
emtf::MTF7Trailer MTF7Trailer
Definition: EMTFDaqOut.h:171

◆ GetRPCCollection()

emtf::RPCCollection l1t::EMTFDaqOut::GetRPCCollection ( ) const
inline

Definition at line 130 of file EMTFDaqOut.h.

References RPCCollection.

130 { return RPCCollection; }
emtf::RPCCollection RPCCollection
Definition: EMTFDaqOut.h:167

◆ GetSPCollection()

emtf::SPCollection l1t::EMTFDaqOut::GetSPCollection ( ) const
inline

Definition at line 132 of file EMTFDaqOut.h.

References SPCollection.

132 { return SPCollection; }
emtf::SPCollection SPCollection
Definition: EMTFDaqOut.h:169

◆ HasAMC13Header()

bool l1t::EMTFDaqOut::HasAMC13Header ( ) const
inline

Definition at line 114 of file EMTFDaqOut.h.

References hasAMC13Header.

114 { return hasAMC13Header; }

◆ HasAMC13Trailer()

bool l1t::EMTFDaqOut::HasAMC13Trailer ( ) const
inline

Definition at line 122 of file EMTFDaqOut.h.

References hasAMC13Trailer.

122 { return hasAMC13Trailer; }
bool hasAMC13Trailer
Definition: EMTFDaqOut.h:161

◆ HasCounters()

bool l1t::EMTFDaqOut::HasCounters ( ) const
inline

Definition at line 117 of file EMTFDaqOut.h.

References hasCounters.

117 { return hasCounters; }

◆ HasEventHeader()

bool l1t::EMTFDaqOut::HasEventHeader ( ) const
inline

Definition at line 116 of file EMTFDaqOut.h.

References hasEventHeader.

116 { return hasEventHeader; }

◆ HasEventTrailer()

bool l1t::EMTFDaqOut::HasEventTrailer ( ) const
inline

Definition at line 124 of file EMTFDaqOut.h.

References hasEventTrailer.

124 { return hasEventTrailer; }
bool hasEventTrailer
Definition: EMTFDaqOut.h:159

◆ HasMTF7Header()

bool l1t::EMTFDaqOut::HasMTF7Header ( ) const
inline

Definition at line 115 of file EMTFDaqOut.h.

References hasMTF7Header.

115 { return hasMTF7Header; }

◆ HasMTF7Trailer()

bool l1t::EMTFDaqOut::HasMTF7Trailer ( ) const
inline

Definition at line 123 of file EMTFDaqOut.h.

References hasMTF7Trailer.

123 { return hasMTF7Trailer; }

◆ NumGEM()

int l1t::EMTFDaqOut::NumGEM ( ) const
inline

Definition at line 121 of file EMTFDaqOut.h.

References numGEM.

121 { return numGEM; }

◆ NumME()

int l1t::EMTFDaqOut::NumME ( ) const
inline

Definition at line 120 of file EMTFDaqOut.h.

References numME.

120 { return numME; }

◆ NumRPC()

int l1t::EMTFDaqOut::NumRPC ( ) const
inline

Definition at line 119 of file EMTFDaqOut.h.

References numRPC.

119 { return numRPC; }

◆ NumSP()

int l1t::EMTFDaqOut::NumSP ( ) const
inline

Definition at line 118 of file EMTFDaqOut.h.

References numSP.

118 { return numSP; }

◆ PtrAMC13Header()

const emtf::AMC13Header* l1t::EMTFDaqOut::PtrAMC13Header ( ) const
inline

Definition at line 136 of file EMTFDaqOut.h.

References AMC13Header.

136 { return &AMC13Header; }
emtf::AMC13Header AMC13Header
Definition: EMTFDaqOut.h:162

◆ PtrAMC13Trailer()

const emtf::AMC13Trailer* l1t::EMTFDaqOut::PtrAMC13Trailer ( ) const
inline

Definition at line 146 of file EMTFDaqOut.h.

References AMC13Trailer.

146 { return &AMC13Trailer; }
emtf::AMC13Trailer AMC13Trailer
Definition: EMTFDaqOut.h:172

◆ PtrCounters()

const emtf::Counters* l1t::EMTFDaqOut::PtrCounters ( ) const
inline

Definition at line 139 of file EMTFDaqOut.h.

References Counters.

139 { return &Counters; }
emtf::Counters Counters
Definition: EMTFDaqOut.h:165

◆ PtrEventHeader()

const emtf::EventHeader* l1t::EMTFDaqOut::PtrEventHeader ( ) const
inline

Definition at line 138 of file EMTFDaqOut.h.

References EventHeader.

138 { return &EventHeader; }
emtf::EventHeader EventHeader
Definition: EMTFDaqOut.h:164

◆ PtrEventTrailer()

const emtf::EventTrailer* l1t::EMTFDaqOut::PtrEventTrailer ( ) const
inline

Definition at line 144 of file EMTFDaqOut.h.

References EventTrailer.

144 { return &EventTrailer; }
emtf::EventTrailer EventTrailer
Definition: EMTFDaqOut.h:170

◆ PtrGEMCollection()

const emtf::GEMCollection* l1t::EMTFDaqOut::PtrGEMCollection ( ) const
inline

Definition at line 142 of file EMTFDaqOut.h.

References GEMCollection.

142 { return &GEMCollection; }
emtf::GEMCollection GEMCollection
Definition: EMTFDaqOut.h:168

◆ PtrMECollection()

const emtf::MECollection* l1t::EMTFDaqOut::PtrMECollection ( ) const
inline

Definition at line 140 of file EMTFDaqOut.h.

References MECollection.

140 { return &MECollection; }
emtf::MECollection MECollection
Definition: EMTFDaqOut.h:166

◆ PtrMTF7Header()

const emtf::MTF7Header* l1t::EMTFDaqOut::PtrMTF7Header ( ) const
inline

Definition at line 137 of file EMTFDaqOut.h.

References MTF7Header.

137 { return &MTF7Header; }
emtf::MTF7Header MTF7Header
Definition: EMTFDaqOut.h:163

◆ PtrMTF7Trailer()

const emtf::MTF7Trailer* l1t::EMTFDaqOut::PtrMTF7Trailer ( ) const
inline

Definition at line 145 of file EMTFDaqOut.h.

References MTF7Trailer.

145 { return &MTF7Trailer; }
emtf::MTF7Trailer MTF7Trailer
Definition: EMTFDaqOut.h:171

◆ PtrRPCCollection()

const emtf::RPCCollection* l1t::EMTFDaqOut::PtrRPCCollection ( ) const
inline

Definition at line 141 of file EMTFDaqOut.h.

References RPCCollection.

141 { return &RPCCollection; }
emtf::RPCCollection RPCCollection
Definition: EMTFDaqOut.h:167

◆ PtrSPCollection()

const emtf::SPCollection* l1t::EMTFDaqOut::PtrSPCollection ( ) const
inline

Definition at line 143 of file EMTFDaqOut.h.

References SPCollection.

143 { return &SPCollection; }
emtf::SPCollection SPCollection
Definition: EMTFDaqOut.h:169

◆ push_GEM()

void l1t::EMTFDaqOut::push_GEM ( emtf::GEM  bits)
inline

Definition at line 87 of file EMTFDaqOut.h.

References ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::pixelStatus::bits, GEMCollection, and numGEM.

87  {
88  GEMCollection.push_back(bits);
89  numGEM += 1;
90  }
emtf::GEMCollection GEMCollection
Definition: EMTFDaqOut.h:168

◆ push_ME()

void l1t::EMTFDaqOut::push_ME ( emtf::ME  bits)
inline

Definition at line 71 of file EMTFDaqOut.h.

References ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::pixelStatus::bits, MECollection, and numME.

71  {
72  MECollection.push_back(bits);
73  numME += 1;
74  }
emtf::MECollection MECollection
Definition: EMTFDaqOut.h:166

◆ push_RPC()

void l1t::EMTFDaqOut::push_RPC ( emtf::RPC  bits)
inline

Definition at line 79 of file EMTFDaqOut.h.

References ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::pixelStatus::bits, numRPC, and RPCCollection.

79  {
80  RPCCollection.push_back(bits);
81  numRPC += 1;
82  }
emtf::RPCCollection RPCCollection
Definition: EMTFDaqOut.h:167

◆ push_SP()

void l1t::EMTFDaqOut::push_SP ( emtf::SP  bits)
inline

Definition at line 95 of file EMTFDaqOut.h.

References ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::pixelStatus::bits, numSP, and SPCollection.

95  {
96  SPCollection.push_back(bits);
97  numSP += 1;
98  }
emtf::SPCollection SPCollection
Definition: EMTFDaqOut.h:169

◆ set_AMC13Header()

void l1t::EMTFDaqOut::set_AMC13Header ( emtf::AMC13Header  bits)
inline

◆ set_AMC13Trailer()

void l1t::EMTFDaqOut::set_AMC13Trailer ( emtf::AMC13Trailer  bits)
inline

◆ set_Counters()

void l1t::EMTFDaqOut::set_Counters ( emtf::Counters  bits)
inline

◆ set_dataword()

void l1t::EMTFDaqOut::set_dataword ( uint64_t  bits)
inline

◆ set_EventHeader()

void l1t::EMTFDaqOut::set_EventHeader ( emtf::EventHeader  bits)
inline

◆ set_EventTrailer()

void l1t::EMTFDaqOut::set_EventTrailer ( emtf::EventTrailer  bits)
inline

◆ set_GEMCollection()

void l1t::EMTFDaqOut::set_GEMCollection ( emtf::GEMCollection  bits)
inline

◆ set_MECollection()

void l1t::EMTFDaqOut::set_MECollection ( emtf::MECollection  bits)
inline

◆ set_MTF7Header()

void l1t::EMTFDaqOut::set_MTF7Header ( emtf::MTF7Header  bits)
inline

◆ set_MTF7Trailer()

void l1t::EMTFDaqOut::set_MTF7Trailer ( emtf::MTF7Trailer  bits)
inline

◆ set_RPCCollection()

void l1t::EMTFDaqOut::set_RPCCollection ( emtf::RPCCollection  bits)
inline

◆ set_SPCollection()

void l1t::EMTFDaqOut::set_SPCollection ( emtf::SPCollection  bits)
inline

Member Data Documentation

◆ AMC13Header

emtf::AMC13Header l1t::EMTFDaqOut::AMC13Header
private

Definition at line 162 of file EMTFDaqOut.h.

Referenced by GetAMC13Header(), PtrAMC13Header(), and set_AMC13Header().

◆ AMC13Trailer

emtf::AMC13Trailer l1t::EMTFDaqOut::AMC13Trailer
private

Definition at line 172 of file EMTFDaqOut.h.

Referenced by GetAMC13Trailer(), PtrAMC13Trailer(), and set_AMC13Trailer().

◆ Counters

emtf::Counters l1t::EMTFDaqOut::Counters
private

Definition at line 165 of file EMTFDaqOut.h.

Referenced by GetCounters(), PtrCounters(), and set_Counters().

◆ dataword

uint64_t l1t::EMTFDaqOut::dataword
private

Definition at line 174 of file EMTFDaqOut.h.

Referenced by Dataword(), and set_dataword().

◆ EventHeader

emtf::EventHeader l1t::EMTFDaqOut::EventHeader
private

Definition at line 164 of file EMTFDaqOut.h.

Referenced by GetEventHeader(), and PtrEventHeader().

◆ EventTrailer

emtf::EventTrailer l1t::EMTFDaqOut::EventTrailer
private

Definition at line 170 of file EMTFDaqOut.h.

Referenced by GetEventTrailer(), PtrEventTrailer(), and set_EventTrailer().

◆ format_errors

int l1t::EMTFDaqOut::format_errors
private

Definition at line 173 of file EMTFDaqOut.h.

Referenced by add_format_error(), and Format_Errors().

◆ GEMCollection

emtf::GEMCollection l1t::EMTFDaqOut::GEMCollection
private

Definition at line 168 of file EMTFDaqOut.h.

Referenced by GetGEMCollection(), PtrGEMCollection(), push_GEM(), and set_GEMCollection().

◆ hasAMC13Header

bool l1t::EMTFDaqOut::hasAMC13Header
private

Definition at line 151 of file EMTFDaqOut.h.

Referenced by HasAMC13Header(), and set_AMC13Header().

◆ hasAMC13Trailer

bool l1t::EMTFDaqOut::hasAMC13Trailer
private

Definition at line 161 of file EMTFDaqOut.h.

Referenced by HasAMC13Trailer(), and set_AMC13Trailer().

◆ hasCounters

bool l1t::EMTFDaqOut::hasCounters
private

Definition at line 154 of file EMTFDaqOut.h.

Referenced by HasCounters(), and set_Counters().

◆ hasEventHeader

bool l1t::EMTFDaqOut::hasEventHeader
private

Definition at line 153 of file EMTFDaqOut.h.

Referenced by HasEventHeader(), and set_EventHeader().

◆ hasEventTrailer

bool l1t::EMTFDaqOut::hasEventTrailer
private

Definition at line 159 of file EMTFDaqOut.h.

Referenced by HasEventTrailer(), and set_EventTrailer().

◆ hasMTF7Header

bool l1t::EMTFDaqOut::hasMTF7Header
private

Definition at line 152 of file EMTFDaqOut.h.

Referenced by HasMTF7Header(), and set_MTF7Header().

◆ hasMTF7Trailer

bool l1t::EMTFDaqOut::hasMTF7Trailer
private

Definition at line 160 of file EMTFDaqOut.h.

Referenced by HasMTF7Trailer(), and set_MTF7Trailer().

◆ MECollection

emtf::MECollection l1t::EMTFDaqOut::MECollection
private

Definition at line 166 of file EMTFDaqOut.h.

Referenced by GetMECollection(), PtrMECollection(), push_ME(), and set_MECollection().

◆ MTF7Header

emtf::MTF7Header l1t::EMTFDaqOut::MTF7Header
private

Definition at line 163 of file EMTFDaqOut.h.

Referenced by GetMTF7Header(), PtrMTF7Header(), and set_MTF7Header().

◆ MTF7Trailer

emtf::MTF7Trailer l1t::EMTFDaqOut::MTF7Trailer
private

Definition at line 171 of file EMTFDaqOut.h.

Referenced by GetMTF7Trailer(), PtrMTF7Trailer(), and set_MTF7Trailer().

◆ numGEM

int l1t::EMTFDaqOut::numGEM
private

Definition at line 157 of file EMTFDaqOut.h.

Referenced by NumGEM(), push_GEM(), and set_GEMCollection().

◆ numME

int l1t::EMTFDaqOut::numME
private

Definition at line 155 of file EMTFDaqOut.h.

Referenced by NumME(), push_ME(), and set_MECollection().

◆ numRPC

int l1t::EMTFDaqOut::numRPC
private

Definition at line 156 of file EMTFDaqOut.h.

Referenced by NumRPC(), push_RPC(), and set_RPCCollection().

◆ numSP

int l1t::EMTFDaqOut::numSP
private

Definition at line 158 of file EMTFDaqOut.h.

Referenced by NumSP(), push_SP(), and set_SPCollection().

◆ RPCCollection

emtf::RPCCollection l1t::EMTFDaqOut::RPCCollection
private

Definition at line 167 of file EMTFDaqOut.h.

Referenced by GetRPCCollection(), PtrRPCCollection(), push_RPC(), and set_RPCCollection().

◆ SPCollection

emtf::SPCollection l1t::EMTFDaqOut::SPCollection
private

Definition at line 169 of file EMTFDaqOut.h.

Referenced by GetSPCollection(), PtrSPCollection(), push_SP(), and set_SPCollection().