RawChannelId.cxx File Reference

#include "RawData/RawChannelId.h"
#include "TBuffer.h"
#include "TClass.h"
#include <cassert>
#include <iomanip>
#include "MessageService/MsgService.h"

Go to the source code of this file.

Functions

 CVSID ("$Id: RawChannelId.cxx,v 1.38 2013/07/30 20:10:07 rhatcher Exp $")
std::ostream & operator<< (std::ostream &os, const RawChannelId &rcid)

Variables

const UInt_t bitsChAdd = 13
const UInt_t bitsCrate = 6
const UInt_t maskRCIDVersion = 0x80000000
const UInt_t maskChAdd = 0x00001fff
const UInt_t shiftChAdd = 0
const UInt_t maskCrate = 0x0007e000
const UInt_t shiftCrate = 13
const UInt_t maskElec = 0x00180000
const UInt_t shiftElec = 19
const UInt_t maskPedMode = 0x00200000
const UInt_t maskSparsMode = 0x00400000
const UInt_t maskComMode = 0x00800000
const UInt_t maskDetector = 0x0F000000
const UInt_t shiftDetector = 24
const UInt_t zeroChAdd = ~maskChAdd
const UInt_t zeroCrate = ~maskCrate
const UInt_t zeroElec = ~maskElec
const UInt_t zeroModeBits = ~(maskPedMode|maskSparsMode|maskComMode)
const UInt_t zeroDetector = ~maskDetector
const UInt_t bitsQieMinderCh = 5
const UInt_t bitsQieMasterCh = 3
const UInt_t bitsQieGeoAddr = 5
const UInt_t maskQieMinderCh = 0x001f
const UInt_t maskQieMasterCh = 0x0007
const UInt_t maskQieGeoAddr = 0x001f
const UInt_t shiftQieMinderCh = 0
const UInt_t shiftQieMasterCh = shiftQieMinderCh + bitsQieMinderCh
const UInt_t shiftQieGeoAddr = shiftQieMasterCh + bitsQieMasterCh
const UInt_t zeroQieGeoAddr = ~(maskQieGeoAddr <<shiftQieGeoAddr )
const UInt_t zeroQieMasterCh = ~(maskQieMasterCh<<shiftQieMasterCh)
const UInt_t zeroQieMinderCh = ~(maskQieMinderCh<<shiftQieMinderCh)
const UInt_t bitsVaVaChannel = 5
const UInt_t bitsVaVaChip = 2
const UInt_t bitsVaAdcSel = 1
const UInt_t bitsVaVmm = 3
const UInt_t bitsVaVarcId = 2
const UInt_t bitsVaVfb = 4
const UInt_t maskVaVaChannel = 0x001f
const UInt_t maskVaVaChip = 0x0003
const UInt_t maskVaAdcSel = 0x0001
const UInt_t maskVaVmm = 0x0007
const UInt_t maskVaVarcId = 0x0003
const UInt_t maskVaVfb = 0x000f
const UInt_t shiftVaVaChannel = 0
const UInt_t shiftVaVaChip = shiftVaVaChannel + bitsVaVaChannel
const UInt_t shiftVaAdcSel = shiftVaVaChip + bitsVaVaChip
const UInt_t shiftVaVmm = shiftVaAdcSel + bitsVaAdcSel
const UInt_t shiftVaVarcId = shiftVaVmm + bitsVaVmm
const UInt_t shiftVaVfb = shiftVaAdcSel
const UInt_t zeroVaVarcId = ~(maskVaVarcId <<shiftVaVarcId )
const UInt_t zeroVaVmm = ~(maskVaVmm <<shiftVaVmm )
const UInt_t zeroVaAdcSel = ~(maskVaAdcSel <<shiftVaAdcSel )
const UInt_t zeroVaVaChip = ~(maskVaVaChip <<shiftVaVaChip )
const UInt_t zeroVaVaChannel = ~(maskVaVaChannel<<shiftVaVaChannel)
const UInt_t zeroVaVfb = ~(maskVaVfb <<shiftVaVfb )
const UShort_t badUShort = 0xffff

Function Documentation

CVSID ( "$Id: RawChannelId.  cxx,
v 1.38 2013/07/30 20:10:07 rhatcher Exp $"   
)
std::ostream& operator<< ( std::ostream &  os,
const RawChannelId rcid 
)

Definition at line 114 of file RawChannelId.cxx.

00115 { return rcid.FormatToOStream(os); }


Variable Documentation

const UShort_t badUShort = 0xffff
const UInt_t bitsChAdd = 13

Definition at line 48 of file RawChannelId.cxx.

const UInt_t bitsCrate = 6

Definition at line 49 of file RawChannelId.cxx.

const UInt_t bitsQieGeoAddr = 5

Definition at line 72 of file RawChannelId.cxx.

const UInt_t bitsQieMasterCh = 3

Definition at line 71 of file RawChannelId.cxx.

const UInt_t bitsQieMinderCh = 5

Definition at line 70 of file RawChannelId.cxx.

const UInt_t bitsVaAdcSel = 1

Definition at line 86 of file RawChannelId.cxx.

const UInt_t bitsVaVaChannel = 5

Definition at line 84 of file RawChannelId.cxx.

const UInt_t bitsVaVaChip = 2

Definition at line 85 of file RawChannelId.cxx.

const UInt_t bitsVaVarcId = 2

Definition at line 88 of file RawChannelId.cxx.

const UInt_t bitsVaVfb = 4

Definition at line 89 of file RawChannelId.cxx.

const UInt_t bitsVaVmm = 3

Definition at line 87 of file RawChannelId.cxx.

const UInt_t maskChAdd = 0x00001fff
const UInt_t maskComMode = 0x00800000

Definition at line 60 of file RawChannelId.cxx.

const UInt_t maskCrate = 0x0007e000
const UInt_t maskDetector = 0x0F000000
const UInt_t maskElec = 0x00180000
const UInt_t maskPedMode = 0x00200000

Definition at line 58 of file RawChannelId.cxx.

const UInt_t maskQieGeoAddr = 0x001f
const UInt_t maskQieMasterCh = 0x0007
const UInt_t maskQieMinderCh = 0x001f
const UInt_t maskRCIDVersion = 0x80000000
const UInt_t maskSparsMode = 0x00400000

Definition at line 59 of file RawChannelId.cxx.

const UInt_t maskVaAdcSel = 0x0001
const UInt_t maskVaVaChannel = 0x001f
const UInt_t maskVaVaChip = 0x0003
const UInt_t maskVaVarcId = 0x0003
const UInt_t maskVaVfb = 0x000f

Definition at line 95 of file RawChannelId.cxx.

Referenced by RawChannelId::GetVfb().

const UInt_t maskVaVmm = 0x0007
const UInt_t shiftChAdd = 0
const UInt_t shiftCrate = 13
const UInt_t shiftDetector = 24
const UInt_t shiftElec = 19

Definition at line 57 of file RawChannelId.cxx.

Referenced by RawChannelId::GetElecType(), and RawChannelId::SetElecType().

const UInt_t shiftQieMinderCh = 0
const UInt_t shiftVaVaChannel = 0
const UInt_t shiftVaVfb = shiftVaAdcSel

Definition at line 102 of file RawChannelId.cxx.

Referenced by RawChannelId::GetVfb().

const UInt_t zeroChAdd = ~maskChAdd

Definition at line 64 of file RawChannelId.cxx.

Referenced by RawChannelId::SetChAdd().

const UInt_t zeroCrate = ~maskCrate

Definition at line 65 of file RawChannelId.cxx.

Referenced by RawChannelId::SetCrate().

const UInt_t zeroDetector = ~maskDetector
const UInt_t zeroElec = ~maskElec

Definition at line 66 of file RawChannelId.cxx.

Referenced by RawChannelId::SetElecType().

Definition at line 80 of file RawChannelId.cxx.

Referenced by RawChannelId::SetGeographicAddress().

Definition at line 81 of file RawChannelId.cxx.

Referenced by RawChannelId::SetMasterChannel().

Definition at line 82 of file RawChannelId.cxx.

Referenced by RawChannelId::IsSameMinder(), and RawChannelId::SetMinderChannel().

const UInt_t zeroVaAdcSel = ~(maskVaAdcSel <<shiftVaAdcSel )

Definition at line 106 of file RawChannelId.cxx.

Referenced by RawChannelId::SetVaAdcSel().

const UInt_t zeroVaVaChip = ~(maskVaVaChip <<shiftVaVaChip )

Definition at line 107 of file RawChannelId.cxx.

Referenced by RawChannelId::IsSameVfb(), and RawChannelId::SetVaChip().

const UInt_t zeroVaVarcId = ~(maskVaVarcId <<shiftVaVarcId )

Definition at line 104 of file RawChannelId.cxx.

Referenced by RawChannelId::SetVarcId().

const UInt_t zeroVaVfb = ~(maskVaVfb <<shiftVaVfb )

Definition at line 109 of file RawChannelId.cxx.

const UInt_t zeroVaVmm = ~(maskVaVmm <<shiftVaVmm )

Definition at line 105 of file RawChannelId.cxx.

Referenced by RawChannelId::SetVmm().


Generated on 24 Jul 2018 for loon by  doxygen 1.6.1