-#ifndef ALITPCLASERTRACK
-#define ALITPCLASERTRACK
+#ifndef ALITPCLASERTRACK_H
+#define ALITPCLASERTRACK_H
/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* See cxx source for full Copyright notice */
+////////////////////////////////////////////////////////////////////////////
+//
+// Surveyed Laser Track positions
+//
+////////////////////////////////////////////////////////////////////////////
#include <TString.h>
#include "AliExternalTrackParam.h"
+#include "TVectorD.h"
class TObjArray;
class AliTPCLaserTrack : public AliExternalTrackParam {
public:
AliTPCLaserTrack();
+ ~AliTPCLaserTrack();
AliTPCLaserTrack(const AliTPCLaserTrack <r);
AliTPCLaserTrack(const Int_t id, const Int_t side, const Int_t rod,
const Int_t bundle, const Int_t beam,
const Double_t covar[15], const Float_t rayLength=0);
AliTPCLaserTrack& operator = (const AliTPCLaserTrack &source);
-
+ void UpdatePoints(); // update track points
static void LoadTracks();
static TObjArray* GetTracks() {return fgArrLaserTracks;}
void SetBeam (Int_t beam) {fBeam = beam; }
void SetRayLength (Float_t len) {fRayLength = len;}
+ const TVectorD* GetVecSec() const { return fVecSec; }
+ const TVectorD* GetVecP2() const { return fVecP2; }
+ const TVectorD* GetVecPhi() const { return fVecPhi; }
+ const TVectorD* GetVecGX() const { return fVecGX; }
+ const TVectorD* GetVecGY() const { return fVecGY; }
+ const TVectorD* GetVecGZ() const { return fVecGZ; }
+ const TVectorD* GetVecLX() const { return fVecLX; }
+ const TVectorD* GetVecLY() const { return fVecLY; }
+ const TVectorD* GetVecLZ() const { return fVecLZ; }
private:
Int_t fId; //Laser beam id (0-335)
Float_t fRayLength; //distance from the last common point of the laser Rays
//(Splitter box on the A-Side at the bottom of the TPC)
//to each mirror [cm](needed for an exact drift velocity estimation)
-
-
+public:
+ TVectorD *fVecSec; // - sector numbers
+ TVectorD *fVecP2; // - P2
+ TVectorD *fVecPhi; // - global phi
+ TVectorD *fVecGX; // points vectors - globalX
+ TVectorD *fVecGY; // points vectors - globalY
+ TVectorD *fVecGZ; // points vectors - globalZ
+ TVectorD *fVecLX; // points vectors - localX
+ TVectorD *fVecLY; // points vectors - localY
+ TVectorD *fVecLZ; // points vectors - localZ
+private:
static TObjArray* fgArrLaserTracks; //! Array of all Laser Tracks,
// keeps instances of this class;
// static const char* fgkDataFileName = "$ALIC_ROOT/TPC/Calib/LaserTracks.root"; //Path to the Data File
- ClassDef(AliTPCLaserTrack,2) // Laser Track positions and track identification
+ ClassDef(AliTPCLaserTrack,3) // Laser Track positions and track identification
};
#endif