CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
PlotMillePede Class Reference

#include <PlotMillePede.h>

Inheritance diagram for PlotMillePede:
MillePedeTrees

Public Member Functions

void AddAdditionalSel (const char *selection)
 
void AddAdditionalSel (const TString &xyzrPhiNhit, Float_t min, Float_t max)
 
void AddBasicSelection (TString &sel) const
 
void AddSubDetId (Int_t subDetId)
 
void ClearAdditionalSel ()
 
void CopyAddBinning (TString &name, const TH1 *hist) const
 
TString DetLayerLabel (unsigned int detLayer) const
 
void DrawAll (Option_t *opt="rogpmeh")
 
void DrawBigPullLabel (float minPull, bool addPlots=false)
 
void DrawBigPullPos (float minPull, bool addPlots=false)
 
void DrawCheck ()
 
void DrawErrorVsHit (bool addPlots=false, const TString &sel="")
 
void DrawGlobCorr (bool addPlots=false, const TString &sel="", Option_t *opt="", Float_t min=0., Float_t max=1.)
 
void DrawHitMaps (bool addPlots=false, bool inclFullFixed=true)
 
void DrawLabelDiffAbove (UInt_t iPar, float minDiff, bool addPlots=false)
 
void DrawMisVsLocation (bool addPlots=false, const TString &sel="", Option_t *opt="")
 
void DrawOrigParam (bool addPlots=false, const TString &sel="")
 
void DrawOrigPos (bool addPlots=false, const TString &sel="")
 
void DrawParam (bool addPlots=false, const TString &sel="")
 
void DrawParamResult (Option_t *option="")
 
void DrawPedeParam (Option_t *option="", unsigned int nNonRigidParam=12)
 
void DrawPedeParamVsLocation (Option_t *option="", unsigned int nNonRigidParam=12)
 
void DrawPosMisVsLocation (bool addPlots=false, const TString &selection="", Option_t *option="")
 
void DrawPosResult (bool addPlots=false, const TString &selection="")
 
void DrawPull (Option_t *opt="")
 
void DrawSubDetId (bool addPlots=false)
 
void DrawSurfaceDeformations (const TString &whichOne="result start", Option_t *option="", unsigned int maxNumPars=12)
 
void DrawSurfaceDeformationsLayer (Option_t *option="", const unsigned int firstDetLayer=22, const unsigned int lastDetLayer=33, const TString &whichOne="result", unsigned int maxNumPars=12)
 
void DrawXyArrow (Double_t factor, Option_t *option="")
 
TString FinalMisAlignment (UInt_t iPar) const
 
const TString GetAdditionalSel () const
 
GFHistManagerGetHistManager ()
 
Float_t GetMaxDev () const
 
const TArrayI * GetSubDetIds () const
 
const TString & GetTitle () const
 
 PlotMillePede (const char *fileName, Int_t iov=1, Int_t hieraLevel=0, bool useDiff=false)
 
 PlotMillePede (const char *fileName, Int_t iov, Int_t hieraLevel, const char *treeNameAdd)
 
void ScanPedeParAbove (UInt_t iPar, float absMin=1.e5)
 
void ScanSelection (const char *sel=0, const char *addColumns=0)
 
Int_t SetAlignableTypeId (Int_t alignableTypeId)
 
bool SetDetLayerCuts (unsigned int detLayer, bool silent=false)
 
Int_t SetHieraLevel (Int_t hieraLevel)
 
Float_t SetMaxDev (Float_t maxDev)
 
void SetSubDetId (Int_t subDetId)
 
void SetSubDetIds (Int_t id1, Int_t id2, Int_t id3=-1, Int_t id4=-1, Int_t id5=-1)
 
void SetTitle (const char *title)
 
TString TitleAdd () const
 
TString Unique (const char *name) const
 
virtual ~PlotMillePede ()
 
- Public Member Functions inherited from MillePedeTrees
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 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

Int_t PrepareAdd (bool addPlots)
 

Private Attributes

TString fAdditionalSel
 
TString fAdditionalSelTitle
 
Int_t fAlignableTypeId
 
Int_t fHieraLevel
 
GFHistManagerfHistManager
 
Float_t fMaxDev
 
TArrayI fSubDetIds
 
TString fTitle
 
bool fUseDiff
 

Additional Inherited Members

- Public Types inherited from MillePedeTrees
enum  { kLocX = 0, kLocY, kLocZ, kNpar = 6 }
 

Detailed Description

Definition at line 120 of file PlotMillePede.h.

Constructor & Destructor Documentation

PlotMillePede::PlotMillePede ( const char *  fileName,
Int_t  iov = 1,
Int_t  hieraLevel = 0,
bool  useDiff = false 
)
explicit
PlotMillePede::PlotMillePede ( const char *  fileName,
Int_t  iov,
Int_t  hieraLevel,
const char *  treeNameAdd 
)
virtual PlotMillePede::~PlotMillePede ( )
virtual

Member Function Documentation

void PlotMillePede::AddAdditionalSel ( const char *  selection)
void PlotMillePede::AddAdditionalSel ( const TString &  xyzrPhiNhit,
Float_t  min,
Float_t  max 
)
void PlotMillePede::AddBasicSelection ( TString &  sel) const
void PlotMillePede::AddSubDetId ( Int_t  subDetId)
void PlotMillePede::ClearAdditionalSel ( )
inline

Definition at line 184 of file PlotMillePede.h.

References fAdditionalSel, and fAdditionalSelTitle.

184 { fAdditionalSel = ""; fAdditionalSelTitle = "";}
TString fAdditionalSelTitle
TString fAdditionalSel
void PlotMillePede::CopyAddBinning ( TString &  name,
const TH1 *  hist 
) const
TString PlotMillePede::DetLayerLabel ( unsigned int  detLayer) const
void PlotMillePede::DrawAll ( Option_t *  opt = "rogpmeh")
void PlotMillePede::DrawBigPullLabel ( float  minPull,
bool  addPlots = false 
)
void PlotMillePede::DrawBigPullPos ( float  minPull,
bool  addPlots = false 
)
void PlotMillePede::DrawCheck ( )
void PlotMillePede::DrawErrorVsHit ( bool  addPlots = false,
const TString &  sel = "" 
)
void PlotMillePede::DrawGlobCorr ( bool  addPlots = false,
const TString &  sel = "",
Option_t *  opt = "",
Float_t  min = 0.,
Float_t  max = 1. 
)
void PlotMillePede::DrawHitMaps ( bool  addPlots = false,
bool  inclFullFixed = true 
)
void PlotMillePede::DrawLabelDiffAbove ( UInt_t  iPar,
float  minDiff,
bool  addPlots = false 
)
void PlotMillePede::DrawMisVsLocation ( bool  addPlots = false,
const TString &  sel = "",
Option_t *  opt = "" 
)
void PlotMillePede::DrawOrigParam ( bool  addPlots = false,
const TString &  sel = "" 
)
void PlotMillePede::DrawOrigPos ( bool  addPlots = false,
const TString &  sel = "" 
)
void PlotMillePede::DrawParam ( bool  addPlots = false,
const TString &  sel = "" 
)
void PlotMillePede::DrawParamResult ( Option_t *  option = "")
void PlotMillePede::DrawPedeParam ( Option_t *  option = "",
unsigned int  nNonRigidParam = 12 
)
void PlotMillePede::DrawPedeParamVsLocation ( Option_t *  option = "",
unsigned int  nNonRigidParam = 12 
)
void PlotMillePede::DrawPosMisVsLocation ( bool  addPlots = false,
const TString &  selection = "",
Option_t *  option = "" 
)
void PlotMillePede::DrawPosResult ( bool  addPlots = false,
const TString &  selection = "" 
)
void PlotMillePede::DrawPull ( Option_t *  opt = "")
void PlotMillePede::DrawSubDetId ( bool  addPlots = false)
void PlotMillePede::DrawSurfaceDeformations ( const TString &  whichOne = "result start",
Option_t *  option = "",
unsigned int  maxNumPars = 12 
)
void PlotMillePede::DrawSurfaceDeformationsLayer ( Option_t *  option = "",
const unsigned int  firstDetLayer = 22,
const unsigned int  lastDetLayer = 33,
const TString &  whichOne = "result",
unsigned int  maxNumPars = 12 
)
void PlotMillePede::DrawXyArrow ( Double_t  factor,
Option_t *  option = "" 
)
TString PlotMillePede::FinalMisAlignment ( UInt_t  iPar) const
const TString PlotMillePede::GetAdditionalSel ( ) const
inline

Definition at line 183 of file PlotMillePede.h.

References fAdditionalSel.

183 { return fAdditionalSel;}
TString fAdditionalSel
GFHistManager* PlotMillePede::GetHistManager ( )
inline

Definition at line 130 of file PlotMillePede.h.

References fHistManager.

130 { return fHistManager;}
GFHistManager * fHistManager
Float_t PlotMillePede::GetMaxDev ( ) const
inline

Definition at line 173 of file PlotMillePede.h.

References fMaxDev.

173 {return fMaxDev;} // x-axis range for some result plots
const TArrayI* PlotMillePede::GetSubDetIds ( ) const
inline

Definition at line 174 of file PlotMillePede.h.

References fSubDetIds.

174 { return &fSubDetIds;} // selected subdets
TArrayI fSubDetIds
const TString& PlotMillePede::GetTitle ( ) const
inline

Definition at line 129 of file PlotMillePede.h.

References fTitle.

129 { return fTitle;}
Int_t PlotMillePede::PrepareAdd ( bool  addPlots)
private
void PlotMillePede::ScanPedeParAbove ( UInt_t  iPar,
float  absMin = 1.e5 
)
void PlotMillePede::ScanSelection ( const char *  sel = 0,
const char *  addColumns = 0 
)
Int_t PlotMillePede::SetAlignableTypeId ( Int_t  alignableTypeId)
bool PlotMillePede::SetDetLayerCuts ( unsigned int  detLayer,
bool  silent = false 
)
Int_t PlotMillePede::SetHieraLevel ( Int_t  hieraLevel)
Float_t PlotMillePede::SetMaxDev ( Float_t  maxDev)
void PlotMillePede::SetSubDetId ( Int_t  subDetId)
void PlotMillePede::SetSubDetIds ( Int_t  id1,
Int_t  id2,
Int_t  id3 = -1,
Int_t  id4 = -1,
Int_t  id5 = -1 
)
void PlotMillePede::SetTitle ( const char *  title)
inline

Definition at line 128 of file PlotMillePede.h.

References fTitle, and indexGen::title.

128 {fTitle = title;}
TString PlotMillePede::TitleAdd ( ) const
TString PlotMillePede::Unique ( const char *  name) const

Member Data Documentation

TString PlotMillePede::fAdditionalSel
private

Definition at line 206 of file PlotMillePede.h.

Referenced by ClearAdditionalSel(), and GetAdditionalSel().

TString PlotMillePede::fAdditionalSelTitle
private

Definition at line 207 of file PlotMillePede.h.

Referenced by ClearAdditionalSel().

Int_t PlotMillePede::fAlignableTypeId
private

Definition at line 205 of file PlotMillePede.h.

Int_t PlotMillePede::fHieraLevel
private

Definition at line 201 of file PlotMillePede.h.

GFHistManager* PlotMillePede::fHistManager
private

Definition at line 200 of file PlotMillePede.h.

Referenced by GetHistManager().

Float_t PlotMillePede::fMaxDev
private

Definition at line 208 of file PlotMillePede.h.

Referenced by GetMaxDev().

TArrayI PlotMillePede::fSubDetIds
private

Definition at line 204 of file PlotMillePede.h.

Referenced by GetSubDetIds().

TString PlotMillePede::fTitle
private

Definition at line 199 of file PlotMillePede.h.

Referenced by GetTitle(), and SetTitle().

bool PlotMillePede::fUseDiff
private

Definition at line 202 of file PlotMillePede.h.