#include <MillePedeTrees.h>
Public Types | |
enum | { kLocX = 0, kLocY, kLocZ, kNpar = 6 } |
Public Member Functions | |
TString | Abs (const char *s) const |
TString | AlignableTypeId () const |
TString | Alpha (const TString &tree, bool betaMpiPpi) const |
TString | Alpha () const |
TString | AlphaSi () const |
TString | AlphaSi (const TString &tree) const |
TString | AndL () const |
TString | AnyFreePar () const |
TString | Beta (const TString &tree, bool betaMpiPpi) const |
TString | Beta () const |
TString | BetaSi () const |
TString | BetaSi (const TString &tree) const |
TString | Bra () const |
TString | Bracket (UInt_t ui) const |
TString | Bracket (Int_t i) const |
TString | Bracket (const char *s) const |
TString | Cor (UInt_t iParam) const |
TGraph * | CreateGraph (const char *expX, const char *expY, const char *select, Option_t *option="") |
TH1 * | CreateHist (const char *exp, const char *select, const char *hDef="", Option_t *opt="") |
TH2 * | CreateHist2D (const char *expX, const char *expY, 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 | DeformValue (UInt_t i, const TString &whichOne) const |
TString | DelName (UInt_t iParam) const |
TString | DelName (const TString &pos) const |
TString | DelNameU (UInt_t iParam) const |
TString | DelNameU (const TString &pos) const |
TString | DelPhi (const TString &tree1, const TString &tree2) const |
TString | DelPhi (const TString &tree) const |
TString | DelPos (UInt_t ui, const TString &tree1, const TString &tree2) const |
TString | DelPos (UInt_t ui, const TString &tree) const |
TString | DelR (const TString &tree1, const TString &tree2) const |
TString | DelR (const TString &tree) const |
TString | DelRphi (const TString &tree1, const TString &tree2) const |
TString | DelRphi (const TString &tree) const |
TString | DeltaPos (const TString &pos, const TString &tree) const |
TString | Diff (UInt_t iParam) const |
TString | DiffPar (const TString &t1, const TString &t2, UInt_t iPar) const |
TString | Div () const |
TString | Dot () const |
TH1 * | Draw (const char *exp, const char *selection, const char *hDef="", Option_t *opt="") |
TString | Fixed (UInt_t iParam, bool isFixed=true) const |
TString | Flt (Float_t f) const |
TString | Fun (const char *fun, const char *s) const |
TString | Gamma (const TString &tree, bool betaMpiPpi) const |
TString | Gamma () const |
TString | GammaSi () const |
TString | GammaSi (const TString &tree) const |
TTree * | GetMainTree () |
TString | HieraLev (const TString &tree, Int_t level) const |
TString | HieraLev (Int_t level) const |
TString | HitsX () const |
TString | HitsY () const |
TString | Int (Int_t i) const |
TString | Int (UInt_t ui) const |
TString | Ket () const |
TString | Label (UInt_t iParam) const |
TString | Mal () const |
MillePedeTrees (const char *fileName, Int_t iter=1, const char *treeNameAdd="") | |
TString | Min () const |
TString | MisParT () const |
TString | MisPosT () const |
TString | MisRelPosT () const |
TString | MpT () const |
TString | Name (UInt_t iParam) const |
TString | Name (const TString &pos) const |
TString | NamePede (UInt_t iParam) const |
TString | NameSurfDef (UInt_t iParam) const |
TString | NumDeformValues (const TString &whichOne) const |
TString | OrgPos (const TString &pos) const |
TString | OrgPosT () const |
TString | OrL () const |
TString | Par (UInt_t ui) const |
TString | Par () const |
TString | Paren () const |
TString | Parenth (const char *s) const |
TString | ParSi (const TString &tree, UInt_t ui) const |
TString | ParSi (UInt_t iParam) const |
TString | ParSiOk (UInt_t iParam) const |
TString | ParT () const |
TString | Phi (const TString &tree) const |
TString | PhiSwaps (double swapAround, const TString &tree1, const TString &tree2) const |
TString | Plu () const |
TString | Pos () const |
TString | Pos (UInt_t ui) const |
TString | PosT () const |
TString | PreSi (UInt_t iParam) const |
TString | RelPosT () const |
TString | RPos (const TString &tree) const |
TString | RPos2 (const TString &tree) const |
TString | SelIs1D () const |
TString | SelIs2D () const |
bool | SetBowsParameters (bool use=true) |
bool | SetUseSignedR (bool use=true) |
TString | Sqrt (const char *s) const |
TString | SubDetId () const |
TString | Thesis () const |
TString | Theta (const TString &tree) const |
TString | ToMumMuRad (UInt_t iParam) const |
TString | ToMumMuRad (const TString &pos) const |
TString | ToMumMuRadPede (UInt_t iParam) const |
TString | ToMumMuRadSurfDef (UInt_t iParam) const |
TString | Unit (UInt_t iParam) const |
TString | Unit (const TString &pos) const |
TString | UnitPede (UInt_t iParam) const |
TString | UnitSurfDef (UInt_t iParam) const |
TString | Valid (UInt_t iParam) const |
TString | XPar () const |
TString | XParSi (const TString &tree) const |
TString | XParSi () const |
TString | XPos () const |
TString | YPar () const |
TString | YParSi (const TString &tree) const |
TString | YParSi () const |
TString | YPos () const |
TString | ZPar () const |
TString | ZParSi (const TString &tree) const |
TString | ZParSi () const |
TString | ZPos () const |
virtual | ~MillePedeTrees () |
Private Member Functions | |
TTree * | CreateTree (const char *fileName, const TString &treeNameAdd) |
MillePedeTrees () | |
Private Attributes | |
bool | fBowsParameters |
TString | fMisPar |
TString | fMisPos |
TString | fMisRelPos |
TString | fMp |
TString | fOrgPos |
TString | fPar |
TString | fPos |
TString | fRelPos |
TTree * | fTree |
bool | fUseSignedR |
Definition at line 16 of file MillePedeTrees.h.
anonymous enum |
MillePedeTrees::MillePedeTrees | ( | const char * | fileName, |
Int_t | iter = 1 , |
||
const char * | treeNameAdd = "" |
||
) | [explicit] |
virtual MillePedeTrees::~MillePedeTrees | ( | ) | [virtual] |
MillePedeTrees::MillePedeTrees | ( | ) | [private] |
TString MillePedeTrees::Abs | ( | const char * | s | ) | const [inline] |
TString MillePedeTrees::AlignableTypeId | ( | ) | const [inline] |
Definition at line 89 of file MillePedeTrees.h.
References OrgPosT().
{ return OrgPosT() += "ObjId";}
TString MillePedeTrees::Alpha | ( | const TString & | tree, |
bool | betaMpiPpi | ||
) | const |
TString MillePedeTrees::Alpha | ( | ) | const [inline] |
TString MillePedeTrees::AlphaSi | ( | const TString & | tree | ) | const [inline] |
TString MillePedeTrees::AlphaSi | ( | ) | const [inline] |
TString MillePedeTrees::AndL | ( | ) | const [inline] |
Definition at line 120 of file MillePedeTrees.h.
{return "&&";} // logical and (not '&')
TString MillePedeTrees::AnyFreePar | ( | ) | const |
TString MillePedeTrees::Beta | ( | const TString & | tree, |
bool | betaMpiPpi | ||
) | const |
TString MillePedeTrees::Beta | ( | ) | const [inline] |
TString MillePedeTrees::BetaSi | ( | const TString & | tree | ) | const [inline] |
TString MillePedeTrees::BetaSi | ( | ) | const [inline] |
TString MillePedeTrees::Bra | ( | ) | const [inline] |
TString MillePedeTrees::Bracket | ( | Int_t | i | ) | const [inline] |
TString MillePedeTrees::Bracket | ( | const char * | s | ) | const [inline] |
TString MillePedeTrees::Bracket | ( | UInt_t | ui | ) | const [inline] |
TString MillePedeTrees::Cor | ( | UInt_t | iParam | ) | const |
TGraph* MillePedeTrees::CreateGraph | ( | const char * | expX, |
const char * | expY, | ||
const char * | select, | ||
Option_t * | option = "" |
||
) |
TH1* MillePedeTrees::CreateHist | ( | const char * | exp, |
const char * | select, | ||
const char * | hDef = "" , |
||
Option_t * | opt = "" |
||
) |
TH2* MillePedeTrees::CreateHist2D | ( | const char * | expX, |
const char * | expY, | ||
const char * | select, | ||
const char * | hDef = "" , |
||
Option_t * | opt = "" |
||
) |
TProfile* MillePedeTrees::CreateHistProf | ( | const char * | expX, |
const char * | expY, | ||
const char * | select, | ||
const char * | hDef = "" , |
||
Option_t * | opt = "" |
||
) |
TTree* MillePedeTrees::CreateTree | ( | const char * | fileName, |
const TString & | treeNameAdd | ||
) | [private] |
TString MillePedeTrees::DeformValue | ( | UInt_t | i, |
const TString & | whichOne | ||
) | const |
TString MillePedeTrees::DelName | ( | UInt_t | iParam | ) | const [inline] |
Definition at line 147 of file MillePedeTrees.h.
References Name().
Referenced by DelNameU().
{ return "#Delta"+Name(iParam);}
TString MillePedeTrees::DelName | ( | const TString & | pos | ) | const |
TString MillePedeTrees::DelNameU | ( | UInt_t | iParam | ) | const [inline] |
TString MillePedeTrees::DelNameU | ( | const TString & | pos | ) | const [inline] |
TString MillePedeTrees::DelPhi | ( | const TString & | tree1, |
const TString & | tree2 | ||
) | const |
TString MillePedeTrees::DelPhi | ( | const TString & | tree | ) | const [inline] |
TString MillePedeTrees::DelPos | ( | UInt_t | ui, |
const TString & | tree1, | ||
const TString & | tree2 | ||
) | const |
TString MillePedeTrees::DelPos | ( | UInt_t | ui, |
const TString & | tree | ||
) | const [inline] |
TString MillePedeTrees::DelR | ( | const TString & | tree1, |
const TString & | tree2 | ||
) | const |
TString MillePedeTrees::DelR | ( | const TString & | tree | ) | const [inline] |
TString MillePedeTrees::DelRphi | ( | const TString & | tree1, |
const TString & | tree2 | ||
) | const |
TString MillePedeTrees::DelRphi | ( | const TString & | tree | ) | const [inline] |
TString MillePedeTrees::DeltaPos | ( | const TString & | pos, |
const TString & | tree | ||
) | const |
TString MillePedeTrees::Diff | ( | UInt_t | iParam | ) | const |
TString MillePedeTrees::DiffPar | ( | const TString & | t1, |
const TString & | t2, | ||
UInt_t | iPar | ||
) | const [inline] |
TString MillePedeTrees::Div | ( | ) | const [inline] |
Definition at line 119 of file MillePedeTrees.h.
{ return "/";}
TString MillePedeTrees::Dot | ( | ) | const [inline] |
Definition at line 115 of file MillePedeTrees.h.
Referenced by MisParT(), MisPosT(), MisRelPosT(), MpT(), OrgPosT(), ParT(), PosT(), and RelPosT().
{ return ".";}
TH1* MillePedeTrees::Draw | ( | const char * | exp, |
const char * | selection, | ||
const char * | hDef = "" , |
||
Option_t * | opt = "" |
||
) |
TString MillePedeTrees::Fixed | ( | UInt_t | iParam, |
bool | isFixed = true |
||
) | const |
TString MillePedeTrees::Flt | ( | Float_t | f | ) | const [inline] |
Definition at line 125 of file MillePedeTrees.h.
{ return Form("%f", f);}
TString MillePedeTrees::Fun | ( | const char * | fun, |
const char * | s | ||
) | const [inline] |
TString MillePedeTrees::Gamma | ( | const TString & | tree, |
bool | betaMpiPpi | ||
) | const |
TString MillePedeTrees::Gamma | ( | ) | const [inline] |
TString MillePedeTrees::GammaSi | ( | ) | const [inline] |
TString MillePedeTrees::GammaSi | ( | const TString & | tree | ) | const [inline] |
TTree* MillePedeTrees::GetMainTree | ( | ) | [inline] |
Definition at line 175 of file MillePedeTrees.h.
References fTree.
{return fTree;} // use with care...
TString MillePedeTrees::HieraLev | ( | Int_t | level | ) | const [inline] |
Definition at line 92 of file MillePedeTrees.h.
References HieraLev(), and ParT().
Referenced by HieraLev().
TString MillePedeTrees::HieraLev | ( | const TString & | tree, |
Int_t | level | ||
) | const [inline] |
TString MillePedeTrees::HitsX | ( | ) | const [inline] |
TString MillePedeTrees::HitsY | ( | ) | const [inline] |
TString MillePedeTrees::Int | ( | Int_t | i | ) | const [inline] |
Definition at line 123 of file MillePedeTrees.h.
Referenced by Bracket(), and HieraLev().
{ return Form("%d", i);}
TString MillePedeTrees::Int | ( | UInt_t | ui | ) | const [inline] |
Definition at line 124 of file MillePedeTrees.h.
{ return Form("%u", ui);}
TString MillePedeTrees::Ket | ( | ) | const [inline] |
TString MillePedeTrees::Label | ( | UInt_t | iParam | ) | const |
TString MillePedeTrees::Mal | ( | ) | const [inline] |
Definition at line 118 of file MillePedeTrees.h.
{ return "*";} // fixme? german...
TString MillePedeTrees::Min | ( | ) | const [inline] |
TString MillePedeTrees::MisParT | ( | ) | const [inline] |
TString MillePedeTrees::MisPosT | ( | ) | const [inline] |
TString MillePedeTrees::MisRelPosT | ( | ) | const [inline] |
Definition at line 168 of file MillePedeTrees.h.
References Dot(), and fMisRelPos.
{ return fMisRelPos + Dot();} // misaligned
TString MillePedeTrees::MpT | ( | ) | const [inline] |
TString MillePedeTrees::Name | ( | UInt_t | iParam | ) | const |
Referenced by DelName().
TString MillePedeTrees::Name | ( | const TString & | pos | ) | const |
TString MillePedeTrees::NamePede | ( | UInt_t | iParam | ) | const |
TString MillePedeTrees::NameSurfDef | ( | UInt_t | iParam | ) | const |
TString MillePedeTrees::NumDeformValues | ( | const TString & | whichOne | ) | const |
TString MillePedeTrees::OrgPos | ( | const TString & | pos | ) | const |
TString MillePedeTrees::OrgPosT | ( | ) | const [inline] |
Definition at line 166 of file MillePedeTrees.h.
References Dot(), and fOrgPos.
Referenced by AlignableTypeId(), DelPhi(), DelPos(), DelR(), DelRphi(), and SubDetId().
TString MillePedeTrees::OrL | ( | ) | const [inline] |
Definition at line 121 of file MillePedeTrees.h.
{return "||";} // logical or (not '|')
TString MillePedeTrees::Par | ( | ) | const [inline] |
TString MillePedeTrees::Par | ( | UInt_t | ui | ) | const [inline] |
TString MillePedeTrees::Paren | ( | ) | const [inline] |
TString MillePedeTrees::Parenth | ( | const char * | s | ) | const [inline] |
Definition at line 134 of file MillePedeTrees.h.
References Paren(), and Thesis().
Referenced by DiffPar(), Fun(), and HieraLev().
TString MillePedeTrees::ParSi | ( | UInt_t | iParam | ) | const |
TString MillePedeTrees::ParSi | ( | const TString & | tree, |
UInt_t | ui | ||
) | const |
TString MillePedeTrees::ParSiOk | ( | UInt_t | iParam | ) | const |
TString MillePedeTrees::ParT | ( | ) | const [inline] |
Definition at line 172 of file MillePedeTrees.h.
Referenced by HieraLev().
TString MillePedeTrees::Phi | ( | const TString & | tree | ) | const |
TString MillePedeTrees::PhiSwaps | ( | double | swapAround, |
const TString & | tree1, | ||
const TString & | tree2 | ||
) | const |
TString MillePedeTrees::Plu | ( | ) | const [inline] |
Definition at line 116 of file MillePedeTrees.h.
{ return "+";}
TString MillePedeTrees::Pos | ( | ) | const [inline] |
Definition at line 33 of file MillePedeTrees.h.
Referenced by XPos(), YPos(), and ZPos().
{ return "Pos";}
TString MillePedeTrees::Pos | ( | UInt_t | ui | ) | const [inline] |
TString MillePedeTrees::PosT | ( | ) | const [inline] |
TString MillePedeTrees::PreSi | ( | UInt_t | iParam | ) | const |
TString MillePedeTrees::RelPosT | ( | ) | const [inline] |
TString MillePedeTrees::RPos | ( | const TString & | tree | ) | const |
TString MillePedeTrees::RPos2 | ( | const TString & | tree | ) | const |
TString MillePedeTrees::SelIs1D | ( | ) | const |
TString MillePedeTrees::SelIs2D | ( | ) | const |
bool MillePedeTrees::SetBowsParameters | ( | bool | use = true | ) | [inline] |
Definition at line 43 of file MillePedeTrees.h.
References fBowsParameters.
{bool buf = fBowsParameters; fBowsParameters = use; return buf;}//true: bows param. for pede
bool MillePedeTrees::SetUseSignedR | ( | bool | use = true | ) | [inline] |
Definition at line 42 of file MillePedeTrees.h.
References fUseSignedR.
{bool buf = fUseSignedR; fUseSignedR = use; return buf;}//true: radius gets sign of y
TString MillePedeTrees::Sqrt | ( | const char * | s | ) | const [inline] |
TString MillePedeTrees::SubDetId | ( | ) | const [inline] |
Definition at line 88 of file MillePedeTrees.h.
References OrgPosT().
{ return "(" + OrgPosT() += "Id>>25)&0x7";}
TString MillePedeTrees::Thesis | ( | ) | const [inline] |
TString MillePedeTrees::Theta | ( | const TString & | tree | ) | const |
TString MillePedeTrees::ToMumMuRad | ( | UInt_t | iParam | ) | const [inline] |
Definition at line 141 of file MillePedeTrees.h.
{ return (iParam < 3 ? "*10000" : "*1000000");}
TString MillePedeTrees::ToMumMuRad | ( | const TString & | pos | ) | const |
TString MillePedeTrees::ToMumMuRadPede | ( | UInt_t | iParam | ) | const |
TString MillePedeTrees::ToMumMuRadSurfDef | ( | UInt_t | iParam | ) | const |
TString MillePedeTrees::Unit | ( | UInt_t | iParam | ) | const [inline] |
Definition at line 149 of file MillePedeTrees.h.
References kNpar.
Referenced by DelNameU().
{ return (iParam < 3 ? " [#mum]" : (iParam < kNpar ? " [#murad]" : ""));}
TString MillePedeTrees::Unit | ( | const TString & | pos | ) | const |
TString MillePedeTrees::UnitPede | ( | UInt_t | iParam | ) | const |
TString MillePedeTrees::UnitSurfDef | ( | UInt_t | iParam | ) | const |
TString MillePedeTrees::Valid | ( | UInt_t | iParam | ) | const |
TString MillePedeTrees::XPar | ( | ) | const [inline] |
TString MillePedeTrees::XParSi | ( | const TString & | tree | ) | const [inline] |
TString MillePedeTrees::XParSi | ( | ) | const [inline] |
TString MillePedeTrees::XPos | ( | ) | const [inline] |
TString MillePedeTrees::YPar | ( | ) | const [inline] |
TString MillePedeTrees::YParSi | ( | const TString & | tree | ) | const [inline] |
TString MillePedeTrees::YParSi | ( | ) | const [inline] |
TString MillePedeTrees::YPos | ( | ) | const [inline] |
TString MillePedeTrees::ZPar | ( | ) | const [inline] |
TString MillePedeTrees::ZParSi | ( | ) | const [inline] |
TString MillePedeTrees::ZParSi | ( | const TString & | tree | ) | const [inline] |
TString MillePedeTrees::ZPos | ( | ) | const [inline] |
bool MillePedeTrees::fBowsParameters [private] |
Definition at line 201 of file MillePedeTrees.h.
Referenced by SetBowsParameters().
TString MillePedeTrees::fMisPar [private] |
Definition at line 193 of file MillePedeTrees.h.
Referenced by MisParT().
TString MillePedeTrees::fMisPos [private] |
Definition at line 191 of file MillePedeTrees.h.
Referenced by MisPosT().
TString MillePedeTrees::fMisRelPos [private] |
Definition at line 192 of file MillePedeTrees.h.
Referenced by MisRelPosT().
TString MillePedeTrees::fMp [private] |
Definition at line 197 of file MillePedeTrees.h.
Referenced by MpT().
TString MillePedeTrees::fOrgPos [private] |
Definition at line 190 of file MillePedeTrees.h.
Referenced by OrgPosT().
TString MillePedeTrees::fPar [private] |
Definition at line 196 of file MillePedeTrees.h.
Referenced by ParT().
TString MillePedeTrees::fPos [private] |
Definition at line 194 of file MillePedeTrees.h.
Referenced by PosT().
TString MillePedeTrees::fRelPos [private] |
Definition at line 195 of file MillePedeTrees.h.
Referenced by RelPosT().
TTree* MillePedeTrees::fTree [private] |
Definition at line 187 of file MillePedeTrees.h.
Referenced by GetMainTree().
bool MillePedeTrees::fUseSignedR [private] |
Definition at line 200 of file MillePedeTrees.h.
Referenced by SetUseSignedR().