Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

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.37 2005/08/26 19:04:53 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.37 2005/08/26 19:04:53 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
 

Definition at line 111 of file RawChannelId.cxx.

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
 

Definition at line 52 of file RawChannelId.cxx.

Referenced by RawChannelId::IsSameCrate().

const UInt_t maskComMode = 0x00800000
 

Definition at line 60 of file RawChannelId.cxx.

const UInt_t maskCrate = 0x0007e000
 

Definition at line 54 of file RawChannelId.cxx.

const UInt_t maskDetector = 0x0F000000
 

Definition at line 61 of file RawChannelId.cxx.

const UInt_t maskElec = 0x00180000
 

Definition at line 56 of file RawChannelId.cxx.

Referenced by RawChannelId::RawChannelId().

const UInt_t maskPedMode = 0x00200000
 

Definition at line 58 of file RawChannelId.cxx.

const UInt_t maskQieGeoAddr = 0x001f
 

Definition at line 75 of file RawChannelId.cxx.

Referenced by RawChannelId::RawChannelId().

const UInt_t maskQieMasterCh = 0x0007
 

Definition at line 74 of file RawChannelId.cxx.

const UInt_t maskQieMinderCh = 0x001f
 

Definition at line 73 of file RawChannelId.cxx.

const UInt_t maskRCIDVersion = 0x80000000
 

Definition at line 51 of file RawChannelId.cxx.

const UInt_t maskSparsMode = 0x00400000
 

Definition at line 59 of file RawChannelId.cxx.

const UInt_t maskVaAdcSel = 0x0001
 

Definition at line 92 of file RawChannelId.cxx.

const UInt_t maskVaVaChannel = 0x001f
 

Definition at line 90 of file RawChannelId.cxx.

const UInt_t maskVaVaChip = 0x0003
 

Definition at line 91 of file RawChannelId.cxx.

const UInt_t maskVaVarcId = 0x0003
 

Definition at line 94 of file RawChannelId.cxx.

const UInt_t maskVaVfb = 0x000f
 

Definition at line 95 of file RawChannelId.cxx.

const UInt_t maskVaVmm = 0x0007
 

Definition at line 93 of file RawChannelId.cxx.

const UInt_t shiftChAdd = 0
 

Definition at line 53 of file RawChannelId.cxx.

const UInt_t shiftCrate = 13
 

Definition at line 55 of file RawChannelId.cxx.

const UInt_t shiftDetector = 24
 

Definition at line 62 of file RawChannelId.cxx.

Referenced by RawChannelId::SetDetector().

const UInt_t shiftElec = 19
 

Definition at line 57 of file RawChannelId.cxx.

const UInt_t shiftQieGeoAddr = shiftQieMasterCh + bitsQieMasterCh
 

Definition at line 78 of file RawChannelId.cxx.

const UInt_t shiftQieMasterCh = shiftQieMinderCh + bitsQieMinderCh
 

Definition at line 77 of file RawChannelId.cxx.

Referenced by RawChannelId::CalcChAdd().

const UInt_t shiftQieMinderCh = 0
 

Definition at line 76 of file RawChannelId.cxx.

Referenced by RawChannelId::CalcChAdd().

const UInt_t shiftVaAdcSel = shiftVaVaChip + bitsVaVaChip
 

Definition at line 99 of file RawChannelId.cxx.

Referenced by RawChannelId::CalcChAdd().

const UInt_t shiftVaVaChannel = 0
 

Definition at line 97 of file RawChannelId.cxx.

Referenced by RawChannelId::CalcChAdd().

const UInt_t shiftVaVaChip = shiftVaVaChannel + bitsVaVaChannel
 

Definition at line 98 of file RawChannelId.cxx.

Referenced by RawChannelId::CalcChAdd().

const UInt_t shiftVaVarcId = shiftVaVmm + bitsVaVmm
 

Definition at line 101 of file RawChannelId.cxx.

const UInt_t shiftVaVfb = shiftVaAdcSel
 

Definition at line 102 of file RawChannelId.cxx.

const UInt_t shiftVaVmm = shiftVaAdcSel + bitsVaAdcSel
 

Definition at line 100 of file RawChannelId.cxx.

Referenced by RawChannelId::CalcChAdd().

const UInt_t zeroChAdd = ~maskChAdd
 

Definition at line 64 of file RawChannelId.cxx.

const UInt_t zeroCrate = ~maskCrate
 

Definition at line 65 of file RawChannelId.cxx.

const UInt_t zeroDetector = ~maskDetector
 

Definition at line 68 of file RawChannelId.cxx.

const UInt_t zeroElec = ~maskElec
 

Definition at line 66 of file RawChannelId.cxx.

const UInt_t zeroModeBits = ~(maskPedMode|maskSparsMode|maskComMode)
 

Definition at line 67 of file RawChannelId.cxx.

Referenced by RawChannelId::IsSameCrate(), RawChannelId::IsSameMinder(), RawChannelId::IsSameVAChip(), and RawChannelId::IsSameVfb().

const UInt_t zeroQieGeoAddr = ~(maskQieGeoAddr <<shiftQieGeoAddr )
 

Definition at line 80 of file RawChannelId.cxx.

const UInt_t zeroQieMasterCh = ~(maskQieMasterCh<<shiftQieMasterCh)
 

Definition at line 81 of file RawChannelId.cxx.

const UInt_t zeroQieMinderCh = ~(maskQieMinderCh<<shiftQieMinderCh)
 

Definition at line 82 of file RawChannelId.cxx.

const UInt_t zeroVaAdcSel = ~(maskVaAdcSel <<shiftVaAdcSel )
 

Definition at line 106 of file RawChannelId.cxx.

const UInt_t zeroVaVaChannel = ~(maskVaVaChannel<<shiftVaVaChannel)
 

Definition at line 108 of file RawChannelId.cxx.

Referenced by RawChannelId::IsSameVfb().

const UInt_t zeroVaVaChip = ~(maskVaVaChip <<shiftVaVaChip )
 

Definition at line 107 of file RawChannelId.cxx.

const UInt_t zeroVaVarcId = ~(maskVaVarcId <<shiftVaVarcId )
 

Definition at line 104 of file RawChannelId.cxx.

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.


Generated on Mon Feb 15 11:08:09 2010 for loon by  doxygen 1.3.9.1