CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Member Functions | Private Attributes
MillePedeTrees Class Reference

#include <MillePedeTrees.h>

Inheritance diagram for MillePedeTrees:
PlotMillePede

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 &tree) const
 
TString AlphaSi () const
 
TString AndL () const
 
TString AnyFreePar () const
 
TString Beta (const TString &tree, bool betaMpiPpi) const
 
TString Beta () const
 
TString BetaSi (const TString &tree) const
 
TString BetaSi () 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 &tree) const
 
TString GammaSi () 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 MpT () const
 
TString Name (UInt_t iParam) const
 
TString Name (const TString &pos) const
 
TString NamePede (UInt_t iParam) const
 
TString NamePos (UInt_t iPos) 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 () const
 
TString Par (UInt_t ui) 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 RPos (const TString &tree) const
 
TString RPos2 (const TString &tree) const
 
TString SelIs1D () const
 
TString SelIs2D () const
 
bool SetBowsParameters (bool use=true)
 
bool SetSurfDefDeltaBows (bool deltaBows)
 
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 fMp
 
TString fOrgPos
 
TString fPar
 
TString fPos
 
bool fSurfDefDeltaBows
 
TTree * fTree
 
bool fUseSignedR
 

Detailed Description

Definition at line 16 of file MillePedeTrees.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
kLocX 
kLocY 
kLocZ 
kNpar 

Definition at line 177 of file MillePedeTrees.h.

Constructor & Destructor Documentation

◆ MillePedeTrees() [1/2]

MillePedeTrees::MillePedeTrees ( const char *  fileName,
Int_t  iter = 1,
const char *  treeNameAdd = "" 
)
explicit

◆ ~MillePedeTrees()

virtual MillePedeTrees::~MillePedeTrees ( )
virtual

◆ MillePedeTrees() [2/2]

MillePedeTrees::MillePedeTrees ( )
private

Member Function Documentation

◆ Abs()

TString MillePedeTrees::Abs ( const char *  s) const
inline

Definition at line 136 of file MillePedeTrees.h.

References Fun(), and alignCSCRings::s.

136 {return Fun("TMath::Abs", s);}
TString Fun(const char *fun, const char *s) const

◆ AlignableTypeId()

TString MillePedeTrees::AlignableTypeId ( ) const
inline

Definition at line 90 of file MillePedeTrees.h.

References OrgPosT().

90 { return OrgPosT() += "ObjId";}
TString OrgPosT() const

◆ Alpha() [1/2]

TString MillePedeTrees::Alpha ( const TString &  tree,
bool  betaMpiPpi 
) const

◆ Alpha() [2/2]

TString MillePedeTrees::Alpha ( ) const
inline

Definition at line 61 of file MillePedeTrees.h.

References Par().

61 { return Par(3);}
TString Par() const

◆ AlphaSi() [1/2]

TString MillePedeTrees::AlphaSi ( const TString &  tree) const
inline

Definition at line 71 of file MillePedeTrees.h.

References ParSi().

71 { return ParSi(tree, 3);}
TString ParSi(const TString &tree, UInt_t ui) const
Definition: tree.py:1

◆ AlphaSi() [2/2]

TString MillePedeTrees::AlphaSi ( ) const
inline

Definition at line 107 of file MillePedeTrees.h.

References ParSi().

107 { return ParSi(3);}
TString ParSi(const TString &tree, UInt_t ui) const

◆ AndL()

TString MillePedeTrees::AndL ( ) const
inline

Definition at line 121 of file MillePedeTrees.h.

121 {return "&&";} // logical and (not '&')

◆ AnyFreePar()

TString MillePedeTrees::AnyFreePar ( ) const

◆ Beta() [1/2]

TString MillePedeTrees::Beta ( const TString &  tree,
bool  betaMpiPpi 
) const

◆ Beta() [2/2]

TString MillePedeTrees::Beta ( ) const
inline

Definition at line 62 of file MillePedeTrees.h.

References Par().

62 { return Par(4);}
TString Par() const

◆ BetaSi() [1/2]

TString MillePedeTrees::BetaSi ( const TString &  tree) const
inline

Definition at line 72 of file MillePedeTrees.h.

References ParSi().

72 { return ParSi(tree, 4);}
TString ParSi(const TString &tree, UInt_t ui) const
Definition: tree.py:1

◆ BetaSi() [2/2]

TString MillePedeTrees::BetaSi ( ) const
inline

Definition at line 108 of file MillePedeTrees.h.

References ParSi().

108 { return ParSi(4);}
TString ParSi(const TString &tree, UInt_t ui) const

◆ Bra()

TString MillePedeTrees::Bra ( ) const
inline

Definition at line 128 of file MillePedeTrees.h.

Referenced by Bracket().

128 { return "[";}

◆ Bracket() [1/3]

TString MillePedeTrees::Bracket ( UInt_t  ui) const
inline

Definition at line 130 of file MillePedeTrees.h.

References Bra(), Int(), Ket(), and interactiveExample::ui.

Referenced by Par(), and Pos().

130 { return Bra() += Int(ui) += Ket();}
TString Int(Int_t i) const
TString Bra() const
TString Ket() const

◆ Bracket() [2/3]

TString MillePedeTrees::Bracket ( Int_t  i) const
inline

Definition at line 131 of file MillePedeTrees.h.

References Bra(), mps_fire::i, Int(), and Ket().

131 { return Bra() += Int(i) += Ket();}
TString Int(Int_t i) const
TString Bra() const
TString Ket() const

◆ Bracket() [3/3]

TString MillePedeTrees::Bracket ( const char *  s) const
inline

Definition at line 132 of file MillePedeTrees.h.

References Bra(), Ket(), and alignCSCRings::s.

132 { return (Bra() += s) += Ket();}
TString Bra() const
TString Ket() const

◆ Cor()

TString MillePedeTrees::Cor ( UInt_t  iParam) const

◆ CreateGraph()

TGraph* MillePedeTrees::CreateGraph ( const char *  expX,
const char *  expY,
const char *  select,
Option_t *  option = "" 
)

◆ CreateHist()

TH1* MillePedeTrees::CreateHist ( const char *  exp,
const char *  select,
const char *  hDef = "",
Option_t *  opt = "" 
)

◆ CreateHist2D()

TH2* MillePedeTrees::CreateHist2D ( const char *  expX,
const char *  expY,
const char *  select,
const char *  hDef = "",
Option_t *  opt = "" 
)

◆ CreateHistProf()

TProfile* MillePedeTrees::CreateHistProf ( const char *  expX,
const char *  expY,
const char *  select,
const char *  hDef = "",
Option_t *  opt = "" 
)

◆ CreateTree()

TTree* MillePedeTrees::CreateTree ( const char *  fileName,
const TString &  treeNameAdd 
)
private

◆ DeformValue()

TString MillePedeTrees::DeformValue ( UInt_t  i,
const TString &  whichOne 
) const

◆ DelName() [1/2]

TString MillePedeTrees::DelName ( UInt_t  iParam) const
inline

Definition at line 148 of file MillePedeTrees.h.

References Name().

Referenced by DelNameU().

148 { return "#Delta"+Name(iParam);}
TString Name(UInt_t iParam) const

◆ DelName() [2/2]

TString MillePedeTrees::DelName ( const TString &  pos) const

◆ DelNameU() [1/2]

TString MillePedeTrees::DelNameU ( UInt_t  iParam) const
inline

Definition at line 149 of file MillePedeTrees.h.

References DelName(), and Unit().

149 { return DelName(iParam) += Unit(iParam);}
TString Unit(UInt_t iParam) const
TString DelName(UInt_t iParam) const

◆ DelNameU() [2/2]

TString MillePedeTrees::DelNameU ( const TString &  pos) const
inline

Definition at line 160 of file MillePedeTrees.h.

References DelName(), and Unit().

160 { return DelName(pos) += Unit(pos);}
TString Unit(UInt_t iParam) const
TString DelName(UInt_t iParam) const

◆ DelPhi() [1/2]

TString MillePedeTrees::DelPhi ( const TString &  tree1,
const TString &  tree2 
) const

◆ DelPhi() [2/2]

TString MillePedeTrees::DelPhi ( const TString &  tree) const
inline

Definition at line 85 of file MillePedeTrees.h.

References DelPhi(), and OrgPosT().

Referenced by DelPhi().

85 { return DelPhi(tree, OrgPosT());}
TString OrgPosT() const
Definition: tree.py:1
TString DelPhi(const TString &tree1, const TString &tree2) const

◆ DelPos() [1/2]

TString MillePedeTrees::DelPos ( UInt_t  ui,
const TString &  tree1,
const TString &  tree2 
) const

◆ DelPos() [2/2]

TString MillePedeTrees::DelPos ( UInt_t  ui,
const TString &  tree 
) const
inline

Definition at line 82 of file MillePedeTrees.h.

References DelPos(), OrgPosT(), and interactiveExample::ui.

Referenced by DelPos().

82 { return DelPos(ui, tree, OrgPosT());}
TString OrgPosT() const
Definition: tree.py:1
TString DelPos(UInt_t ui, const TString &tree1, const TString &tree2) const

◆ DelR() [1/2]

TString MillePedeTrees::DelR ( const TString &  tree1,
const TString &  tree2 
) const

◆ DelR() [2/2]

TString MillePedeTrees::DelR ( const TString &  tree) const
inline

Definition at line 83 of file MillePedeTrees.h.

References DelR(), and OrgPosT().

Referenced by DelR().

83 { return DelR(tree, OrgPosT());}
TString OrgPosT() const
TString DelR(const TString &tree1, const TString &tree2) const
Definition: tree.py:1

◆ DelRphi() [1/2]

TString MillePedeTrees::DelRphi ( const TString &  tree1,
const TString &  tree2 
) const

◆ DelRphi() [2/2]

TString MillePedeTrees::DelRphi ( const TString &  tree) const
inline

Definition at line 84 of file MillePedeTrees.h.

References DelRphi(), and OrgPosT().

Referenced by DelRphi().

84 { return DelRphi(tree, OrgPosT());}
TString OrgPosT() const
TString DelRphi(const TString &tree1, const TString &tree2) const
Definition: tree.py:1

◆ DeltaPos()

TString MillePedeTrees::DeltaPos ( const TString &  pos,
const TString &  tree 
) const

◆ Diff()

TString MillePedeTrees::Diff ( UInt_t  iParam) const

◆ DiffPar()

TString MillePedeTrees::DiffPar ( const TString &  t1,
const TString &  t2,
UInt_t  iPar 
) const
inline

Definition at line 64 of file MillePedeTrees.h.

References Min(), Par(), Parenth(), RandomServiceHelper::t1, and RandomServiceHelper::t2.

64  {
65  return Parenth(t1 + Par(iPar) += Min() += t2 + Par(iPar));}
TString Parenth(const char *s) const
TString Min() const
TString Par() const

◆ Div()

TString MillePedeTrees::Div ( ) const
inline

Definition at line 120 of file MillePedeTrees.h.

120 { return "/";}

◆ Dot()

TString MillePedeTrees::Dot ( ) const
inline

Definition at line 116 of file MillePedeTrees.h.

Referenced by MisParT(), MisPosT(), MpT(), OrgPosT(), ParT(), and PosT().

116 { return ".";}

◆ Draw()

TH1* MillePedeTrees::Draw ( const char *  exp,
const char *  selection,
const char *  hDef = "",
Option_t *  opt = "" 
)

◆ Fixed()

TString MillePedeTrees::Fixed ( UInt_t  iParam,
bool  isFixed = true 
) const

◆ Flt()

TString MillePedeTrees::Flt ( Float_t  f) const
inline

Definition at line 126 of file MillePedeTrees.h.

References f.

126 { return Form("%f", f);}
double f[11][100]

◆ Fun()

TString MillePedeTrees::Fun ( const char *  fun,
const char *  s 
) const
inline

Definition at line 138 of file MillePedeTrees.h.

References Parenth(), and alignCSCRings::s.

Referenced by Abs(), and Sqrt().

138 { return fun + Parenth(s);}
TString Parenth(const char *s) const

◆ Gamma() [1/2]

TString MillePedeTrees::Gamma ( const TString &  tree,
bool  betaMpiPpi 
) const

◆ Gamma() [2/2]

TString MillePedeTrees::Gamma ( ) const
inline

Definition at line 63 of file MillePedeTrees.h.

References Par().

63 { return Par(5);}
TString Par() const

◆ GammaSi() [1/2]

TString MillePedeTrees::GammaSi ( const TString &  tree) const
inline

Definition at line 73 of file MillePedeTrees.h.

References ParSi().

73 { return ParSi(tree, 5);}
TString ParSi(const TString &tree, UInt_t ui) const
Definition: tree.py:1

◆ GammaSi() [2/2]

TString MillePedeTrees::GammaSi ( ) const
inline

Definition at line 109 of file MillePedeTrees.h.

References ParSi().

109 { return ParSi(5);}
TString ParSi(const TString &tree, UInt_t ui) const

◆ GetMainTree()

TTree* MillePedeTrees::GetMainTree ( )
inline

Definition at line 175 of file MillePedeTrees.h.

References fTree.

175 {return fTree;} // use with care...

◆ HieraLev() [1/2]

TString MillePedeTrees::HieraLev ( const TString &  tree,
Int_t  level 
) const
inline

Definition at line 91 of file MillePedeTrees.h.

References Int(), gammaJetAnalysis_CHSJECs_cff::level, and Parenth().

91  {
92  return Parenth(tree + "HieraLevel==" + Int(level));}
TString Parenth(const char *s) const
TString Int(Int_t i) const
Definition: tree.py:1

◆ HieraLev() [2/2]

TString MillePedeTrees::HieraLev ( Int_t  level) const
inline

Definition at line 93 of file MillePedeTrees.h.

References HieraLev(), gammaJetAnalysis_CHSJECs_cff::level, and ParT().

Referenced by HieraLev().

93 {return HieraLev(ParT(), level);}
TString HieraLev(const TString &tree, Int_t level) const
TString ParT() const

◆ HitsX()

TString MillePedeTrees::HitsX ( ) const
inline

Definition at line 110 of file MillePedeTrees.h.

References MpT().

110 { return MpT() += "HitsX";}
TString MpT() const

◆ HitsY()

TString MillePedeTrees::HitsY ( ) const
inline

Definition at line 111 of file MillePedeTrees.h.

References MpT().

111 { return MpT() += "HitsY";}
TString MpT() const

◆ Int() [1/2]

TString MillePedeTrees::Int ( Int_t  i) const
inline

Definition at line 124 of file MillePedeTrees.h.

References mps_fire::i.

Referenced by Bracket(), and HieraLev().

124 { return Form("%d", i);}

◆ Int() [2/2]

TString MillePedeTrees::Int ( UInt_t  ui) const
inline

Definition at line 125 of file MillePedeTrees.h.

References interactiveExample::ui.

125 { return Form("%u", ui);}

◆ Ket()

TString MillePedeTrees::Ket ( ) const
inline

Definition at line 129 of file MillePedeTrees.h.

Referenced by Bracket().

129 { return "]";}

◆ Label()

TString MillePedeTrees::Label ( UInt_t  iParam) const

◆ Mal()

TString MillePedeTrees::Mal ( ) const
inline

Definition at line 119 of file MillePedeTrees.h.

119 { return "*";} // fixme? german...

◆ Min()

TString MillePedeTrees::Min ( ) const
inline

Definition at line 118 of file MillePedeTrees.h.

Referenced by DiffPar().

118 { return "-";}

◆ MisParT()

TString MillePedeTrees::MisParT ( ) const
inline

Definition at line 170 of file MillePedeTrees.h.

References Dot(), and fMisPar.

170 { return fMisPar + Dot();} // misalignment
TString Dot() const

◆ MisPosT()

TString MillePedeTrees::MisPosT ( ) const
inline

Definition at line 169 of file MillePedeTrees.h.

References Dot(), and fMisPos.

169 { return fMisPos + Dot();} // misaligned global positions
TString Dot() const

◆ MpT()

TString MillePedeTrees::MpT ( ) const
inline

Definition at line 173 of file MillePedeTrees.h.

References Dot(), and fMp.

Referenced by HitsX(), and HitsY().

173 { return fMp + Dot();} // MP tree (parameter, hits,...)
TString Dot() const

◆ Name() [1/2]

TString MillePedeTrees::Name ( UInt_t  iParam) const

Referenced by DelName().

◆ Name() [2/2]

TString MillePedeTrees::Name ( const TString &  pos) const

◆ NamePede()

TString MillePedeTrees::NamePede ( UInt_t  iParam) const

◆ NamePos()

TString MillePedeTrees::NamePos ( UInt_t  iPos) const

◆ NameSurfDef()

TString MillePedeTrees::NameSurfDef ( UInt_t  iParam) const

◆ NumDeformValues()

TString MillePedeTrees::NumDeformValues ( const TString &  whichOne) const

◆ OrgPos()

TString MillePedeTrees::OrgPos ( const TString &  pos) const

◆ OrgPosT()

TString MillePedeTrees::OrgPosT ( ) const
inline

Definition at line 168 of file MillePedeTrees.h.

References Dot(), and fOrgPos.

Referenced by AlignableTypeId(), DelPhi(), DelPos(), DelR(), DelRphi(), and SubDetId().

168 { return fOrgPos + Dot();} // nominal global positions
TString Dot() const

◆ OrL()

TString MillePedeTrees::OrL ( ) const
inline

Definition at line 122 of file MillePedeTrees.h.

122 {return "||";} // logical or (not '|')

◆ Par() [1/2]

TString MillePedeTrees::Par ( ) const
inline

Definition at line 56 of file MillePedeTrees.h.

Referenced by Alpha(), Beta(), DiffPar(), Gamma(), XPar(), YPar(), and ZPar().

56 { return "Par";}

◆ Par() [2/2]

TString MillePedeTrees::Par ( UInt_t  ui) const
inline

Definition at line 57 of file MillePedeTrees.h.

References Bracket(), Par(), and interactiveExample::ui.

Referenced by Par().

57 { return Par() += Bracket(ui);}
TString Bracket(UInt_t ui) const
TString Par() const

◆ Paren()

TString MillePedeTrees::Paren ( ) const
inline

Definition at line 133 of file MillePedeTrees.h.

Referenced by Parenth().

133 { return "(";}

◆ Parenth()

TString MillePedeTrees::Parenth ( const char *  s) const
inline

Definition at line 135 of file MillePedeTrees.h.

References Paren(), alignCSCRings::s, and Thesis().

Referenced by DiffPar(), Fun(), and HieraLev().

135 { return (Paren() += s) += Thesis();}
TString Paren() const
TString Thesis() const

◆ ParSi() [1/2]

TString MillePedeTrees::ParSi ( const TString &  tree,
UInt_t  ui 
) const

◆ ParSi() [2/2]

TString MillePedeTrees::ParSi ( UInt_t  iParam) const

◆ ParSiOk()

TString MillePedeTrees::ParSiOk ( UInt_t  iParam) const

◆ ParT()

TString MillePedeTrees::ParT ( ) const
inline

Definition at line 172 of file MillePedeTrees.h.

References Dot(), and fPar.

Referenced by HieraLev().

172 { return fPar + Dot();} // remaining misalignment
TString Dot() const

◆ Phi()

TString MillePedeTrees::Phi ( const TString &  tree) const

◆ PhiSwaps()

TString MillePedeTrees::PhiSwaps ( double  swapAround,
const TString &  tree1,
const TString &  tree2 
) const

◆ Plu()

TString MillePedeTrees::Plu ( ) const
inline

Definition at line 117 of file MillePedeTrees.h.

117 { return "+";}

◆ Pos() [1/2]

TString MillePedeTrees::Pos ( ) const
inline

Definition at line 33 of file MillePedeTrees.h.

Referenced by XPos(), YPos(), and ZPos().

33 { return "Pos";}

◆ Pos() [2/2]

TString MillePedeTrees::Pos ( UInt_t  ui) const
inline

Definition at line 34 of file MillePedeTrees.h.

References Bracket(), Pos(), and interactiveExample::ui.

Referenced by Pos().

34 { return Pos() += Bracket(ui);}
TString Bracket(UInt_t ui) const
TString Pos() const

◆ PosT()

TString MillePedeTrees::PosT ( ) const
inline

Definition at line 171 of file MillePedeTrees.h.

References Dot(), and fPos.

171 { return fPos + Dot();} // aligned global positions
TString Dot() const

◆ PreSi()

TString MillePedeTrees::PreSi ( UInt_t  iParam) const

◆ RPos()

TString MillePedeTrees::RPos ( const TString &  tree) const

◆ RPos2()

TString MillePedeTrees::RPos2 ( const TString &  tree) const

◆ SelIs1D()

TString MillePedeTrees::SelIs1D ( ) const

◆ SelIs2D()

TString MillePedeTrees::SelIs2D ( ) const

◆ SetBowsParameters()

bool MillePedeTrees::SetBowsParameters ( bool  use = true)
inline

Definition at line 43 of file MillePedeTrees.h.

References visDQMUpload::buf, and fBowsParameters.

43 {bool buf = fBowsParameters; fBowsParameters = use; return buf;}//true: bows param. for pede

◆ SetSurfDefDeltaBows()

bool MillePedeTrees::SetSurfDefDeltaBows ( bool  deltaBows)
inline

Definition at line 44 of file MillePedeTrees.h.

References visDQMUpload::buf, and fSurfDefDeltaBows.

44 {const bool buf = fSurfDefDeltaBows; fSurfDefDeltaBows = deltaBows; return buf;} // take care: problems for false if drawing 1-sensor modules!

◆ SetUseSignedR()

bool MillePedeTrees::SetUseSignedR ( bool  use = true)
inline

Definition at line 42 of file MillePedeTrees.h.

References visDQMUpload::buf, and fUseSignedR.

42 {bool buf = fUseSignedR; fUseSignedR = use; return buf;}//true: radius gets sign of y

◆ Sqrt()

TString MillePedeTrees::Sqrt ( const char *  s) const
inline

Definition at line 139 of file MillePedeTrees.h.

References Fun(), and alignCSCRings::s.

139 { return Fun("sqrt", s);}
TString Fun(const char *fun, const char *s) const

◆ SubDetId()

TString MillePedeTrees::SubDetId ( ) const
inline

Definition at line 89 of file MillePedeTrees.h.

References OrgPosT().

89 { return "(" + OrgPosT() += "Id>>25)&0x7";}
TString OrgPosT() const

◆ Thesis()

TString MillePedeTrees::Thesis ( ) const
inline

Definition at line 134 of file MillePedeTrees.h.

Referenced by Parenth().

134 { return ")";}

◆ Theta()

TString MillePedeTrees::Theta ( const TString &  tree) const

◆ ToMumMuRad() [1/2]

TString MillePedeTrees::ToMumMuRad ( UInt_t  iParam) const
inline

Definition at line 142 of file MillePedeTrees.h.

142 { return (iParam < 3 ? "*10000" : "*1000000");}

◆ ToMumMuRad() [2/2]

TString MillePedeTrees::ToMumMuRad ( const TString &  pos) const

◆ ToMumMuRadPede()

TString MillePedeTrees::ToMumMuRadPede ( UInt_t  iParam) const

◆ ToMumMuRadSurfDef()

TString MillePedeTrees::ToMumMuRadSurfDef ( UInt_t  iParam) const

◆ Unit() [1/2]

TString MillePedeTrees::Unit ( UInt_t  iParam) const
inline

Definition at line 150 of file MillePedeTrees.h.

References kNpar.

Referenced by DelNameU().

150  { return (iParam < 3
151  ? " [#mum]"
152  : (iParam < kNpar ? " [#murad]" : ""));}

◆ Unit() [2/2]

TString MillePedeTrees::Unit ( const TString &  pos) const

◆ UnitPede()

TString MillePedeTrees::UnitPede ( UInt_t  iParam) const

◆ UnitSurfDef()

TString MillePedeTrees::UnitSurfDef ( UInt_t  iParam) const

◆ Valid()

TString MillePedeTrees::Valid ( UInt_t  iParam) const

◆ XPar()

TString MillePedeTrees::XPar ( ) const
inline

Definition at line 58 of file MillePedeTrees.h.

References Par().

58 { return Par(0);}
TString Par() const

◆ XParSi() [1/2]

TString MillePedeTrees::XParSi ( const TString &  tree) const
inline

Definition at line 68 of file MillePedeTrees.h.

References ParSi().

68 { return ParSi(tree, 0);}
TString ParSi(const TString &tree, UInt_t ui) const
Definition: tree.py:1

◆ XParSi() [2/2]

TString MillePedeTrees::XParSi ( ) const
inline

Definition at line 104 of file MillePedeTrees.h.

References ParSi().

104 { return ParSi(0);}
TString ParSi(const TString &tree, UInt_t ui) const

◆ XPos()

TString MillePedeTrees::XPos ( ) const
inline

Definition at line 35 of file MillePedeTrees.h.

References Pos().

35 { return Pos(0);}
TString Pos() const

◆ YPar()

TString MillePedeTrees::YPar ( ) const
inline

Definition at line 59 of file MillePedeTrees.h.

References Par().

59 { return Par(1);}
TString Par() const

◆ YParSi() [1/2]

TString MillePedeTrees::YParSi ( const TString &  tree) const
inline

Definition at line 69 of file MillePedeTrees.h.

References ParSi().

69 { return ParSi(tree, 1);}
TString ParSi(const TString &tree, UInt_t ui) const
Definition: tree.py:1

◆ YParSi() [2/2]

TString MillePedeTrees::YParSi ( ) const
inline

Definition at line 105 of file MillePedeTrees.h.

References ParSi().

105 { return ParSi(1);}
TString ParSi(const TString &tree, UInt_t ui) const

◆ YPos()

TString MillePedeTrees::YPos ( ) const
inline

Definition at line 36 of file MillePedeTrees.h.

References Pos().

36 { return Pos(1);}
TString Pos() const

◆ ZPar()

TString MillePedeTrees::ZPar ( ) const
inline

Definition at line 60 of file MillePedeTrees.h.

References Par().

60 { return Par(2);}
TString Par() const

◆ ZParSi() [1/2]

TString MillePedeTrees::ZParSi ( const TString &  tree) const
inline

Definition at line 70 of file MillePedeTrees.h.

References ParSi().

70 { return ParSi(tree, 2);}
TString ParSi(const TString &tree, UInt_t ui) const
Definition: tree.py:1

◆ ZParSi() [2/2]

TString MillePedeTrees::ZParSi ( ) const
inline

Definition at line 106 of file MillePedeTrees.h.

References ParSi().

106 { return ParSi(2);}
TString ParSi(const TString &tree, UInt_t ui) const

◆ ZPos()

TString MillePedeTrees::ZPos ( ) const
inline

Definition at line 37 of file MillePedeTrees.h.

References Pos().

37 { return Pos(2);}
TString Pos() const

Member Data Documentation

◆ fBowsParameters

bool MillePedeTrees::fBowsParameters
private

Definition at line 199 of file MillePedeTrees.h.

Referenced by SetBowsParameters().

◆ fMisPar

TString MillePedeTrees::fMisPar
private

Definition at line 192 of file MillePedeTrees.h.

Referenced by MisParT().

◆ fMisPos

TString MillePedeTrees::fMisPos
private

Definition at line 191 of file MillePedeTrees.h.

Referenced by MisPosT().

◆ fMp

TString MillePedeTrees::fMp
private

Definition at line 195 of file MillePedeTrees.h.

Referenced by MpT().

◆ fOrgPos

TString MillePedeTrees::fOrgPos
private

Definition at line 190 of file MillePedeTrees.h.

Referenced by OrgPosT().

◆ fPar

TString MillePedeTrees::fPar
private

Definition at line 194 of file MillePedeTrees.h.

Referenced by ParT().

◆ fPos

TString MillePedeTrees::fPos
private

Definition at line 193 of file MillePedeTrees.h.

Referenced by PosT().

◆ fSurfDefDeltaBows

bool MillePedeTrees::fSurfDefDeltaBows
private

Definition at line 200 of file MillePedeTrees.h.

Referenced by SetSurfDefDeltaBows().

◆ fTree

TTree* MillePedeTrees::fTree
private

Definition at line 187 of file MillePedeTrees.h.

Referenced by GetMainTree().

◆ fUseSignedR

bool MillePedeTrees::fUseSignedR
private

Definition at line 198 of file MillePedeTrees.h.

Referenced by SetUseSignedR().