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, TString outClustBranchname, TString folderName);
23  virtual void SetBranchNames();
24  virtual void SetParContainers();
25  virtual void SetCalculators();
27  TVector3 AddMSErr(TVector3 hit, TVector3 hiterr);
28  virtual Bool_t Backmap(TVector2 meantopPoint, Double_t meantoperr, TVector2 meanbotPoint, Double_t meanboterr, TVector3 &hitPos, TMatrixD &hitCov, Int_t &sensorID);
29  // inline void SetyRotation(const Double_t inrot=0){fyRotation=inrot;};
30 
31  void Exec(Option_t *opt);
32  InitStatus Init();
34  FairRun *ana;
35  FairRuntimeDb *rtdb;
36 
37  void SetMSflag(bool fflag) { flagMS = fflag; };
39 
40  private:
41  bool flagMS;
42  // TList* fAlignParamList;
43  Double_t fPbeam;
44  void combitransToLumiFrame(TVector3 &hitPos);
45  void rotateToLumiFrame(TVector3 &hitPos);
46  TMatrixD rotateToLumiFrame(TMatrixD &hitCov);
47  /* void alignmentCorr(TVector3& hitPos, int sensID); */
48  /* double fShiftX[32],fShiftY[32],fShiftZ[32]; */
49  /* double fRotateX[32],fRotateY[32],fRotateZ[32]; */
50 };
51 
52 #endif /* LMDCLUSTERTASK_H */
virtual void SetBranchNames()
void Exec(Option_t *opt)
virtual void SetParContainers()
Class to access the naming information of the MVD.
TVector3 AddMSErr(TVector3 hit, TVector3 hiterr)
virtual Bool_t Backmap(TVector2 meantopPoint, Double_t meantoperr, TVector2 meanbotPoint, Double_t meanboterr, TVector3 &hitPos, TMatrixD &hitCov, Int_t &sensorID)
virtual ~PndLmdStripClusterTask()
ClassDef(PndLmdStripClusterTask, 2)
virtual void SetCalculators()
TMatrixT< double > TMatrixD
Definition: PndLmdDim.h:52