AliPhysics
db95e02 (db95e02)
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
TestRunMakeELossFit.C
Go to the documentation of this file.
1
17
void
18
TestRunMakeELossFit
(
UShort_t
sys,
19
UShort_t
cms,
20
Short_t
field,
21
Bool_t
mc=
false
,
22
const
char
*
filename
=
"forward_eloss.root"
)
23
{
24
std::cout <<
"Loading libraries ..."
<< std::endl;
25
gROOT->Macro(
"$ALICE_PHYSICS/PWGLF/FORWARD/analysis2/scripts/LoadLibs.C"
);
26
27
std::cout <<
"Loading compile script ..."
<< std::endl;
28
gROOT->LoadMacro(
"$ALICE_PHYSICS/PWGLF/FORWARD/analysis2/scripts/Compile.C"
);
29
30
std::cout <<
"Compiling MakeELossFit.C script ..."
<< std::endl;
31
Compile
(
"$ALICE_PHYSICS/PWGLF/FORWARD/analysis2/scripts/TestMakeELossFit.C"
);
32
33
std::cout <<
"Making MakeELossFit object (sys="
<< sys
34
<<
", cms="
<< cms <<
", field="
<< field <<
", mc="
<< mc
35
<<
")"
<< std::endl;
36
MakeELossFit
mef(sys, cms, field, mc,
filename
);
37
38
std::cout <<
"Running maker ..."
<< std::endl;
39
mef.
Run
();
40
}
41
//
42
// EOF
43
//
filename
const char * filename
Definition:
TestFCM.C:1
MakeELossFit
Definition:
TestMakeELossFits.C:55
MakeELossFit::Run
Bool_t Run()
Definition:
TestMakeELossFits.C:178
Compile
Bool_t Compile(const char *script, Option_t *option="g")
Definition:
Compile.C:19
Short_t
short Short_t
Definition:
External.C:23
TestRunMakeELossFit
void TestRunMakeELossFit(UShort_t sys, UShort_t cms, Short_t field, Bool_t mc=false, const char *filename="forward_eloss.root")
Definition:
TestRunMakeELossFit.C:18
UShort_t
unsigned short UShort_t
Definition:
External.C:28
Bool_t
bool Bool_t
Definition:
External.C:53
PWGLF
FORWARD
analysis2
tests
TestRunMakeELossFit.C
Generated on Thu Jan 5 2017 00:21:25 for AliPhysics by
1.8.6