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 ()
 
 EMTFDaqOut (uint64_t dataword)
 
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::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 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::MECollectionPtrMECollection () const
 
const emtf::MTF7HeaderPtrMTF7Header () const
 
const emtf::MTF7TrailerPtrMTF7Trailer () const
 
const emtf::RPCCollectionPtrRPCCollection () const
 
const emtf::SPCollectionPtrSPCollection () const
 
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_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
 
bool hasAMC13Header
 
bool hasAMC13Trailer
 
bool hasCounters
 
bool hasEventHeader
 
bool hasEventTrailer
 
bool hasMTF7Header
 
bool hasMTF7Trailer
 
emtf::MECollection MECollection
 
emtf::MTF7Header MTF7Header
 
emtf::MTF7Trailer MTF7Trailer
 
int numME
 
int numRPC
 
int numSP
 
emtf::RPCCollection RPCCollection
 
emtf::SPCollection SPCollection
 

Detailed Description

Definition at line 23 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 28 of file EMTFDaqOut.h.

29  : hasAMC13Header(false),
30  hasMTF7Header(false),
31  hasEventHeader(false),
32  hasCounters(false),
33  numME(0),
34  numRPC(0),
35  numSP(0),
36  hasEventTrailer(false),
37  hasMTF7Trailer(false),
38  hasAMC13Trailer(false),
39  format_errors(0),
40  dataword(-99){};

◆ ~EMTFDaqOut()

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

Definition at line 47 of file EMTFDaqOut.h.

47 {};

Member Function Documentation

◆ add_format_error()

void l1t::EMTFDaqOut::add_format_error ( )
inline

Definition at line 101 of file EMTFDaqOut.h.

101 { format_errors += 1; }

References format_errors.

◆ Dataword()

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

Definition at line 135 of file EMTFDaqOut.h.

135 { return dataword; }

References dataword.

◆ Format_Errors()

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

Definition at line 134 of file EMTFDaqOut.h.

134 { return format_errors; }

References format_errors.

◆ GetAMC13Header()

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

Definition at line 114 of file EMTFDaqOut.h.

114 { return AMC13Header; }

References AMC13Header.

◆ GetAMC13Trailer()

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

Definition at line 123 of file EMTFDaqOut.h.

123 { return AMC13Trailer; }

References AMC13Trailer.

◆ GetCounters()

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

Definition at line 117 of file EMTFDaqOut.h.

117 { return Counters; }

References Counters.

◆ GetEventHeader()

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

Definition at line 116 of file EMTFDaqOut.h.

116 { return EventHeader; }

References EventHeader.

◆ GetEventTrailer()

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

Definition at line 121 of file EMTFDaqOut.h.

121 { return EventTrailer; }

References EventTrailer.

◆ GetMECollection()

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

Definition at line 118 of file EMTFDaqOut.h.

118 { return MECollection; }

References MECollection.

◆ GetMTF7Header()

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

Definition at line 115 of file EMTFDaqOut.h.

115 { return MTF7Header; }

References MTF7Header.

◆ GetMTF7Trailer()

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

Definition at line 122 of file EMTFDaqOut.h.

122 { return MTF7Trailer; }

References MTF7Trailer.

◆ GetRPCCollection()

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

Definition at line 119 of file EMTFDaqOut.h.

119 { return RPCCollection; }

References RPCCollection.

◆ GetSPCollection()

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

Definition at line 120 of file EMTFDaqOut.h.

120 { return SPCollection; }

References SPCollection.

◆ HasAMC13Header()

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

Definition at line 104 of file EMTFDaqOut.h.

104 { return hasAMC13Header; }

References hasAMC13Header.

◆ HasAMC13Trailer()

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

Definition at line 111 of file EMTFDaqOut.h.

111 { return hasAMC13Trailer; }

References hasAMC13Trailer.

◆ HasCounters()

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

Definition at line 107 of file EMTFDaqOut.h.

107 { return hasCounters; }

References hasCounters.

◆ HasEventHeader()

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

Definition at line 106 of file EMTFDaqOut.h.

106 { return hasEventHeader; }

References hasEventHeader.

◆ HasEventTrailer()

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

Definition at line 113 of file EMTFDaqOut.h.

113 { return hasEventTrailer; }

References hasEventTrailer.

◆ HasMTF7Header()

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

Definition at line 105 of file EMTFDaqOut.h.

105 { return hasMTF7Header; }

References hasMTF7Header.

◆ HasMTF7Trailer()

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

Definition at line 112 of file EMTFDaqOut.h.

112 { return hasMTF7Trailer; }

References hasMTF7Trailer.

◆ NumME()

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

Definition at line 110 of file EMTFDaqOut.h.

110 { return numME; }

References numME.

◆ NumRPC()

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

Definition at line 109 of file EMTFDaqOut.h.

109 { return numRPC; }

References numRPC.

◆ NumSP()

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

Definition at line 108 of file EMTFDaqOut.h.

108 { return numSP; }

References numSP.

◆ PtrAMC13Header()

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

Definition at line 124 of file EMTFDaqOut.h.

124 { return &AMC13Header; }

References AMC13Header.

◆ PtrAMC13Trailer()

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

Definition at line 133 of file EMTFDaqOut.h.

133 { return &AMC13Trailer; }

References AMC13Trailer.

◆ PtrCounters()

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

Definition at line 127 of file EMTFDaqOut.h.

127 { return &Counters; }

References Counters.

◆ PtrEventHeader()

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

Definition at line 126 of file EMTFDaqOut.h.

126 { return &EventHeader; }

References EventHeader.

◆ PtrEventTrailer()

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

Definition at line 131 of file EMTFDaqOut.h.

131 { return &EventTrailer; }

References EventTrailer.

◆ PtrMECollection()

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

Definition at line 128 of file EMTFDaqOut.h.

128 { return &MECollection; }

References MECollection.

◆ PtrMTF7Header()

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

Definition at line 125 of file EMTFDaqOut.h.

125 { return &MTF7Header; }

References MTF7Header.

◆ PtrMTF7Trailer()

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

Definition at line 132 of file EMTFDaqOut.h.

132 { return &MTF7Trailer; }

References MTF7Trailer.

◆ PtrRPCCollection()

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

Definition at line 129 of file EMTFDaqOut.h.

129 { return &RPCCollection; }

References RPCCollection.

◆ PtrSPCollection()

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

Definition at line 130 of file EMTFDaqOut.h.

130 { return &SPCollection; }

References SPCollection.

◆ push_ME()

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

Definition at line 69 of file EMTFDaqOut.h.

69  {
70  MECollection.push_back(bits);
71  numME += 1;
72  }

References bits, MECollection, and numME.

◆ push_RPC()

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

Definition at line 77 of file EMTFDaqOut.h.

77  {
78  RPCCollection.push_back(bits);
79  numRPC += 1;
80  }

References bits, numRPC, and RPCCollection.

◆ push_SP()

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

Definition at line 85 of file EMTFDaqOut.h.

85  {
86  SPCollection.push_back(bits);
87  numSP += 1;
88  }

References bits, numSP, and SPCollection.

◆ set_AMC13Header()

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

Definition at line 49 of file EMTFDaqOut.h.

49  {
50  AMC13Header = bits;
51  hasAMC13Header = true;
52  }

References AMC13Header, bits, and hasAMC13Header.

◆ set_AMC13Trailer()

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

Definition at line 97 of file EMTFDaqOut.h.

97  {
99  hasAMC13Trailer = true;
100  }

References AMC13Trailer, bits, and hasAMC13Trailer.

◆ set_Counters()

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

Definition at line 61 of file EMTFDaqOut.h.

61  {
62  Counters = bits;
63  hasCounters = true;
64  }

References bits, Counters, and hasCounters.

◆ set_dataword()

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

Definition at line 102 of file EMTFDaqOut.h.

102 { dataword = bits; }

References bits, and dataword.

◆ set_EventHeader()

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

Definition at line 57 of file EMTFDaqOut.h.

57  {
58  EventHeader = bits;
59  hasEventHeader = true;
60  }

References bits, and hasEventHeader.

◆ set_EventTrailer()

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

Definition at line 89 of file EMTFDaqOut.h.

89  {
91  hasEventTrailer = true;
92  }

References bits, EventTrailer, and hasEventTrailer.

◆ set_MECollection()

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

Definition at line 65 of file EMTFDaqOut.h.

65  {
67  numME = MECollection.size();
68  }

References bits, MECollection, and numME.

◆ set_MTF7Header()

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

Definition at line 53 of file EMTFDaqOut.h.

53  {
54  MTF7Header = bits;
55  hasMTF7Header = true;
56  }

References bits, hasMTF7Header, and MTF7Header.

◆ set_MTF7Trailer()

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

Definition at line 93 of file EMTFDaqOut.h.

93  {
94  MTF7Trailer = bits;
95  hasMTF7Trailer = true;
96  }

References bits, hasMTF7Trailer, and MTF7Trailer.

◆ set_RPCCollection()

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

Definition at line 73 of file EMTFDaqOut.h.

73  {
75  numRPC = RPCCollection.size();
76  }

References bits, numRPC, and RPCCollection.

◆ set_SPCollection()

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

Definition at line 81 of file EMTFDaqOut.h.

81  {
83  numSP = SPCollection.size();
84  }

References bits, numSP, and SPCollection.

Member Data Documentation

◆ AMC13Header

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

Definition at line 148 of file EMTFDaqOut.h.

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

◆ AMC13Trailer

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

Definition at line 157 of file EMTFDaqOut.h.

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

◆ Counters

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

Definition at line 151 of file EMTFDaqOut.h.

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

◆ dataword

uint64_t l1t::EMTFDaqOut::dataword
private

Definition at line 159 of file EMTFDaqOut.h.

Referenced by Dataword(), and set_dataword().

◆ EventHeader

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

Definition at line 150 of file EMTFDaqOut.h.

Referenced by GetEventHeader(), and PtrEventHeader().

◆ EventTrailer

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

Definition at line 155 of file EMTFDaqOut.h.

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

◆ format_errors

int l1t::EMTFDaqOut::format_errors
private

Definition at line 158 of file EMTFDaqOut.h.

Referenced by add_format_error(), and Format_Errors().

◆ hasAMC13Header

bool l1t::EMTFDaqOut::hasAMC13Header
private

Definition at line 138 of file EMTFDaqOut.h.

Referenced by HasAMC13Header(), and set_AMC13Header().

◆ hasAMC13Trailer

bool l1t::EMTFDaqOut::hasAMC13Trailer
private

Definition at line 147 of file EMTFDaqOut.h.

Referenced by HasAMC13Trailer(), and set_AMC13Trailer().

◆ hasCounters

bool l1t::EMTFDaqOut::hasCounters
private

Definition at line 141 of file EMTFDaqOut.h.

Referenced by HasCounters(), and set_Counters().

◆ hasEventHeader

bool l1t::EMTFDaqOut::hasEventHeader
private

Definition at line 140 of file EMTFDaqOut.h.

Referenced by HasEventHeader(), and set_EventHeader().

◆ hasEventTrailer

bool l1t::EMTFDaqOut::hasEventTrailer
private

Definition at line 145 of file EMTFDaqOut.h.

Referenced by HasEventTrailer(), and set_EventTrailer().

◆ hasMTF7Header

bool l1t::EMTFDaqOut::hasMTF7Header
private

Definition at line 139 of file EMTFDaqOut.h.

Referenced by HasMTF7Header(), and set_MTF7Header().

◆ hasMTF7Trailer

bool l1t::EMTFDaqOut::hasMTF7Trailer
private

Definition at line 146 of file EMTFDaqOut.h.

Referenced by HasMTF7Trailer(), and set_MTF7Trailer().

◆ MECollection

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

Definition at line 152 of file EMTFDaqOut.h.

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

◆ MTF7Header

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

Definition at line 149 of file EMTFDaqOut.h.

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

◆ MTF7Trailer

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

Definition at line 156 of file EMTFDaqOut.h.

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

◆ numME

int l1t::EMTFDaqOut::numME
private

Definition at line 142 of file EMTFDaqOut.h.

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

◆ numRPC

int l1t::EMTFDaqOut::numRPC
private

Definition at line 143 of file EMTFDaqOut.h.

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

◆ numSP

int l1t::EMTFDaqOut::numSP
private

Definition at line 144 of file EMTFDaqOut.h.

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

◆ RPCCollection

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

Definition at line 153 of file EMTFDaqOut.h.

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

◆ SPCollection

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

Definition at line 154 of file EMTFDaqOut.h.

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

l1t::EMTFDaqOut::numRPC
int numRPC
Definition: EMTFDaqOut.h:143
l1t::EMTFDaqOut::numME
int numME
Definition: EMTFDaqOut.h:142
l1t::EMTFDaqOut::MTF7Trailer
emtf::MTF7Trailer MTF7Trailer
Definition: EMTFDaqOut.h:156
l1t::EMTFDaqOut::MECollection
emtf::MECollection MECollection
Definition: EMTFDaqOut.h:152
EventHeader
Definition: EventHeader.h:18
l1t::EMTFDaqOut::hasCounters
bool hasCounters
Definition: EMTFDaqOut.h:141
l1t::EMTFDaqOut::hasAMC13Trailer
bool hasAMC13Trailer
Definition: EMTFDaqOut.h:147
l1t::EMTFDaqOut::AMC13Trailer
emtf::AMC13Trailer AMC13Trailer
Definition: EMTFDaqOut.h:157
l1t::EMTFDaqOut::MTF7Header
emtf::MTF7Header MTF7Header
Definition: EMTFDaqOut.h:149
l1t::EMTFDaqOut::hasEventHeader
bool hasEventHeader
Definition: EMTFDaqOut.h:140
l1t::EMTFDaqOut::AMC13Header
emtf::AMC13Header AMC13Header
Definition: EMTFDaqOut.h:148
l1t::EMTFDaqOut::hasEventTrailer
bool hasEventTrailer
Definition: EMTFDaqOut.h:145
l1t::EMTFDaqOut::Counters
emtf::Counters Counters
Definition: EMTFDaqOut.h:151
l1t::EMTFDaqOut::dataword
uint64_t dataword
Definition: EMTFDaqOut.h:159
l1t::EMTFDaqOut::format_errors
int format_errors
Definition: EMTFDaqOut.h:158
l1t::EMTFDaqOut::numSP
int numSP
Definition: EMTFDaqOut.h:144
l1t::EMTFDaqOut::EventTrailer
emtf::EventTrailer EventTrailer
Definition: EMTFDaqOut.h:155
l1t::EMTFDaqOut::hasMTF7Trailer
bool hasMTF7Trailer
Definition: EMTFDaqOut.h:146
bits
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision bits
Definition: EventSelector-behavior.doc:35
l1t::EMTFDaqOut::SPCollection
emtf::SPCollection SPCollection
Definition: EMTFDaqOut.h:154
l1t::EMTFDaqOut::hasMTF7Header
bool hasMTF7Header
Definition: EMTFDaqOut.h:139
l1t::EMTFDaqOut::RPCCollection
emtf::RPCCollection RPCCollection
Definition: EMTFDaqOut.h:153
l1t::EMTFDaqOut::EventHeader
emtf::EventHeader EventHeader
Definition: EMTFDaqOut.h:150
l1t::EMTFDaqOut::hasAMC13Header
bool hasAMC13Header
Definition: EMTFDaqOut.h:138