PlexLedId.h File Reference

#include <iosfwd>
#include "Conventions/Detector.h"
#include "Conventions/ElecType.h"

Go to the source code of this file.

Classes

class  PlexLedId

Functions

std::ostream & operator<< (std::ostream &os, const PlexLedId &p)
Bool_t operator< (const PlexLedId &lhs, const PlexLedId &rhs)
Bool_t operator<= (const PlexLedId &lhs, const PlexLedId &rhs)
Bool_t operator== (const PlexLedId &lhs, const PlexLedId &rhs)
Bool_t operator!= (const PlexLedId &lhs, const PlexLedId &rhs)
Bool_t operator> (const PlexLedId &lhs, const PlexLedId &rhs)
Bool_t operator>= (const PlexLedId &lhs, const PlexLedId &rhs)

Variables

const UInt_t defaultPlexLedId = 0
const UInt_t bitsPlexLedIdLedInBox = 6
const UInt_t bitsPlexLedIdPulserBox = 5
const UInt_t bitsPlexLedIdDetector = 4
const UInt_t maskPlexLedIdLedInBox = 0x0000003f
const UInt_t shftPlexLedIdLedInBox = 0
const UInt_t maskPlexLedIdPulserBox = 0x000007C0
const UInt_t shftPlexLedIdPulserBox = 6
const UInt_t maskPlexLedIdDetector = 0x00007800
const UInt_t shftPlexLedIdDetector = 11

Function Documentation

Bool_t operator!= ( const PlexLedId lhs,
const PlexLedId rhs 
) [inline]

Definition at line 112 of file PlexLedId.h.

References PlexLedId::fEncoded.

00113 { return lhs.fEncoded != rhs.fEncoded; }

Bool_t operator< ( const PlexLedId lhs,
const PlexLedId rhs 
) [inline]

Definition at line 103 of file PlexLedId.h.

References PlexLedId::fEncoded.

00104 { return lhs.fEncoded <  rhs.fEncoded; }

std::ostream& operator<< ( std::ostream &  os,
const PlexLedId p 
)
Bool_t operator<= ( const PlexLedId lhs,
const PlexLedId rhs 
) [inline]

Definition at line 106 of file PlexLedId.h.

References PlexLedId::fEncoded.

00107 { return lhs.fEncoded <= rhs.fEncoded; }

Bool_t operator== ( const PlexLedId lhs,
const PlexLedId rhs 
) [inline]

Definition at line 109 of file PlexLedId.h.

References PlexLedId::fEncoded.

00110 { return lhs.fEncoded == rhs.fEncoded; }

Bool_t operator> ( const PlexLedId lhs,
const PlexLedId rhs 
) [inline]

Definition at line 115 of file PlexLedId.h.

References PlexLedId::fEncoded.

00116 { return lhs.fEncoded >  rhs.fEncoded; }

Bool_t operator>= ( const PlexLedId lhs,
const PlexLedId rhs 
) [inline]

Definition at line 118 of file PlexLedId.h.

References PlexLedId::fEncoded.

00119 { return lhs.fEncoded >= rhs.fEncoded; }


Variable Documentation

const UInt_t bitsPlexLedIdDetector = 4

Definition at line 92 of file PlexLedId.h.

const UInt_t bitsPlexLedIdLedInBox = 6

Definition at line 90 of file PlexLedId.h.

const UInt_t bitsPlexLedIdPulserBox = 5

Definition at line 91 of file PlexLedId.h.

const UInt_t defaultPlexLedId = 0

Definition at line 88 of file PlexLedId.h.

Referenced by PlexLedId::IsValid().

const UInt_t maskPlexLedIdDetector = 0x00007800

Definition at line 98 of file PlexLedId.h.

Referenced by PlexLedId::GetDetector(), and PlexLedId::SetDetector().

const UInt_t maskPlexLedIdLedInBox = 0x0000003f

Definition at line 94 of file PlexLedId.h.

Referenced by PlexLedId::GetLedInBox(), and PlexLedId::SetLedInBox().

const UInt_t maskPlexLedIdPulserBox = 0x000007C0

Definition at line 96 of file PlexLedId.h.

Referenced by PlexLedId::GetPulserBox(), and PlexLedId::SetPulserBox().

const UInt_t shftPlexLedIdDetector = 11

Definition at line 99 of file PlexLedId.h.

Referenced by PlexLedId::GetDetector(), and PlexLedId::SetDetector().

const UInt_t shftPlexLedIdLedInBox = 0

Definition at line 95 of file PlexLedId.h.

Referenced by PlexLedId::GetLedInBox(), and PlexLedId::SetLedInBox().

const UInt_t shftPlexLedIdPulserBox = 6

Definition at line 97 of file PlexLedId.h.

Referenced by PlexLedId::GetPulserBox(), and PlexLedId::SetPulserBox().


Generated on 8 Jul 2019 for loon by  doxygen 1.6.1