test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
l1t::emtf::Counters Class Reference

#include <Counters.h>

Public Member Functions

void add_format_error ()
 
 Counters (uint64_t dataword)
 
 Counters ()
 
 Counters (int int_track_counter, int int_orbit_counter, int int_rpc_counter)
 
uint64_t Dataword () const
 
int Format_Errors () const
 
int Orbit_counter () const
 
int RPC_counter () const
 
void set_dataword (uint64_t bits)
 
void set_orbit_counter (int bits)
 
void set_rpc_counter (int bits)
 
void set_track_counter (int bits)
 
int Track_counter () const
 
virtual ~Counters ()
 

Private Attributes

uint64_t dataword
 
int format_errors
 
int orbit_counter
 
int rpc_counter
 
int track_counter
 

Detailed Description

Definition at line 10 of file Counters.h.

Constructor & Destructor Documentation

l1t::emtf::Counters::Counters ( uint64_t  dataword)
explicit
l1t::emtf::Counters::Counters ( )
inline

Definition at line 16 of file Counters.h.

16  :
18  {};
uint64_t dataword
Definition: Counters.h:43
l1t::emtf::Counters::Counters ( int  int_track_counter,
int  int_orbit_counter,
int  int_rpc_counter 
)
inline

Definition at line 20 of file Counters.h.

20  :
21  track_counter(int_track_counter), orbit_counter(int_orbit_counter), rpc_counter(int_rpc_counter), format_errors(0), dataword(-99)
22  {};
uint64_t dataword
Definition: Counters.h:43
virtual l1t::emtf::Counters::~Counters ( )
inlinevirtual

Definition at line 24 of file Counters.h.

24 {};

Member Function Documentation

void l1t::emtf::Counters::add_format_error ( )
inline

Definition at line 29 of file Counters.h.

References format_errors.

Referenced by l1t::stage2::emtf::CountersBlockUnpacker::unpack().

29 { format_errors += 1; }
uint64_t l1t::emtf::Counters::Dataword ( ) const
inline

Definition at line 36 of file Counters.h.

References dataword.

36 { return dataword; }
uint64_t dataword
Definition: Counters.h:43
int l1t::emtf::Counters::Format_Errors ( ) const
inline

Definition at line 35 of file Counters.h.

References format_errors.

Referenced by l1t::stage2::emtf::CountersBlockUnpacker::unpack().

35 { return format_errors; }
int l1t::emtf::Counters::Orbit_counter ( ) const
inline

Definition at line 33 of file Counters.h.

References orbit_counter.

33 { return orbit_counter; }
int l1t::emtf::Counters::RPC_counter ( ) const
inline

Definition at line 34 of file Counters.h.

References rpc_counter.

34 { return rpc_counter; }
void l1t::emtf::Counters::set_dataword ( uint64_t  bits)
inline

Definition at line 30 of file Counters.h.

References bits.

30 { dataword = bits; }
uint64_t dataword
Definition: Counters.h:43
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
void l1t::emtf::Counters::set_orbit_counter ( int  bits)
inline

Definition at line 27 of file Counters.h.

References bits, and orbit_counter.

Referenced by l1t::stage2::emtf::CountersBlockUnpacker::unpack().

27 { orbit_counter = 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
void l1t::emtf::Counters::set_rpc_counter ( int  bits)
inline

Definition at line 28 of file Counters.h.

References bits, and rpc_counter.

28 { rpc_counter = 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
void l1t::emtf::Counters::set_track_counter ( int  bits)
inline

Definition at line 26 of file Counters.h.

References bits, and track_counter.

Referenced by l1t::stage2::emtf::CountersBlockUnpacker::unpack().

26 { track_counter = 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
int l1t::emtf::Counters::Track_counter ( ) const
inline

Definition at line 32 of file Counters.h.

References track_counter.

32 { return track_counter; }

Member Data Documentation

uint64_t l1t::emtf::Counters::dataword
private

Definition at line 43 of file Counters.h.

Referenced by Dataword().

int l1t::emtf::Counters::format_errors
private

Definition at line 42 of file Counters.h.

Referenced by add_format_error(), and Format_Errors().

int l1t::emtf::Counters::orbit_counter
private

Definition at line 40 of file Counters.h.

Referenced by Orbit_counter(), and set_orbit_counter().

int l1t::emtf::Counters::rpc_counter
private

Definition at line 41 of file Counters.h.

Referenced by RPC_counter(), and set_rpc_counter().

int l1t::emtf::Counters::track_counter
private

Definition at line 39 of file Counters.h.

Referenced by set_track_counter(), and Track_counter().