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

PlexPlaneId.h File Reference

#include <iosfwd>
#include "Conventions/Detector.h"
#include "Conventions/PlaneView.h"
#include "Conventions/PlaneCoverage.h"

Go to the source code of this file.

Classes

class  PlexPlaneId

Functions

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

Variables

const UInt_t defaultPlexPlaneId = 0xffffffff
const UInt_t defaultPlexStripEndId = defaultPlexPlaneId
const UInt_t defaultPlexScintMdlId = defaultPlexPlaneId
const UInt_t maskPlexIdDetector = 0x70000000
const UInt_t shftPlexIdDetector = 28
const UInt_t maskPlexIdPlane = 0x0FFC0000
const UInt_t shftPlexIdPlane = 18
const UInt_t maskPlexIdIsSteel = 0x00020000
const UInt_t maskPlexIdView = 0x0001C000
const UInt_t shftPlexIdView = 14
const UInt_t bitsPlexIdView = 3
const UInt_t maskPlexIdCoverage = 0x00003000
const UInt_t shftPlexIdCoverage = 12
const UInt_t bitsPlexIdCoverage = 2
const UInt_t maskPlexIdStrip = 0x00000FF0
const UInt_t shftPlexIdStrip = 4
const UInt_t bitsPlexIdStrip = 8
const UInt_t maskPlexIdScintMdl = maskPlexIdStrip
const UInt_t shftPlexIdScintMdl = shftPlexIdStrip
const UInt_t maskPlexIdSubPart = 0x0000000C
const UInt_t shftPlexIdSubPart = 2
const UInt_t maskPlexIdEnd = 0x00000003
const UInt_t shftPlexIdEnd = 0
const UInt_t zeroPlexIdStripInfo
const UInt_t maskPlexIdIsVetoShield = (512 << shftPlexIdPlane)
const UInt_t shftPlexIdVetoSection = 6
const UInt_t maskPlexIdIsFar
const UInt_t setPlexIdVSView = (1 << bitsPlexIdView)
const UInt_t setPlexIdVSCoverage = (1 << bitsPlexIdCoverage)
const UInt_t setPlexIdVSCoverage2 = (setPlexIdVSCoverage << 1)
const UInt_t maskPlexIdVSCoverage2 = 0x80000000
const UInt_t maskPlexIdIsNear


Function Documentation

Bool_t operator!= const PlexPlaneId lhs,
const PlexPlaneId rhs
[inline]
 

Definition at line 221 of file PlexPlaneId.h.

References PlexPlaneId::fEncoded.

00222 { return (lhs.fEncoded&zeroPlexIdStripInfo) != (rhs.fEncoded&zeroPlexIdStripInfo); }

Bool_t operator< const PlexPlaneId lhs,
const PlexPlaneId rhs
[inline]
 

Definition at line 212 of file PlexPlaneId.h.

References PlexPlaneId::fEncoded.

00213 { return (lhs.fEncoded&zeroPlexIdStripInfo) <  (rhs.fEncoded&zeroPlexIdStripInfo); }

std::ostream& operator<< std::ostream &  os,
const PlexPlaneId p
 

Bool_t operator<= const PlexPlaneId lhs,
const PlexPlaneId rhs
[inline]
 

Definition at line 215 of file PlexPlaneId.h.

References PlexPlaneId::fEncoded.

00216 { return (lhs.fEncoded&zeroPlexIdStripInfo) <= (rhs.fEncoded&zeroPlexIdStripInfo); }

Bool_t operator== const PlexPlaneId lhs,
const PlexPlaneId rhs
[inline]
 

Definition at line 218 of file PlexPlaneId.h.

References PlexPlaneId::fEncoded.

00219 { return (lhs.fEncoded&zeroPlexIdStripInfo) == (rhs.fEncoded&zeroPlexIdStripInfo); }

Bool_t operator> const PlexPlaneId lhs,
const PlexPlaneId rhs
[inline]
 

Definition at line 224 of file PlexPlaneId.h.

References PlexPlaneId::fEncoded.

00225 { return (lhs.fEncoded&zeroPlexIdStripInfo) >  (rhs.fEncoded&zeroPlexIdStripInfo); }

Bool_t operator>= const PlexPlaneId lhs,
const PlexPlaneId rhs
[inline]
 

Definition at line 227 of file PlexPlaneId.h.

References PlexPlaneId::fEncoded.

00228 { return (lhs.fEncoded&zeroPlexIdStripInfo) >= (rhs.fEncoded&zeroPlexIdStripInfo); }


Variable Documentation

const UInt_t bitsPlexIdCoverage = 2
 

Definition at line 176 of file PlexPlaneId.h.

const UInt_t bitsPlexIdStrip = 8
 

Definition at line 179 of file PlexPlaneId.h.

Referenced by CDTruthifier::GetTruthHitInfo().

const UInt_t bitsPlexIdView = 3
 

Definition at line 173 of file PlexPlaneId.h.

const UInt_t defaultPlexPlaneId = 0xffffffff
 

Definition at line 162 of file PlexPlaneId.h.

Referenced by PlexPlaneId::PlexPlaneId().

const UInt_t defaultPlexScintMdlId = defaultPlexPlaneId
 

Definition at line 164 of file PlexPlaneId.h.

Referenced by PlexScintMdlId::PlexScintMdlId().

const UInt_t defaultPlexStripEndId = defaultPlexPlaneId
 

Definition at line 163 of file PlexPlaneId.h.

const UInt_t maskPlexIdCoverage = 0x00003000
 

Definition at line 174 of file PlexPlaneId.h.

Referenced by PlexPlaneId::SetPlaneCoverage().

const UInt_t maskPlexIdDetector = 0x70000000
 

Definition at line 166 of file PlexPlaneId.h.

const UInt_t maskPlexIdEnd = 0x00000003
 

Definition at line 184 of file PlexPlaneId.h.

Referenced by PlexStripEndId::GetUniqueStripEncodedValue().

const UInt_t maskPlexIdIsFar
 

Initial value:

   (Detector::kFar << shftPlexIdDetector)

Definition at line 195 of file PlexPlaneId.h.

const UInt_t maskPlexIdIsNear
 

Initial value:

   (Detector::kNear << shftPlexIdDetector)

Definition at line 202 of file PlexPlaneId.h.

const UInt_t maskPlexIdIsSteel = 0x00020000
 

Definition at line 170 of file PlexPlaneId.h.

const UInt_t maskPlexIdIsVetoShield = (512 << shftPlexIdPlane)
 

Definition at line 192 of file PlexPlaneId.h.

const UInt_t maskPlexIdPlane = 0x0FFC0000
 

Definition at line 168 of file PlexPlaneId.h.

const UInt_t maskPlexIdScintMdl = maskPlexIdStrip
 

Definition at line 180 of file PlexPlaneId.h.

const UInt_t maskPlexIdStrip = 0x00000FF0
 

Definition at line 177 of file PlexPlaneId.h.

Referenced by PlexStripEndId::Unbuild18BitPlnStripKey().

const UInt_t maskPlexIdSubPart = 0x0000000C
 

Definition at line 182 of file PlexPlaneId.h.

Referenced by PlexScintMdlId::PlexScintMdlId().

const UInt_t maskPlexIdView = 0x0001C000
 

Definition at line 171 of file PlexPlaneId.h.

const UInt_t maskPlexIdVSCoverage2 = 0x80000000
 

Definition at line 200 of file PlexPlaneId.h.

const UInt_t setPlexIdVSCoverage = (1 << bitsPlexIdCoverage)
 

Definition at line 198 of file PlexPlaneId.h.

const UInt_t setPlexIdVSCoverage2 = (setPlexIdVSCoverage << 1)
 

Definition at line 199 of file PlexPlaneId.h.

const UInt_t setPlexIdVSView = (1 << bitsPlexIdView)
 

Definition at line 197 of file PlexPlaneId.h.

const UInt_t shftPlexIdCoverage = 12
 

Definition at line 175 of file PlexPlaneId.h.

const UInt_t shftPlexIdDetector = 28
 

Definition at line 167 of file PlexPlaneId.h.

const UInt_t shftPlexIdEnd = 0
 

Definition at line 185 of file PlexPlaneId.h.

const UInt_t shftPlexIdPlane = 18
 

Definition at line 169 of file PlexPlaneId.h.

const UInt_t shftPlexIdScintMdl = shftPlexIdStrip
 

Definition at line 181 of file PlexPlaneId.h.

const UInt_t shftPlexIdStrip = 4
 

Definition at line 178 of file PlexPlaneId.h.

const UInt_t shftPlexIdSubPart = 2
 

Definition at line 183 of file PlexPlaneId.h.

const UInt_t shftPlexIdVetoSection = 6
 

Definition at line 194 of file PlexPlaneId.h.

const UInt_t shftPlexIdView = 14
 

Definition at line 172 of file PlexPlaneId.h.

const UInt_t zeroPlexIdStripInfo
 

Initial value:

Definition at line 187 of file PlexPlaneId.h.


Generated on Sat Nov 21 22:48:48 2009 for loon by  doxygen 1.3.9.1