CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Protected Attributes
L1AcceptBunchCrossing Class Reference

#include <L1AcceptBunchCrossing.h>

Public Types

enum  {
  ORBIT_NUMBER_SHIFT = 32ULL, ORBIT_NUMBER_MASK = 0xFFFFFFFFULL, BUNCH_CROSSING_SHIFT = 4ULL, BUNCH_CROSSING_MASK = 0xFFFULL,
  EVENT_TYPE_SHIFT = 0, EVENT_TYPE_MASK = 0xFULL
}
 

Public Member Functions

unsigned int bunchCrossing () const
 
bool empty () const
 empty method (= false) More...
 
unsigned int eventType () const
 
 L1AcceptBunchCrossing ()
 
 L1AcceptBunchCrossing (const int index, const unsigned long long data)
 
 L1AcceptBunchCrossing (const int l1AcceptOffset__, const unsigned int orbitNumber__, const unsigned int bunchCrossing__, const unsigned int eventType__)
 
int l1AcceptOffset () const
 
std::string name () const
 name method More...
 
int operator!= (const L1AcceptBunchCrossing &e) const
 inequality operator More...
 
int operator== (const L1AcceptBunchCrossing &e) const
 equality operator More...
 
unsigned int orbitNumber () const
 
virtual ~L1AcceptBunchCrossing ()
 

Protected Attributes

unsigned int bunchCrossing_
 
unsigned int eventType_
 
int l1AcceptOffset_
 
unsigned int orbitNumber_
 

Detailed Description

Definition at line 37 of file L1AcceptBunchCrossing.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
ORBIT_NUMBER_SHIFT 
ORBIT_NUMBER_MASK 
BUNCH_CROSSING_SHIFT 
BUNCH_CROSSING_MASK 
EVENT_TYPE_SHIFT 
EVENT_TYPE_MASK 

Definition at line 47 of file L1AcceptBunchCrossing.h.

47  {
48  ORBIT_NUMBER_SHIFT = 32ULL,
49  ORBIT_NUMBER_MASK = 0xFFFFFFFFULL,
50  BUNCH_CROSSING_SHIFT = 4ULL,
51  BUNCH_CROSSING_MASK = 0xFFFULL,
52  EVENT_TYPE_SHIFT = 0,
53  EVENT_TYPE_MASK = 0xFULL
54  };

Constructor & Destructor Documentation

◆ L1AcceptBunchCrossing() [1/3]

L1AcceptBunchCrossing::L1AcceptBunchCrossing ( )

Definition at line 9 of file L1AcceptBunchCrossing.cc.

◆ L1AcceptBunchCrossing() [2/3]

L1AcceptBunchCrossing::L1AcceptBunchCrossing ( const int  l1AcceptOffset__,
const unsigned int  orbitNumber__,
const unsigned int  bunchCrossing__,
const unsigned int  eventType__ 
)

Definition at line 12 of file L1AcceptBunchCrossing.cc.

16  : l1AcceptOffset_(l1AcceptOffset__),
17  orbitNumber_(orbitNumber__),
18  bunchCrossing_(bunchCrossing__),
19  eventType_(eventType__) {}

◆ L1AcceptBunchCrossing() [3/3]

L1AcceptBunchCrossing::L1AcceptBunchCrossing ( const int  index,
const unsigned long long  data 
)

◆ ~L1AcceptBunchCrossing()

L1AcceptBunchCrossing::~L1AcceptBunchCrossing ( )
virtual

Definition at line 28 of file L1AcceptBunchCrossing.cc.

28 {}

Member Function Documentation

◆ bunchCrossing()

unsigned int L1AcceptBunchCrossing::bunchCrossing ( ) const
inline

Definition at line 64 of file L1AcceptBunchCrossing.h.

64 { return (bunchCrossing_); }

References bunchCrossing_.

◆ empty()

bool L1AcceptBunchCrossing::empty ( ) const
inline

empty method (= false)

Definition at line 60 of file L1AcceptBunchCrossing.h.

60 { return false; }

◆ eventType()

unsigned int L1AcceptBunchCrossing::eventType ( ) const
inline

Definition at line 65 of file L1AcceptBunchCrossing.h.

65 { return (eventType_); }

References eventType_.

◆ l1AcceptOffset()

int L1AcceptBunchCrossing::l1AcceptOffset ( ) const
inline

Definition at line 62 of file L1AcceptBunchCrossing.h.

62 { return (l1AcceptOffset_); }

References l1AcceptOffset_.

◆ name()

std::string L1AcceptBunchCrossing::name ( ) const
inline

name method

Definition at line 57 of file L1AcceptBunchCrossing.h.

57 { return "L1AcceptBunchCrossing"; }

Referenced by config.CFG::__str__(), validation.Sample::digest(), and VIDSelectorBase.VIDSelectorBase::initialize().

◆ operator!=()

int L1AcceptBunchCrossing::operator!= ( const L1AcceptBunchCrossing e) const
inline

inequality operator

Definition at line 71 of file L1AcceptBunchCrossing.h.

71 { return false; }

◆ operator==()

int L1AcceptBunchCrossing::operator== ( const L1AcceptBunchCrossing e) const
inline

equality operator

Definition at line 68 of file L1AcceptBunchCrossing.h.

68 { return false; }

◆ orbitNumber()

unsigned int L1AcceptBunchCrossing::orbitNumber ( ) const
inline

Definition at line 63 of file L1AcceptBunchCrossing.h.

63 { return (orbitNumber_); }

References orbitNumber_.

Member Data Documentation

◆ bunchCrossing_

unsigned int L1AcceptBunchCrossing::bunchCrossing_
protected

Definition at line 76 of file L1AcceptBunchCrossing.h.

Referenced by bunchCrossing(), and L1AcceptBunchCrossing().

◆ eventType_

unsigned int L1AcceptBunchCrossing::eventType_
protected

Definition at line 77 of file L1AcceptBunchCrossing.h.

Referenced by eventType(), and L1AcceptBunchCrossing().

◆ l1AcceptOffset_

int L1AcceptBunchCrossing::l1AcceptOffset_
protected

Definition at line 74 of file L1AcceptBunchCrossing.h.

Referenced by L1AcceptBunchCrossing(), and l1AcceptOffset().

◆ orbitNumber_

unsigned int L1AcceptBunchCrossing::orbitNumber_
protected

Definition at line 75 of file L1AcceptBunchCrossing.h.

Referenced by L1AcceptBunchCrossing(), and orbitNumber().

L1AcceptBunchCrossing::eventType_
unsigned int eventType_
Definition: L1AcceptBunchCrossing.h:77
L1AcceptBunchCrossing::ORBIT_NUMBER_SHIFT
Definition: L1AcceptBunchCrossing.h:48
L1AcceptBunchCrossing::BUNCH_CROSSING_MASK
Definition: L1AcceptBunchCrossing.h:51
L1AcceptBunchCrossing::BUNCH_CROSSING_SHIFT
Definition: L1AcceptBunchCrossing.h:50
L1AcceptBunchCrossing::EVENT_TYPE_SHIFT
Definition: L1AcceptBunchCrossing.h:52
L1AcceptBunchCrossing::bunchCrossing_
unsigned int bunchCrossing_
Definition: L1AcceptBunchCrossing.h:76
createfilelist.int
int
Definition: createfilelist.py:10
L1AcceptBunchCrossing::ORBIT_NUMBER_MASK
Definition: L1AcceptBunchCrossing.h:49
L1AcceptBunchCrossing::orbitNumber_
unsigned int orbitNumber_
Definition: L1AcceptBunchCrossing.h:75
L1AcceptBunchCrossing::l1AcceptOffset_
int l1AcceptOffset_
Definition: L1AcceptBunchCrossing.h:74
data
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
AlignmentPI::index
index
Definition: AlignmentPayloadInspectorHelper.h:46
L1AcceptBunchCrossing::EVENT_TYPE_MASK
Definition: L1AcceptBunchCrossing.h:53