BmnRoot
Loading...
Searching...
No Matches
BmnInnTrackerAlign.h
Go to the documentation of this file.
1// @(#)bmnroot/alignment:$Id$
2// Author: Pavel Batyuk <pavel.batyuk@jinr.ru> 2018-11-02
3
5// //
6// BmnInnTrackerAlign //
7// //
8// Interface to get align. corrections for inn. tracker //
9// //
10// //
12
13#ifndef BMNINNTRACKALIGN_H
14#define BMNINNTRACKALIGN_H 1
15
16#include <TVector3.h>
17#include <TMath.h>
18#include <TNamed.h>
19#include <TString.h>
20#include <TFile.h>
21#include <TTree.h>
22#include <TClonesArray.h>
23#include <TSystem.h>
24
29
30using namespace std;
31using namespace TMath;
32
33class BmnInnTrackerAlign : public TNamed {
34public:
35
37 BmnInnTrackerAlign(Int_t, Int_t, TString);
38
40
41 inline Double_t*** GetGemCorrs() {
42 return fCorrsGem;
43 }
44
45 inline Double_t*** GetSiliconCorrs() {
46 return fCorrsSil;
47 }
48
49 inline Double_t GetLorentzCorrs(Double_t By, Int_t station) {
50 return fLorCorrs[station][0] + fLorCorrs[station][1] * By + fLorCorrs[station][2] * By * By;
51 }
52
53 void Print();
54
55private:
56 TString fFilename;
57 Int_t nStations;
58
59 TString fBranchGemCorrs;
60 TString fBranchSilCorrs;
61
62 BmnGemStripStationSet* fDetectorGEM; //-> GEM-geometry
63 BmnSiliconStationSet* fDetectorSI; //-> SI-geometry
64
65 Double_t*** GetGemCorrs(TFile*);
66 Double_t*** fCorrsGem; //[nStations]
67 Double_t*** GetSiliconCorrs(TFile*);
68 Double_t*** fCorrsSil; //[nStations]
69
70 Double_t** fLorCorrs; //[nStations]
71
72 ClassDef(BmnInnTrackerAlign, 1)
73};
74
75#endif
Double_t *** GetGemCorrs()
BmnInnTrackerAlign(Int_t, Int_t, TString)
virtual ~BmnInnTrackerAlign()
Double_t GetLorentzCorrs(Double_t By, Int_t station)
Double_t *** GetSiliconCorrs()
STL namespace.