BmnRoot
Loading...
Searching...
No Matches
BmnDataAnalRun7.h
Go to the documentation of this file.
1using namespace std;
2
3#include <FairTrackParam.h>
4#include <BmnEfficiency.h>
6
7#include <TGeoManager.h>
8
9#ifndef BMNDATAANALRUN7_H
10#define BMNDATAANALRUN7_H 1
11
13public:
14
16 ;
17 }
18
19 BmnDataAnalRun7(TString);
20
21 void SetTarget(TString t) {
22 fTarget = t;
23 }
24
25 void SetGeometryFile(TString file) {
26 fGeomFile = file;
27 }
28
29 void SetNEventsInFile(Int_t nEvs) {
30 fNEvents = nEvs;
31 }
32
33 void SetNFilesInList(Int_t nFiles) {
34 fNFiles = nFiles;
35 }
36
37 void SetMcData(TString dirMc) {
38 fMcDataPath = dirMc;
39 }
40
41 // Anals. to be done ...
42 void doResidAnal();
43
44 virtual ~BmnDataAnalRun7() {
45 if (mAnal)
46 delete mAnal;
47
48 }
49
50private:
51 TH1F**** hResGem;
52 TH1F**** hResSil;
53
55 FairRunAna* fAna;
56
57 TString fTarget;
58 TString fGeomFile;
59
60 TString fMcDataPath;
61
62 Int_t fNFiles;
63
64private:
65 void calcResiduals(TString);
66
67 //
68 void doKalman(BmnGlobalTrack*, Double_t, Double_t&, Double_t&);
69 void doKalman(BmnGlobalTrack*, vector <BmnHit>, Double_t, Double_t&, Double_t&);
70
71 void DoNormalization(TH1F*);
72
73 void resetHistos();
74 void writeHistos(TString);
75
76 ClassDef(BmnDataAnalRun7, 0)
77};
78
79#endif
void SetGeometryFile(TString file)
virtual ~BmnDataAnalRun7()
void SetMcData(TString dirMc)
void SetNEventsInFile(Int_t nEvs)
void SetNFilesInList(Int_t nFiles)
void SetTarget(TString t)
STL namespace.