CMS 3D CMS Logo

List of all members | Static Public Member Functions | Static Private Attributes
TrackerBounds Class Reference

#include <TrackerBounds.h>

Static Public Member Functions

static const CylinderbarrelBound ()
 
static float halfLength ()
 
static bool isInside (const GlobalPoint &)
 
static const DisknegativeEndcapDisk ()
 
static const DiskpositiveEndcapDisk ()
 
static float radius ()
 

Static Private Attributes

static const ReferenceCountingPointer< CylindertheCylinder = initCylinder()
 
static const ReferenceCountingPointer< DisktheNegativeDisk = initNegative()
 
static const ReferenceCountingPointer< DiskthePositiveDisk = initPositive()
 

Detailed Description

A definition of the envelope that contains the tracker sensitive detectors. The information is not automatically computed from the Tracker geometry, but is hard-coded in this class. However, there is very little freedom to modify the tracker size (ECAL constraint...), so a fast access to this information is very useful. The recommended use is: Inside the TrackerBounds tracker propagators are expected to work accurately. Outside of this volume use some kind of geane.

Ported from ORCA

Definition at line 24 of file TrackerBounds.h.

Member Function Documentation

◆ barrelBound()

static const Cylinder& TrackerBounds::barrelBound ( )
inlinestatic

Definition at line 26 of file TrackerBounds.h.

References theCylinder.

Referenced by StateOnTrackerBound::operator()().

26 { return *theCylinder; }
static const ReferenceCountingPointer< Cylinder > theCylinder
Definition: TrackerBounds.h:37

◆ halfLength()

static float TrackerBounds::halfLength ( )
inlinestatic

◆ isInside()

bool TrackerBounds::isInside ( const GlobalPoint point)
static

Definition at line 37 of file TrackerBounds.cc.

References halfLength(), point, and radius().

Referenced by MuonSeedTrack::buildTrackAtPCA(), MuonTrackLoader::buildTrackAtPCA(), MuonUpdatorAtVertex::propagate(), and MuonUpdatorAtVertex::propagateToNominalLine().

37  {
38  return (point.perp() <= TrackerBounds::radius() && fabs(point.z()) <= TrackerBounds::halfLength());
39 }
static float halfLength()
Definition: TrackerBounds.h:33
static float radius()
Definition: TrackerBounds.h:32
*vegas h *****************************************************used in the default bin number in original ***version of VEGAS is ***a higher bin number might help to derive a more precise ***grade subtle point
Definition: invegas.h:5

◆ negativeEndcapDisk()

static const Disk& TrackerBounds::negativeEndcapDisk ( )
inlinestatic

Definition at line 27 of file TrackerBounds.h.

References theNegativeDisk.

Referenced by StateOnTrackerBound::operator()().

27 { return *theNegativeDisk; }
static const ReferenceCountingPointer< Disk > theNegativeDisk
Definition: TrackerBounds.h:38

◆ positiveEndcapDisk()

static const Disk& TrackerBounds::positiveEndcapDisk ( )
inlinestatic

Definition at line 28 of file TrackerBounds.h.

References thePositiveDisk.

Referenced by StateOnTrackerBound::operator()().

28 { return *thePositiveDisk; }
static const ReferenceCountingPointer< Disk > thePositiveDisk
Definition: TrackerBounds.h:39

◆ radius()

static float TrackerBounds::radius ( void  )
inlinestatic

Hard-wired numbers defining the envelope of the sensitive volumes.

Definition at line 32 of file TrackerBounds.h.

Referenced by initCylinder(), initNegative(), initPositive(), SmartPropagator::initTkVolume(), SmartPropagator::insideTkVol(), isInside(), and StateOnTrackerBound::operator()().

32 { return 112.f; }

Member Data Documentation

◆ theCylinder

const ReferenceCountingPointer< BoundCylinder > TrackerBounds::theCylinder = initCylinder()
staticprivate

Definition at line 37 of file TrackerBounds.h.

Referenced by barrelBound().

◆ theNegativeDisk

const ReferenceCountingPointer< BoundDisk > TrackerBounds::theNegativeDisk = initNegative()
staticprivate

Definition at line 38 of file TrackerBounds.h.

Referenced by negativeEndcapDisk().

◆ thePositiveDisk

const ReferenceCountingPointer< BoundDisk > TrackerBounds::thePositiveDisk = initPositive()
staticprivate

Definition at line 39 of file TrackerBounds.h.

Referenced by positiveEndcapDisk().