BmnRoot
26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Toggle main menu visibility
Loading...
Searching...
No Matches
residAnal.C
Go to the documentation of this file.
1
#include <
Rtypes.h
>
2
#include <
TCanvas.h
>
3
#include <
TFile.h
>
4
#include <
TH1F.h
>
5
6
R__ADD_INCLUDE_PATH
($VMCWORKDIR)
7
#include "macro/run/bmnloadlibs.C"
8
9
using namespace
std
;
10
using namespace
TMath
;
11
12
void
residAnal
(
TString
dataPath =
""
,
TString
mcPath =
""
)
13
{
14
BmnDataAnalRun7
* dAnal =
new
BmnDataAnalRun7
(dataPath);
15
16
dAnal->
SetMcData
(mcPath);
// if necessary
17
dAnal->
SetGeometryFile
(
""
);
// path to geometry
18
19
// Some setters to speed up the procedure by limiting number of files / events to be processed (if necessary)
20
// dAnal->SetNFilesInList(10);
21
// dAnal->SetNEventsInFile(10000);
22
dAnal->
SetTarget
(
""
);
// target should be passed obligatory (C, Al, Cu, Sn, Pb are available within the anal.)
23
24
dAnal->
doResidAnal
();
25
}
Rtypes.h
R__ADD_INCLUDE_PATH
#define R__ADD_INCLUDE_PATH(PATH)
TCanvas.h
TFile.h
TH1F.h
BmnDataAnalRun7
Definition
BmnDataAnalRun7.h:12
BmnDataAnalRun7::SetGeometryFile
void SetGeometryFile(TString file)
Definition
BmnDataAnalRun7.h:20
BmnDataAnalRun7::SetMcData
void SetMcData(TString dirMc)
Definition
BmnDataAnalRun7.h:26
BmnDataAnalRun7::doResidAnal
void doResidAnal()
Definition
BmnDataAnalRun7.cxx:146
BmnDataAnalRun7::SetTarget
void SetTarget(TString t)
Definition
BmnDataAnalRun7.h:18
TString
residAnal
void residAnal(TString dataPath="", TString mcPath="")
Definition
residAnal.C:12
TMath
std
Definition
json.hpp:4446
macro
physics
residuals
residAnal.C
Generated on
for BmnRoot by
1.17.0