PandaRoot
PndLmdStripClusterTask.h
Go to the documentation of this file.
1 //****************************************************************************
2 //* This file is part of PandaRoot. *
3 //* *
4 //* PandaRoot is distributed under the terms of the *
5 //* GNU General Public License (GPL) version 3, *
6 //* copied verbatim in the file "LICENSE". *
7 //* *
8 //* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9 //* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10 //* The authors are listed in the file "AUTHORS". *
11 //****************************************************************************
12 
13 // -------------------------------------------------------------------------
14 // ----- PndLmdStripClusterTask header file -----
15 // -------------------------------------------------------------------------
16 
17 #ifndef PNDLMDSTRIPCLUSTERTASK_H
18 #define PNDLMDSTRIPCLUSTERTASK_H
19 
20 #include "FairGeanePro.h"
21 #include "FairRun.h"
22 #include "FairRuntimeDb.h"
23 #include "PndSdsStripClusterTask.h"
25  public:
29 
31  virtual ~PndLmdStripClusterTask();
33  // virtual InitStatus Init();
34  virtual void SetBranchNames(TString inBranchname, TString outHitBranchname, TString outClustBranchname, TString folderName);
35  virtual void SetBranchNames();
36  virtual void SetParContainers();
37  virtual void SetCalculators();
39  TVector3 AddMSErr(TVector3 hit, TVector3 hiterr);
40  virtual Bool_t Backmap(TVector2 meantopPoint, Double_t meantoperr, TVector2 meanbotPoint, Double_t meanboterr, TVector3 &hitPos, TMatrixD &hitCov, Int_t &sensorID);
41  // inline void SetyRotation(const Double_t inrot=0){fyRotation=inrot;};
42 
43  void Exec(Option_t *opt);
44  InitStatus Init();
46  FairRun *ana;
47  FairRuntimeDb *rtdb;
48 
49  void SetMSflag(bool fflag) { flagMS = fflag; };
51 
52  private:
53  bool flagMS;
54  // TList* fAlignParamList;
55  Double_t fPbeam;
56  void combitransToLumiFrame(TVector3 &hitPos);
57  void rotateToLumiFrame(TVector3 &hitPos);
58  TMatrixD rotateToLumiFrame(TMatrixD &hitCov);
59  /* void alignmentCorr(TVector3& hitPos, int sensID); */
60  /* double fShiftX[32],fShiftY[32],fShiftZ[32]; */
61  /* double fRotateX[32],fRotateY[32],fRotateZ[32]; */
62 };
63 
64 #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:64