MyDetector Class Reference

#include <MyDetector.h>

Inheritance diagram for MyDetector:

TObject List of all members.

Public Member Functions

 MyDetector ()
virtual ~MyDetector ()
void Init ()
Double_t GetI (Int_t idx)
Double_t GetPreconst (Int_t idx)
Double_t GetEc (Int_t idx)
Double_t GetX0 (Int_t idx)
Double_t GetdT (Int_t idx)
Double_t GetTheta0 (Int_t idx)
Double_t GetDimX ()
Double_t GetDimY ()
Double_t GetDimZ ()
Double_t GetMaxX ()
Double_t GetMaxY ()
Double_t GetMaxZ ()
Double_t GetMinX ()
Double_t GetMinY ()
Double_t GetMinZ ()
Double_t GetTotalELoss ()
void GetDimensions (Double_t *dimx, Double_t *dimy, Double_t *dimz)
TGeoManagerGetGeoManager ()
void SetI (Int_t idx, Double_t val)
void SetPreconst (Int_t idx, Double_t val)
void SetEc (Int_t idx, Double_t val)
void SetX0 (Int_t idx, Double_t val)
void SetdT (Int_t idx, Double_t val)
void SetTheta0 (Int_t idx, Double_t val)
void AddELoss (Double_t val)
void ClearELoss ()

Private Attributes

Double_t fMinX
Double_t fMinY
Double_t fMinZ
Double_t fMaxX
Double_t fMaxY
Double_t fMaxZ
Double_t fDimX
Double_t fDimY
Double_t fDimZ
Double_t fI [6]
Double_t fPreconst [6]
Double_t fEc [6]
Double_t fX0 [6]
Double_t fdT [6]
Double_t fTheta0 [6]
Double_t fTotalELoss

Detailed Description

Definition at line 31 of file MyDetector.h.


Constructor & Destructor Documentation

MyDetector::MyDetector (  ) 

MyDetector::~MyDetector (  )  [virtual]

Definition at line 33 of file MyDetector.cxx.


Member Function Documentation

void MyDetector::Init (  ) 

Definition at line 39 of file MyDetector.cxx.

References TGeoVolume::AddNode(), TGeoManager::CloseGeometry(), CSpeed, fDimX, fDimY, fDimZ, fdT, fEc, fI, fMaxX, fMaxY, fMaxZ, fMinX, fMinY, fMinZ, fPreconst, fTheta0, fTotalELoss, fX0, gGeoManager, i, kFALSE, TMath::Log(), TGeoManager::MakeBox(), material, TMath::Power(), TGeoVolume::SetLineColor(), TGeoVolume::SetLineWidth(), TGeoManager::SetTopVolume(), TGeoVolume::SetTransparency(), TGeoVolume::SetVisibility(), TMath::Sqrt(), trans, and x.

Referenced by RootShower::RootShower().

Double_t MyDetector::GetI ( Int_t  idx  )  [inline]

Definition at line 49 of file MyDetector.h.

References fI.

Referenced by MyEvent::DEDX().

Double_t MyDetector::GetPreconst ( Int_t  idx  )  [inline]

Definition at line 50 of file MyDetector.h.

References fPreconst.

Referenced by MyEvent::DEDX().

Double_t MyDetector::GetEc ( Int_t  idx  )  [inline]

Definition at line 51 of file MyDetector.h.

References fEc.

Double_t MyDetector::GetX0 ( Int_t  idx  )  [inline]

Definition at line 52 of file MyDetector.h.

References fX0.

Referenced by MyEvent::BremsProb(), and MyEvent::PairProb().

Double_t MyDetector::GetdT ( Int_t  idx  )  [inline]

Definition at line 53 of file MyDetector.h.

References fdT.

Referenced by MyEvent::Action(), MyEvent::DEDX(), and MyEvent::MagneticField().

Double_t MyDetector::GetTheta0 ( Int_t  idx  )  [inline]

Definition at line 54 of file MyDetector.h.

References fTheta0.

Referenced by MyEvent::ScatterAngle().

Double_t MyDetector::GetDimX (  )  [inline]

Definition at line 55 of file MyDetector.h.

References fDimX.

Double_t MyDetector::GetDimY (  )  [inline]

Definition at line 56 of file MyDetector.h.

References fDimY.

Double_t MyDetector::GetDimZ (  )  [inline]

Definition at line 57 of file MyDetector.h.

References fDimZ.

Double_t MyDetector::GetMaxX (  )  [inline]

Definition at line 58 of file MyDetector.h.

References fMaxX.

Referenced by MyEvent::Move().

Double_t MyDetector::GetMaxY (  )  [inline]

Definition at line 59 of file MyDetector.h.

References fMaxY.

Referenced by MyEvent::Move().

Double_t MyDetector::GetMaxZ (  )  [inline]

Definition at line 60 of file MyDetector.h.

References fMaxZ.

Referenced by MyEvent::Move().

Double_t MyDetector::GetMinX (  )  [inline]

Definition at line 61 of file MyDetector.h.

References fMinX.

Referenced by MyEvent::Move().

Double_t MyDetector::GetMinY (  )  [inline]

Definition at line 62 of file MyDetector.h.

References fMinY.

Referenced by MyEvent::Init(), and MyEvent::Move().

Double_t MyDetector::GetMinZ (  )  [inline]

Definition at line 63 of file MyDetector.h.

References fMinZ.

Referenced by MyEvent::Move().

Double_t MyDetector::GetTotalELoss (  )  [inline]

Definition at line 64 of file MyDetector.h.

References fTotalELoss.

Referenced by RootShower::ShowInfos().

void MyDetector::GetDimensions ( Double_t dimx,
Double_t dimy,
Double_t dimz 
) [inline]

Definition at line 65 of file MyDetector.h.

References fDimX, fDimY, and fDimZ.

Referenced by RootShower::ShowInfos().

TGeoManager* MyDetector::GetGeoManager (  )  [inline]

Definition at line 67 of file MyDetector.h.

References gGeoManager.

void MyDetector::SetI ( Int_t  idx,
Double_t  val 
) [inline]

Definition at line 69 of file MyDetector.h.

References fI.

void MyDetector::SetPreconst ( Int_t  idx,
Double_t  val 
) [inline]

Definition at line 70 of file MyDetector.h.

References fPreconst.

void MyDetector::SetEc ( Int_t  idx,
Double_t  val 
) [inline]

Definition at line 71 of file MyDetector.h.

References fEc.

void MyDetector::SetX0 ( Int_t  idx,
Double_t  val 
) [inline]

Definition at line 72 of file MyDetector.h.

References fX0.

void MyDetector::SetdT ( Int_t  idx,
Double_t  val 
) [inline]

Definition at line 73 of file MyDetector.h.

References fdT.

void MyDetector::SetTheta0 ( Int_t  idx,
Double_t  val 
) [inline]

Definition at line 74 of file MyDetector.h.

References fTheta0.

void MyDetector::AddELoss ( Double_t  val  )  [inline]

Definition at line 75 of file MyDetector.h.

References fTotalELoss.

Referenced by MyEvent::DeleteParticle().

void MyDetector::ClearELoss (  )  [inline]

Definition at line 76 of file MyDetector.h.

References fTotalELoss.

Referenced by MyEvent::Init().


Member Data Documentation

Double_t MyDetector::fMinX [private]

Definition at line 34 of file MyDetector.h.

Referenced by GetMinX(), and Init().

Double_t MyDetector::fMinY [private]

Definition at line 34 of file MyDetector.h.

Referenced by GetMinY(), and Init().

Double_t MyDetector::fMinZ [private]

Definition at line 34 of file MyDetector.h.

Referenced by GetMinZ(), and Init().

Double_t MyDetector::fMaxX [private]

Definition at line 35 of file MyDetector.h.

Referenced by GetMaxX(), and Init().

Double_t MyDetector::fMaxY [private]

Definition at line 35 of file MyDetector.h.

Referenced by GetMaxY(), and Init().

Double_t MyDetector::fMaxZ [private]

Definition at line 35 of file MyDetector.h.

Referenced by GetMaxZ(), and Init().

Double_t MyDetector::fDimX [private]

Definition at line 36 of file MyDetector.h.

Referenced by GetDimensions(), GetDimX(), and Init().

Double_t MyDetector::fDimY [private]

Definition at line 36 of file MyDetector.h.

Referenced by GetDimensions(), GetDimY(), and Init().

Double_t MyDetector::fDimZ [private]

Definition at line 36 of file MyDetector.h.

Referenced by GetDimensions(), GetDimZ(), and Init().

Double_t MyDetector::fI[6] [private]

Definition at line 37 of file MyDetector.h.

Referenced by GetI(), Init(), and SetI().

Double_t MyDetector::fPreconst[6] [private]

Definition at line 38 of file MyDetector.h.

Referenced by GetPreconst(), Init(), and SetPreconst().

Double_t MyDetector::fEc[6] [private]

Definition at line 39 of file MyDetector.h.

Referenced by GetEc(), Init(), and SetEc().

Double_t MyDetector::fX0[6] [private]

Definition at line 40 of file MyDetector.h.

Referenced by GetX0(), Init(), and SetX0().

Double_t MyDetector::fdT[6] [private]

Definition at line 41 of file MyDetector.h.

Referenced by GetdT(), Init(), and SetdT().

Double_t MyDetector::fTheta0[6] [private]

Definition at line 42 of file MyDetector.h.

Referenced by GetTheta0(), Init(), and SetTheta0().

Double_t MyDetector::fTotalELoss [private]

Definition at line 43 of file MyDetector.h.

Referenced by AddELoss(), ClearELoss(), GetTotalELoss(), and Init().


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:31:14 2011 for ROOT_528-00b_version by  doxygen 1.5.1