AliRoot Core  a565103 (a565103)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliTPCLaserTrack Class Reference

Surveyed Laser Track positions. More...

#include <AliTPCLaserTrack.h>

Inheritance diagram for AliTPCLaserTrack:

Public Member Functions

 AliTPCLaserTrack ()
 
 ~AliTPCLaserTrack ()
 
 AliTPCLaserTrack (const AliTPCLaserTrack &ltr)
 
 AliTPCLaserTrack (const Int_t id, const Int_t side, const Int_t rod, const Int_t bundle, const Int_t beam, Double_t x, Double_t alpha, const Double_t param[5], const Double_t covar[15], const Float_t rayLength=0)
 
AliTPCLaserTrackoperator= (const AliTPCLaserTrack &source)
 
void UpdatePoints ()
 
Int_t GetId () const
 
Int_t GetSide () const
 
Int_t GetRod () const
 
Int_t GetBundle () const
 
Int_t GetBeam () const
 
Float_t GetRayLength () const
 
void SetId (Int_t id)
 
void SetSide (Int_t side)
 
void SetRod (Int_t rod)
 
void SetBundle (Int_t bundle)
 
void SetBeam (Int_t beam)
 
void SetRayLength (Float_t len)
 
const TVectorD * GetVecSec () const
 
const TVectorD * GetVecP2 () const
 
const TVectorD * GetVecPhi () const
 
const TVectorD * GetVecGX () const
 
const TVectorD * GetVecGY () const
 
const TVectorD * GetVecGZ () const
 
const TVectorD * GetVecLX () const
 
const TVectorD * GetVecLY () const
 
const TVectorD * GetVecLZ () const
 

Static Public Member Functions

static void LoadTracks ()
 
static TObjArrayGetTracks ()
 
static Int_t IdentifyTrack (AliExternalTrackParam *track, Int_t side=-1)
 
static Int_t GetNLaserTracks ()
 
static Int_t GetNLaserRodsPerSide ()
 
static Int_t GetNMirrorBundlesPerRod ()
 
static Int_t GetNLaserRaysPerMirrorBundle ()
 

Public Attributes

TVectorD * fVecSec
 
TVectorD * fVecP2
 
TVectorD * fVecPhi
 
TVectorD * fVecGX
 points vectors - globalX More...
 
TVectorD * fVecGY
 points vectors - globalY More...
 
TVectorD * fVecGZ
 points vectors - globalZ More...
 
TVectorD * fVecLX
 points vectors - localX More...
 
TVectorD * fVecLY
 points vectors - localY More...
 
TVectorD * fVecLZ
 points vectors - localZ More...
 

Private Attributes

Int_t fId
 Laser beam id (0-335) More...
 
Int_t fSide
 TPC side; 0:Shaft Side (A) – 1:Muon Side (C) More...
 
Int_t fRod
 Laser Rod (0-5) More...
 
Int_t fBundle
 Mirror bundle in the Rod (0-3) More...
 
Int_t fBeam
 Laser Beam in the bundle (0-6) More...
 
Float_t fRayLength
 distance from the last common point of the laser Rays More...
 

Static Private Attributes

static TObjArrayfgArrLaserTracks =0x0
 ! Array of all Laser Tracks, More...
 
static const Int_t fgkNLaserTracks = 336
 Number of laser tracks. More...
 
static const Int_t fgkNRodsPerSide = 6
 Number of laser rods on each readout side. More...
 
static const Int_t fgkNBundlePerRod = 4
 Number of mirror bundles per rod. More...
 
static const Int_t fgkNBeamsPerBundle = 7
 Number of laser rays per bundle. More...
 

Detailed Description

Surveyed Laser Track positions.

the position and direction information are stored in the AliExternalTrackParam base class This class extends this information by identification parameters

Dump positions to a tree:

TTreeSRedirector *s=new TTreeSRedirector("LaserTracks.root");
TIter next(arr);
TObject *o=0x0;
while ( (o=next()) ) (*s) << "tracks" << "l.=" << o << "\n";
delete s;

draw something TFile f("LaserTracks.root"); TTree tracks=(TTree)f.Get("tracks"); tracks->Draw("fVecGY.fElements:fVecGX.fElements");

tracks->Draw("fVecGY.fElements:fVecGX.fElements>>h(500,-250,250,500,-250,250)","fId<7")

Definition at line 17 of file AliTPCLaserTrack.h.

Constructor & Destructor Documentation

AliTPCLaserTrack::AliTPCLaserTrack ( )

Default constructor

Definition at line 59 of file AliTPCLaserTrack.cxx.

Referenced by LoadTracks(), operator=(), and UpdatePoints().

AliTPCLaserTrack::~AliTPCLaserTrack ( )

destructor

Definition at line 150 of file AliTPCLaserTrack.cxx.

AliTPCLaserTrack::AliTPCLaserTrack ( const AliTPCLaserTrack ltr)

Default constructor

Definition at line 80 of file AliTPCLaserTrack.cxx.

AliTPCLaserTrack::AliTPCLaserTrack ( const Int_t  id,
const Int_t  side,
const Int_t  rod,
const Int_t  bundle,
const Int_t  beam,
Double_t  x,
Double_t  alpha,
const Double_t  param[5],
const Double_t  covar[15],
const Float_t  rayLength = 0 
)

create laser track from arguments

Definition at line 112 of file AliTPCLaserTrack.cxx.

Member Function Documentation

Int_t AliTPCLaserTrack::GetBeam ( ) const
inline

Definition at line 39 of file AliTPCLaserTrack.h.

Referenced by GetP4Corr().

Int_t AliTPCLaserTrack::GetBundle ( ) const
inline
Int_t AliTPCLaserTrack::GetId ( ) const
inline
static Int_t AliTPCLaserTrack::GetNLaserRaysPerMirrorBundle ( )
inlinestatic

Definition at line 48 of file AliTPCLaserTrack.h.

static Int_t AliTPCLaserTrack::GetNLaserRodsPerSide ( )
inlinestatic

Definition at line 46 of file AliTPCLaserTrack.h.

static Int_t AliTPCLaserTrack::GetNLaserTracks ( )
inlinestatic

Definition at line 45 of file AliTPCLaserTrack.h.

static Int_t AliTPCLaserTrack::GetNMirrorBundlesPerRod ( )
inlinestatic

Definition at line 47 of file AliTPCLaserTrack.h.

Float_t AliTPCLaserTrack::GetRayLength ( ) const
inline

Definition at line 41 of file AliTPCLaserTrack.h.

Referenced by AliTPCCalibCE::FindLocalMaxima().

Int_t AliTPCLaserTrack::GetRod ( ) const
inline

Definition at line 37 of file AliTPCLaserTrack.h.

Referenced by MakeMeanBundle().

Int_t AliTPCLaserTrack::GetSide ( ) const
inline

Definition at line 36 of file AliTPCLaserTrack.h.

Referenced by AliTPCCalibCE::CalculateDV(), IdentifyTrack(), and MakeMeanBundle().

const TVectorD* AliTPCLaserTrack::GetVecGX ( ) const
inline
const TVectorD* AliTPCLaserTrack::GetVecGY ( ) const
inline
const TVectorD* AliTPCLaserTrack::GetVecGZ ( ) const
inline
const TVectorD* AliTPCLaserTrack::GetVecLX ( ) const
inline

Definition at line 64 of file AliTPCLaserTrack.h.

Referenced by AliTPCCorrection::MakeLaserDistortionTree().

const TVectorD* AliTPCLaserTrack::GetVecLY ( ) const
inline

Definition at line 65 of file AliTPCLaserTrack.h.

Referenced by AliTPCCorrection::MakeLaserDistortionTree().

const TVectorD* AliTPCLaserTrack::GetVecLZ ( ) const
inline

Definition at line 66 of file AliTPCLaserTrack.h.

const TVectorD* AliTPCLaserTrack::GetVecP2 ( ) const
inline
const TVectorD* AliTPCLaserTrack::GetVecPhi ( ) const
inline
const TVectorD* AliTPCLaserTrack::GetVecSec ( ) const
inline
Int_t AliTPCLaserTrack::IdentifyTrack ( AliExternalTrackParam *  track,
Int_t  side = -1 
)
static

Find the laser track which is corresponding closest to 'track' return its id

Definition at line 282 of file AliTPCLaserTrack.cxx.

void AliTPCLaserTrack::LoadTracks ( )
static

Load all design positions from file into the static array fgArrLaserTracks

Definition at line 164 of file AliTPCLaserTrack.cxx.

Referenced by AliTPCCalibCE::AnalyseTrack(), IdentifyTrack(), AliTPCCorrection::MakeLaserDistortionTree(), AliTPCCorrection::MakeLaserDistortionTreeOld(), MakeMeanBundle(), and ReadResult().

AliTPCLaserTrack & AliTPCLaserTrack::operator= ( const AliTPCLaserTrack source)

assignment operator

Definition at line 139 of file AliTPCLaserTrack.cxx.

void AliTPCLaserTrack::SetBeam ( Int_t  beam)
inline

Definition at line 55 of file AliTPCLaserTrack.h.

void AliTPCLaserTrack::SetBundle ( Int_t  bundle)
inline

Definition at line 54 of file AliTPCLaserTrack.h.

void AliTPCLaserTrack::SetId ( Int_t  id)
inline

Definition at line 51 of file AliTPCLaserTrack.h.

Referenced by AliTPCCalibCE::AddCEtoIdeal(), and AliTPCCalibCE::SetupMeasured().

void AliTPCLaserTrack::SetRayLength ( Float_t  len)
inline

Definition at line 56 of file AliTPCLaserTrack.h.

void AliTPCLaserTrack::SetRod ( Int_t  rod)
inline

Definition at line 53 of file AliTPCLaserTrack.h.

void AliTPCLaserTrack::SetSide ( Int_t  side)
inline

Definition at line 52 of file AliTPCLaserTrack.h.

Referenced by AliTPCCalibCE::AddCEtoIdeal(), and AliTPCCalibCE::SetupMeasured().

void AliTPCLaserTrack::UpdatePoints ( )

Member Data Documentation

Int_t AliTPCLaserTrack::fBeam
private

Laser Beam in the bundle (0-6)

Definition at line 73 of file AliTPCLaserTrack.h.

Referenced by GetBeam(), and SetBeam().

Int_t AliTPCLaserTrack::fBundle
private

Mirror bundle in the Rod (0-3)

Definition at line 72 of file AliTPCLaserTrack.h.

Referenced by GetBundle(), and SetBundle().

TObjArray * AliTPCLaserTrack::fgArrLaserTracks =0x0
staticprivate

! Array of all Laser Tracks,

Definition at line 89 of file AliTPCLaserTrack.h.

Referenced by GetTracks(), IdentifyTrack(), and LoadTracks().

const Int_t AliTPCLaserTrack::fgkNBeamsPerBundle = 7
staticprivate

Number of laser rays per bundle.

Definition at line 95 of file AliTPCLaserTrack.h.

Referenced by GetNLaserRaysPerMirrorBundle().

const Int_t AliTPCLaserTrack::fgkNBundlePerRod = 4
staticprivate

Number of mirror bundles per rod.

Definition at line 94 of file AliTPCLaserTrack.h.

Referenced by GetNMirrorBundlesPerRod().

const Int_t AliTPCLaserTrack::fgkNLaserTracks = 336
staticprivate

Number of laser tracks.

Definition at line 92 of file AliTPCLaserTrack.h.

Referenced by GetNLaserTracks(), IdentifyTrack(), and LoadTracks().

const Int_t AliTPCLaserTrack::fgkNRodsPerSide = 6
staticprivate

Number of laser rods on each readout side.

Definition at line 93 of file AliTPCLaserTrack.h.

Referenced by GetNLaserRodsPerSide().

Int_t AliTPCLaserTrack::fId
private

Laser beam id (0-335)

Definition at line 69 of file AliTPCLaserTrack.h.

Referenced by GetId(), and SetId().

Float_t AliTPCLaserTrack::fRayLength
private

distance from the last common point of the laser Rays

Definition at line 75 of file AliTPCLaserTrack.h.

Referenced by GetRayLength(), and SetRayLength().

Int_t AliTPCLaserTrack::fRod
private

Laser Rod (0-5)

Definition at line 71 of file AliTPCLaserTrack.h.

Referenced by GetRod(), and SetRod().

Int_t AliTPCLaserTrack::fSide
private

TPC side; 0:Shaft Side (A) – 1:Muon Side (C)

Definition at line 70 of file AliTPCLaserTrack.h.

Referenced by GetSide(), and SetSide().


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