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 l1AcceptOffset__, const unsigned int orbitNumber__, const unsigned int bunchCrossing__, const unsigned int eventType__)
 
 L1AcceptBunchCrossing (const int index, const unsigned long long data)
 
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

Constructor & Destructor Documentation

◆ L1AcceptBunchCrossing() [1/3]

L1AcceptBunchCrossing::L1AcceptBunchCrossing ( )

◆ 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 
)

Definition at line 21 of file L1AcceptBunchCrossing.cc.

References BUNCH_CROSSING_MASK, BUNCH_CROSSING_SHIFT, bunchCrossing_, data, EVENT_TYPE_MASK, EVENT_TYPE_SHIFT, eventType_, createfilelist::int, l1AcceptOffset_, ORBIT_NUMBER_MASK, ORBIT_NUMBER_SHIFT, and orbitNumber_.

◆ ~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.

References bunchCrossing_.

64 { return (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.

References eventType_.

65 { return (eventType_); }

◆ l1AcceptOffset()

int L1AcceptBunchCrossing::l1AcceptOffset ( ) const
inline

Definition at line 62 of file L1AcceptBunchCrossing.h.

References l1AcceptOffset_.

◆ name()

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

name method

Definition at line 57 of file L1AcceptBunchCrossing.h.

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

57 { return "L1AcceptBunchCrossing"; }

◆ 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.

References orbitNumber_.

63 { return (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().