FairRoot/PandaRoot
PndLmdStripClusterTask.h
Go to the documentation of this file.
1 // -------------------------------------------------------------------------
2 // ----- PndLmdStripClusterTask header file -----
3 // -------------------------------------------------------------------------
4 
5 #ifndef PNDLMDSTRIPCLUSTERTASK_H
6 #define PNDLMDSTRIPCLUSTERTASK_H
7 
8 #include "FairGeanePro.h"
9 #include "FairRun.h"
10 #include "FairRuntimeDb.h"
11 #include "PndSdsStripClusterTask.h"
13  public:
17 
19  virtual ~PndLmdStripClusterTask();
21  // virtual InitStatus Init();
22  virtual void SetBranchNames(TString inBranchname, TString outHitBranchname,
23  TString outClustBranchname, TString folderName);
24  virtual void SetBranchNames();
25  virtual void SetParContainers();
26  virtual void SetCalculators();
28  TVector3 AddMSErr(TVector3 hit, TVector3 hiterr);
29  virtual Bool_t Backmap(TVector2 meantopPoint, Double_t meantoperr,
30  TVector2 meanbotPoint, Double_t meanboterr,
31  TVector3& hitPos, TMatrixD& hitCov, Int_t& sensorID);
32  // inline void SetyRotation(const Double_t inrot=0){fyRotation=inrot;};
33 
34  void Exec(Option_t* opt);
35  InitStatus Init();
37  FairRun* ana;
38  FairRuntimeDb* rtdb;
39 
40  void SetMSflag(bool fflag) { flagMS = fflag; };
42 
43  private:
44  bool flagMS;
45  // TList* fAlignParamList;
47  void combitransToLumiFrame(TVector3& hitPos);
48  void rotateToLumiFrame(TVector3& hitPos);
50  /* void alignmentCorr(TVector3& hitPos, int sensID); */
51  /* double fShiftX[32],fShiftY[32],fShiftZ[32]; */
52  /* double fRotateX[32],fRotateY[32],fRotateZ[32]; */
53 };
54 
55 #endif /* LMDCLUSTERTASK_H */
void rotateToLumiFrame(TVector3 &hitPos)
Class to access the naming information of the MVD.
Double_t
TVector3 AddMSErr(TVector3 hit, TVector3 hiterr)
void combitransToLumiFrame(TVector3 &hitPos)
virtual Bool_t Backmap(TVector2 meantopPoint, Double_t meantoperr, TVector2 meanbotPoint, Double_t meanboterr, TVector3 &hitPos, TMatrixD &hitCov, Int_t &sensorID)
int hit(Int_t nEvents=0, TString inFile="sim.root", TString parFile="par.root", TString inDigi="digi.root", TString outFile="hit.root", Int_t timeBased=0)
Definition: hit.C:1
ClassDef(PndLmdStripClusterTask, 2)
TMatrixT< double > TMatrixD
Definition: PndLmdDim.h:52