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 38 of file L1AcceptBunchCrossing.h.

Member Enumeration Documentation

anonymous enum

Constructor & Destructor Documentation

L1AcceptBunchCrossing::L1AcceptBunchCrossing ( )

Definition at line 9 of file L1AcceptBunchCrossing.cc.

9  :
10  l1AcceptOffset_(0),
11  orbitNumber_(0),
12  bunchCrossing_(0),
13  eventType_(0)
14 {
15 }
L1AcceptBunchCrossing::L1AcceptBunchCrossing ( const int  l1AcceptOffset__,
const unsigned int  orbitNumber__,
const unsigned int  bunchCrossing__,
const unsigned int  eventType__ 
)

Definition at line 17 of file L1AcceptBunchCrossing.cc.

20  :
21  l1AcceptOffset_(l1AcceptOffset__),
22  orbitNumber_(orbitNumber__),
23  bunchCrossing_(bunchCrossing__),
24  eventType_(eventType__)
25 {
26 }
L1AcceptBunchCrossing::L1AcceptBunchCrossing ( const int  index,
const unsigned long long  data 
)

Definition at line 28 of file L1AcceptBunchCrossing.cc.

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

L1AcceptBunchCrossing::~L1AcceptBunchCrossing ( )
virtual

Definition at line 40 of file L1AcceptBunchCrossing.cc.

40 { }

Member Function Documentation

unsigned int L1AcceptBunchCrossing::bunchCrossing ( ) const
inline

Definition at line 69 of file L1AcceptBunchCrossing.h.

References bunchCrossing_.

Referenced by operator<<().

69 { return(bunchCrossing_);}
bool L1AcceptBunchCrossing::empty ( ) const
inline

empty method (= false)

Definition at line 65 of file L1AcceptBunchCrossing.h.

Referenced by Vispa.Gui.VispaWidget.TextField::setAutosizeFont(), and Vispa.Gui.VispaWidget.TextField::setAutotruncate().

65 { return false; }
unsigned int L1AcceptBunchCrossing::eventType ( ) const
inline

Definition at line 70 of file L1AcceptBunchCrossing.h.

References eventType_.

Referenced by operator<<().

70 { return(eventType_);}
int L1AcceptBunchCrossing::l1AcceptOffset ( ) const
inline

Definition at line 67 of file L1AcceptBunchCrossing.h.

References l1AcceptOffset_.

Referenced by operator<<().

std::string L1AcceptBunchCrossing::name ( ) const
inline
int L1AcceptBunchCrossing::operator!= ( const L1AcceptBunchCrossing e) const
inline

inequality operator

Definition at line 76 of file L1AcceptBunchCrossing.h.

76 { return false; }
int L1AcceptBunchCrossing::operator== ( const L1AcceptBunchCrossing e) const
inline

equality operator

Definition at line 73 of file L1AcceptBunchCrossing.h.

73 { return false; }
unsigned int L1AcceptBunchCrossing::orbitNumber ( ) const
inline

Definition at line 68 of file L1AcceptBunchCrossing.h.

References orbitNumber_.

Referenced by operator<<().

68 { return(orbitNumber_);}

Member Data Documentation

unsigned int L1AcceptBunchCrossing::bunchCrossing_
protected

Definition at line 82 of file L1AcceptBunchCrossing.h.

Referenced by bunchCrossing(), and L1AcceptBunchCrossing().

unsigned int L1AcceptBunchCrossing::eventType_
protected

Definition at line 83 of file L1AcceptBunchCrossing.h.

Referenced by eventType(), and L1AcceptBunchCrossing().

int L1AcceptBunchCrossing::l1AcceptOffset_
protected

Definition at line 80 of file L1AcceptBunchCrossing.h.

Referenced by L1AcceptBunchCrossing(), and l1AcceptOffset().

unsigned int L1AcceptBunchCrossing::orbitNumber_
protected

Definition at line 81 of file L1AcceptBunchCrossing.h.

Referenced by L1AcceptBunchCrossing(), and orbitNumber().