RawBlockId.h File Reference

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

Go to the source code of this file.

Classes

class  RawBlockId

Functions

std::ostream & operator<< (std::ostream &os, const RawBlockId &rbid)
Bool_t operator== (const RawBlockId &lhs, const RawBlockId &rhs)
Bool_t operator!= (const RawBlockId &lhs, const RawBlockId &rhs)

Variables

const Int_t defaultRawBlockId = 0
const Int_t shiftRawBlkIdMinor = 0
const Int_t shiftRawBlkIdMajor = 8
const Int_t shiftRawBlkIdIsDCS = 24
const Int_t shiftRawBlkIdDetector = 25
const Int_t shiftRawBlkIdCSimFlag = 28
const Int_t maskRawBlkIdMinor = 0x000000ff
const Int_t maskRawBlkIdMajor = 0x00ffff00
const Int_t maskRawBlkIdIsDCS = 0x01000000
const Int_t maskRawBlkIdDetector = 0x0e000000
const Int_t maskRawBlkIdCSimFlag = 0x30000000

Function Documentation

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

Definition at line 104 of file RawBlockId.h.

References RawBlockId::fEncoded.

00105 { return (lhs.fEncoded) != (rhs.fEncoded); }

std::ostream& operator<< ( std::ostream &  os,
const RawBlockId rbid 
)

Definition at line 31 of file RawBlockId.cxx.

00032 { return rbid.FormatToOStream(os); }

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

Definition at line 101 of file RawBlockId.h.

References RawBlockId::fEncoded.

00102 { return (lhs.fEncoded) == (rhs.fEncoded); }


Variable Documentation

const Int_t defaultRawBlockId = 0

Definition at line 85 of file RawBlockId.h.

const Int_t maskRawBlkIdCSimFlag = 0x30000000
const Int_t maskRawBlkIdDetector = 0x0e000000
const Int_t maskRawBlkIdIsDCS = 0x01000000
const Int_t maskRawBlkIdMajor = 0x00ffff00
const Int_t maskRawBlkIdMinor = 0x000000ff
const Int_t shiftRawBlkIdCSimFlag = 28
const Int_t shiftRawBlkIdDetector = 25
const Int_t shiftRawBlkIdIsDCS = 24

Definition at line 89 of file RawBlockId.h.

Referenced by RawBlockId::IsDCS().

const Int_t shiftRawBlkIdMajor = 8
const Int_t shiftRawBlkIdMinor = 0

Generated on 8 Jul 2019 for loon by  doxygen 1.6.1