|
|
Go to the documentation of this file.
5 #ifndef MILLEPEDETREES_H
6 #define MILLEPEDETREES_H
22 TH1*
Draw(
const char *
exp,
const char *
selection,
const char *hDef =
"", Option_t *
opt =
"");
25 const char *hDef =
"", Option_t *
opt =
"");
27 const char *hDef =
"", Option_t *
opt =
"");
33 TString
Pos()
const {
return "Pos";}
40 TString
RPos(
const TString &
tree)
const;
46 TString
Phi(
const TString &
tree)
const;
49 TString
PhiSwaps(
double swapAround,
const TString &tree1,
const TString &tree2)
const;
51 TString
Alpha(
const TString &
tree,
bool betaMpiPpi)
const;
52 TString
Beta (
const TString &
tree,
bool betaMpiPpi)
const;
53 TString
Gamma(
const TString &
tree,
bool betaMpiPpi)
const;
56 TString
Par()
const {
return "Par";}
64 TString
DiffPar(
const TString &
t1,
const TString &
t2, UInt_t iPar)
const {
67 TString
ParSi(
const TString &
tree, UInt_t
ui)
const;
76 TString
DelPos(UInt_t
ui,
const TString &tree1,
const TString &tree2)
const;
77 TString
DelR(
const TString &tree1,
const TString &tree2)
const;
78 TString
DelRphi(
const TString &tree1,
const TString &tree2)
const;
80 TString
DelPhi(
const TString &tree1,
const TString &tree2)
const;
95 TString
Valid(UInt_t iParam)
const;
96 TString
Fixed(UInt_t iParam,
bool isFixed =
true)
const;
98 TString
Label(UInt_t iParam)
const;
99 TString
Cor(UInt_t iParam)
const;
100 TString
Diff(UInt_t iParam)
const;
101 TString
PreSi(UInt_t iParam)
const;
102 TString
ParSi(UInt_t iParam)
const;
103 TString
ParSiOk(UInt_t iParam)
const;
112 TString
DeformValue(UInt_t
i,
const TString &whichOne)
const;
116 TString
Dot()
const {
return ".";}
117 TString
Plu()
const {
return "+";}
118 TString
Min()
const {
return "-";}
119 TString
Mal()
const {
return "*";}
120 TString
Div()
const {
return "/";}
121 TString
AndL()
const {
return "&&";}
122 TString
OrL()
const {
return "||";}
124 TString
Int(Int_t
i)
const {
return Form(
"%d",
i);}
125 TString
Int(UInt_t
ui)
const {
return Form(
"%u",
ui);}
126 TString
Flt(Float_t
f)
const {
return Form(
"%f",
f);}
128 TString
Bra()
const {
return "[";}
129 TString
Ket()
const {
return "]";}
133 TString
Paren()
const {
return "(";}
136 TString
Abs(
const char *
s)
const {
return Fun(
"TMath::Abs",
s);}
138 TString
Fun(
const char *fun,
const char *
s)
const {
return fun +
Parenth(
s);}
139 TString
Sqrt(
const char *
s)
const {
return Fun(
"sqrt",
s);}
142 TString
ToMumMuRad(UInt_t iParam)
const {
return (iParam < 3 ?
"*10000" :
"*1000000");}
145 TString
Name(UInt_t iParam)
const;
146 TString
NamePede(UInt_t iParam)
const;
148 TString
DelName(UInt_t iParam)
const {
return "#Delta"+
Name(iParam);}
150 TString
Unit(UInt_t iParam)
const {
return (iParam < 3
152 : (iParam <
kNpar ?
" [#murad]" :
""));}
153 TString
UnitPede(UInt_t iParam)
const;
157 TString
Name(
const TString &
pos)
const;
158 TString
NamePos(UInt_t iPos)
const;
161 TString
Unit(
const TString &
pos)
const;
TString ParSiOk(UInt_t iParam) const
TString DelNameU(UInt_t iParam) const
TString DelRphi(const TString &tree) const
TString DelPos(UInt_t ui, const TString &tree) const
TString BetaSi(const TString &tree) const
TString Bracket(UInt_t ui) const
TString Fun(const char *fun, const char *s) const
bool SetSurfDefDeltaBows(bool deltaBows)
TString NamePede(UInt_t iParam) const
TString DelPhi(const TString &tree) const
TString Int(UInt_t ui) const
TString UnitSurfDef(UInt_t iParam) const
TString DeformValue(UInt_t i, const TString &whichOne) const
TString YParSi(const TString &tree) const
TString ParSi(const TString &tree, UInt_t ui) const
TString Valid(UInt_t iParam) const
TString Flt(Float_t f) const
TString Theta(const TString &tree) const
TString DelNameU(const TString &pos) const
TString Bracket(const char *s) const
TString DelPhi(const TString &tree1, const TString &tree2) const
TString Name(UInt_t iParam) const
TString Label(UInt_t iParam) const
TString NamePos(UInt_t iPos) const
TString HieraLev(const TString &tree, Int_t level) const
TProfile * CreateHistProf(const char *expX, const char *expY, const char *select, const char *hDef="", Option_t *opt="")
TString ToMumMuRadPede(UInt_t iParam) const
TString Cor(UInt_t iParam) const
TString DelName(UInt_t iParam) const
TString Abs(const char *s) const
TString XParSi(const TString &tree) const
TString ToMumMuRad(UInt_t iParam) const
TString RPos(const TString &tree) const
TString PreSi(UInt_t iParam) const
TString DeltaPos(const TString &pos, const TString &tree) const
bool SetUseSignedR(bool use=true)
TH2 * CreateHist2D(const char *expX, const char *expY, const char *select, const char *hDef="", Option_t *opt="")
TString Int(Int_t i) const
TH1 * CreateHist(const char *exp, const char *select, const char *hDef="", Option_t *opt="")
TString HieraLev(Int_t level) const
TTree * CreateTree(const char *fileName, const TString &treeNameAdd)
TString AlphaSi(const TString &tree) const
TString Phi(const TString &tree) const
TString DiffPar(const TString &t1, const TString &t2, UInt_t iPar) const
TString RPos2(const TString &tree) const
bool SetBowsParameters(bool use=true)
TString NameSurfDef(UInt_t iParam) const
TString AnyFreePar() const
TString NumDeformValues(const TString &whichOne) const
TGraph * CreateGraph(const char *expX, const char *expY, const char *select, Option_t *option="")
TString UnitPede(UInt_t iParam) const
TString Unit(UInt_t iParam) const
TString Pos(UInt_t ui) const
TString AlignableTypeId() const
TString Sqrt(const char *s) const
virtual ~MillePedeTrees()
TString DelRphi(const TString &tree1, const TString &tree2) const
TString DelR(const TString &tree1, const TString &tree2) const
TString PhiSwaps(double swapAround, const TString &tree1, const TString &tree2) const
TString OrgPos(const TString &pos) const
TString Diff(UInt_t iParam) const
TH1 * Draw(const char *exp, const char *selection, const char *hDef="", Option_t *opt="")
TString GammaSi(const TString &tree) const
TString Fixed(UInt_t iParam, bool isFixed=true) const
TString Bracket(Int_t i) const
TString Par(UInt_t ui) const
TString DelPos(UInt_t ui, const TString &tree1, const TString &tree2) const
TString Parenth(const char *s) const
TString DelR(const TString &tree) const
TString ZParSi(const TString &tree) const
TString ToMumMuRadSurfDef(UInt_t iParam) const