5 #ifndef MILLEPEDETREES_H
6 #define MILLEPEDETREES_H
22 TH1*
Draw(
const char *
exp,
const char *
selection,
const char *hDef =
"", Option_t *opt =
"");
23 TH1*
CreateHist(
const char *exp,
const char *
select,
const char *hDef =
"", Option_t *opt =
"");
24 TH2*
CreateHist2D(
const char *expX,
const char *expY,
const char *select,
25 const char *hDef =
"", Option_t *opt =
"");
26 TProfile*
CreateHistProf(
const char *expX,
const char *expY,
const char *select,
27 const char *hDef =
"", Option_t *opt =
"");
28 TGraph*
CreateGraph(
const char *expX,
const char *expY,
const char *select, Option_t *option=
"");
33 TString
Pos()
const {
return "Pos";}
40 TString
RPos(
const TString &
tree)
const;
45 TString
Phi(
const TString &
tree)
const;
48 TString
PhiSwaps(
double swapAround,
const TString &tree1,
const TString &tree2)
const;
50 TString
Alpha(
const TString &
tree,
bool betaMpiPpi)
const;
51 TString
Beta (
const TString &
tree,
bool betaMpiPpi)
const;
52 TString
Gamma(
const TString &
tree,
bool betaMpiPpi)
const;
55 TString
Par()
const {
return "Par";}
63 TString
DiffPar(
const TString &t1,
const TString &t2,
UInt_t iPar)
const {
75 TString
DelPos(
UInt_t ui,
const TString &tree1,
const TString &tree2)
const;
76 TString
DelR(
const TString &tree1,
const TString &tree2)
const;
77 TString
DelRphi(
const TString &tree1,
const TString &tree2)
const;
79 TString
DelPhi(
const TString &tree1,
const TString &tree2)
const;
91 return Parenth(tree +
"HieraLevel==" +
Int(level));}
95 TString
Fixed(
UInt_t iParam,
bool isFixed =
true)
const;
115 TString
Dot()
const {
return ".";}
116 TString
Plu()
const {
return "+";}
117 TString
Min()
const {
return "-";}
118 TString
Mal()
const {
return "*";}
119 TString
Div()
const {
return "/";}
120 TString
AndL()
const {
return "&&";}
121 TString
OrL()
const {
return "||";}
123 TString
Int(Int_t
i)
const {
return Form(
"%d", i);}
125 TString
Flt(Float_t
f)
const {
return Form(
"%f", f);}
127 TString
Bra()
const {
return "[";}
128 TString
Ket()
const {
return "]";}
132 TString
Paren()
const {
return "(";}
135 TString
Abs(
const char *
s)
const {
return Fun(
"TMath::Abs", s);}
137 TString
Fun(
const char *fun,
const char *
s)
const {
return fun +
Parenth(s);}
138 TString
Sqrt(
const char *
s)
const {
return Fun(
"sqrt", s);}
151 : (iParam <
kNpar ?
" [#murad]" :
""));}
156 TString
Name(
const TString &
pos)
const;
160 TString
Unit(
const TString &
pos)
const;
182 TTree*
CreateTree(
const char *fileName,
const TString &treeNameAdd);
TString Cor(UInt_t iParam) const
TString HieraLev(Int_t level) const
TString Theta(const TString &tree) const
TString Fun(const char *fun, const char *s) const
TString NumDeformValues(const TString &whichOne) const
TString PhiSwaps(double swapAround, const TString &tree1, const TString &tree2) const
TString DelName(UInt_t iParam) const
TString ToMumMuRad(UInt_t iParam) const
TString ToMumMuRadPede(UInt_t iParam) const
bool SetBowsParameters(bool use=true)
bool SetUseSignedR(bool use=true)
TString OrgPos(const TString &pos) const
TString DeltaPos(const TString &pos, const TString &tree) const
TString ParSi(const TString &tree, UInt_t ui) const
TString AlignableTypeId() const
TString DelPhi(const TString &tree1, const TString &tree2) const
TString Flt(Float_t f) const
TString Par(UInt_t ui) const
TString ParSiOk(UInt_t iParam) const
TString DeformValue(UInt_t i, const TString &whichOne) const
TString Valid(UInt_t iParam) const
TString HieraLev(const TString &tree, Int_t level) const
TString PreSi(UInt_t iParam) const
TString XParSi(const TString &tree) const
TString Bracket(UInt_t ui) const
TString DiffPar(const TString &t1, const TString &t2, UInt_t iPar) const
TH2 * CreateHist2D(const char *expX, const char *expY, const char *select, const char *hDef="", Option_t *opt="")
TString NamePede(UInt_t iParam) const
TString Fixed(UInt_t iParam, bool isFixed=true) const
TString Bracket(Int_t i) const
TString AnyFreePar() const
TString DelR(const TString &tree) const
TString NamePos(UInt_t iPos) const
TString DelRphi(const TString &tree) const
TString Int(Int_t i) const
TString GammaSi(const TString &tree) const
TString Label(UInt_t iParam) const
TString DelPos(UInt_t ui, const TString &tree) const
TString RPos2(const TString &tree) const
TString ZParSi(const TString &tree) const
TString Bracket(const char *s) const
TTree * CreateTree(const char *fileName, const TString &treeNameAdd)
TString RPos(const TString &tree) const
TString Unit(UInt_t iParam) const
TString DelPos(UInt_t ui, const TString &tree1, const TString &tree2) const
TString Pos(UInt_t ui) const
TString UnitSurfDef(UInt_t iParam) const
TString Parenth(const char *s) const
TString UnitPede(UInt_t iParam) const
TString DelNameU(UInt_t iParam) const
TString DelR(const TString &tree1, const TString &tree2) const
TString BetaSi(const TString &tree) const
TString NameSurfDef(UInt_t iParam) const
TString DelPhi(const TString &tree) const
TString Abs(const char *s) const
TString Name(UInt_t iParam) const
TGraph * CreateGraph(const char *expX, const char *expY, const char *select, Option_t *option="")
TString Sqrt(const char *s) const
virtual ~MillePedeTrees()
TString Phi(const TString &tree) const
TH1 * Draw(const char *exp, const char *selection, const char *hDef="", Option_t *opt="")
TString YParSi(const TString &tree) const
TH1 * CreateHist(const char *exp, const char *select, const char *hDef="", Option_t *opt="")
TProfile * CreateHistProf(const char *expX, const char *expY, const char *select, const char *hDef="", Option_t *opt="")
TString Diff(UInt_t iParam) const
TString ToMumMuRadSurfDef(UInt_t iParam) const
TString AlphaSi(const TString &tree) const
TString DelRphi(const TString &tree1, const TString &tree2) const
TString Int(UInt_t ui) const
TString DelNameU(const TString &pos) const