CMS 3D CMS Logo

Public Types | Public Member Functions | Protected Attributes

L1AcceptBunchCrossing Class Reference

#include <L1AcceptBunchCrossing.h>

List of all members.

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)
unsigned int eventType () const
 L1AcceptBunchCrossing (const int l1AcceptOffset__, const unsigned int orbitNumber__, const unsigned int bunchCrossing__, const unsigned int eventType__)
 L1AcceptBunchCrossing ()
 L1AcceptBunchCrossing (const int index, const unsigned long long data)
int l1AcceptOffset () const
std::string name () const
 name method
int operator!= (const L1AcceptBunchCrossing &e) const
 inequality operator
int operator== (const L1AcceptBunchCrossing &e) const
 equality operator
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
Enumerator:
ORBIT_NUMBER_SHIFT 
ORBIT_NUMBER_MASK 
BUNCH_CROSSING_SHIFT 
BUNCH_CROSSING_MASK 
EVENT_TYPE_SHIFT 
EVENT_TYPE_MASK 

Definition at line 51 of file L1AcceptBunchCrossing.h.

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

Constructor & Destructor Documentation

L1AcceptBunchCrossing::L1AcceptBunchCrossing ( )

Definition at line 9 of file L1AcceptBunchCrossing.cc.

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.

                                                                             : 
  l1AcceptOffset_(l1AcceptOffset__),
  orbitNumber_(orbitNumber__),
  bunchCrossing_(bunchCrossing__),
  eventType_(eventType__)
{ 
}
L1AcceptBunchCrossing::L1AcceptBunchCrossing ( const int  index,
const unsigned long long  data 
)
L1AcceptBunchCrossing::~L1AcceptBunchCrossing ( ) [virtual]

Definition at line 40 of file L1AcceptBunchCrossing.cc.

{ } 

Member Function Documentation

unsigned int L1AcceptBunchCrossing::bunchCrossing ( ) const [inline]

Definition at line 69 of file L1AcceptBunchCrossing.h.

References bunchCrossing_.

Referenced by operator<<().

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

empty method (= false)

Definition at line 65 of file L1AcceptBunchCrossing.h.

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

Definition at line 70 of file L1AcceptBunchCrossing.h.

References eventType_.

Referenced by operator<<().

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

Definition at line 67 of file L1AcceptBunchCrossing.h.

References l1AcceptOffset_.

Referenced by operator<<().

{ return(l1AcceptOffset_);}
std::string L1AcceptBunchCrossing::name ( ) const [inline]

name method

Definition at line 62 of file L1AcceptBunchCrossing.h.

{ return "L1AcceptBunchCrossing"; }
int L1AcceptBunchCrossing::operator!= ( const L1AcceptBunchCrossing e) const [inline]

inequality operator

Definition at line 76 of file L1AcceptBunchCrossing.h.

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

equality operator

Definition at line 73 of file L1AcceptBunchCrossing.h.

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

Definition at line 68 of file L1AcceptBunchCrossing.h.

References orbitNumber_.

Referenced by operator<<().

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

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().