StiDetector Class Reference

#include <StiDetector.h>

Inheritance diagram for StiDetector:

Named

List of all members.

Public Member Functions

void reset ()
void unset ()
bool isOn () const
bool isActive (double dYlocal, double dZlocal) const
bool isActive () const
bool isContinuousMedium () const
bool isDiscreteScatterer () const
StiMaterial * getGas () const
StiMaterial * getMaterial () const
StiShapegetShape () const
StiPlacement * getPlacement () const
StiIsActiveFunctorgetIsActiveFunctor ()
void setIsOn (bool val)
void setIsActive (StiIsActiveFunctor *val)
void setIsContinuousMedium (bool val)
void setIsDiscreteScatterer (bool val)
void setGas (StiMaterial *val)
void setMaterial (StiMaterial *val)
void setShape (StiShape *val)
void setPlacement (StiPlacement *val)
virtual void build ()
virtual void copy (StiDetector &detector)
void setTreeNode (StiCompositeTreeNode< StiDetector > *val)
StiCompositeTreeNode
< StiDetector > * 
getTreeNode () const
void setHitErrorCalculator (const StiHitErrorCalculator *calculator)
const StiHitErrorCalculator * getHitErrorCalculator () const
void setGroupId (int id)
int getGroupId () const
void setTrackingParameters (const StiTrackingParameters *pars)
const StiTrackingParameters * getTrackingParameters () const
void setKey (int index, int value)
int getKey (int index) const
void setElossCalculator (StiElossCalculator *calculator)
StiElossCalculator * getElossCalculator () const

Protected Attributes

char mBeg [1]
bool on
StiIsActiveFunctorisActiveFunctor
bool continuousMedium
bool discreteScatterer
const StiHitErrorCalculator * _hitErrorCalculator
 Hit Error Calculator for this detector.
StiMaterial * gas
 Continuous scatter attributes.
StiMaterial * material
 Discrete scatterer attributes.
StiShapeshape
 Physical Shape attribute of this detector or voloume.
StiPlacement * placement
 Physical position and orientation of this detector or volume.
StiCompositeTreeNode
< StiDetector > * 
mNode
 Pointer to the parent detector node.
double _cos
 Convenience storage of cos(refAngle).
double _sin
 Convenience storage of sin(refAngle).
int _groupId
 Detector group identifier.
const StiTrackingParameters * _pars
int _key1
int _key2
StiElossCalculator * _elossCalculator
char mEnd [1]

Friends

class StiHit
ostream & operator<< (ostream &os, const StiDetector &det)


Detailed Description

StiDetector represents a detector for the purposes of ITTF tracking. It contains all information about the geometry of the detector and the necessary physical properties for incorporating it in tracking.

Definition at line 24 of file StiDetector.h.


Member Data Documentation

Toggle switch determining whether this detector contains a continuous medium (e.g. gas). If true, scatterer information is provided by the gas material.

Definition at line 133 of file StiDetector.h.

Toggle switch determining whether the detector contains a discrete thin scatterer (e.g. a Si wafer). If true, scatter information provided by the material.

Definition at line 137 of file StiDetector.h.

Functor used to calculate whether the posistion reached by a track is to be considered within the active area of the detector, and is thus susceptible of providing hit information.

Definition at line 129 of file StiDetector.h.

bool StiDetector::on [protected]

Toggle switch determining whether this detector is to be added to the detector tree. The detector is added if the switch is "true"

Definition at line 125 of file StiDetector.h.


The documentation for this class was generated from the following files:

Generated on Thu Feb 9 04:27:28 2012 for StRoot by  doxygen 1.5.9