CMS 3D CMS Logo

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)
 
TString AlignableObjIdString (Int_t objId) const
 
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, unsigned int firstPar=0)
 
void DrawSurfaceDeformationsLayer (Option_t *option="", const unsigned int firstDetLayer=22, const unsigned int lastDetLayer=33, const TString &whichOne="result", unsigned int maxNumPars=12)
 
void DrawSurfaceDeformationsVsLocation (const TString &whichOne="result", Option_t *option="", unsigned int maxNumPar=11, unsigned int firstPar=0)
 
void DrawXyArrow (Double_t factor, Option_t *option="")
 
TString FinalMisAlignment (UInt_t iPar) const
 
const TString GetAdditionalSel () const
 
GFHistManagerGetHistManager ()
 
Float_t GetMaxDevDown () const
 
Float_t GetMaxDevUp () const
 
Int_t GetNbins () const
 
const TArrayI * GetSubDetIds () const
 
const TString & GetTitle () const
 
 PlotMillePede (const char *fileName, Int_t iov, Int_t hieraLevel, const char *treeNameAdd)
 
 PlotMillePede (const char *fileName, Int_t iov=1, Int_t hieraLevel=0, bool useDiff=false)
 
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)
 
void SetMaxDev (Float_t maxDev)
 
void SetMaxDev (Float_t maxDevDown, Float_t maxDevUp)
 
Int_t SetNbins (Int_t nBins)
 
void SetOutName (const TString &name)
 
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 Alpha (const TString &tree, bool betaMpiPpi) const
 
TString AlphaSi () const
 
TString AlphaSi (const TString &tree) const
 
TString AndL () const
 
TString AnyFreePar () const
 
TString Beta () const
 
TString Beta (const TString &tree, bool betaMpiPpi) const
 
TString BetaSi () const
 
TString BetaSi (const TString &tree) const
 
TString Bra () const
 
TString Bracket (const char *s) const
 
TString Bracket (Int_t i) const
 
TString Bracket (UInt_t ui) 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 (const TString &pos) const
 
TString DelName (UInt_t iParam) const
 
TString DelNameU (const TString &pos) const
 
TString DelNameU (UInt_t iParam) const
 
TString DelPhi (const TString &tree) const
 
TString DelPhi (const TString &tree1, const TString &tree2) const
 
TString DelPos (UInt_t ui, const TString &tree) const
 
TString DelPos (UInt_t ui, const TString &tree1, const TString &tree2) const
 
TString DelR (const TString &tree) const
 
TString DelR (const TString &tree1, const TString &tree2) const
 
TString DelRphi (const TString &tree) const
 
TString DelRphi (const TString &tree1, const TString &tree2) 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 Gamma (const TString &tree, bool betaMpiPpi) 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 MpT () const
 
TString Name (const TString &pos) const
 
TString Name (UInt_t iParam) 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 (const TString &pos) const
 
TString ToMumMuRad (UInt_t iParam) const
 
TString ToMumMuRadPede (UInt_t iParam) const
 
TString ToMumMuRadSurfDef (UInt_t iParam) const
 
TString Unit (const TString &pos) const
 
TString Unit (UInt_t iParam) 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 XParSi (const TString &tree) const
 
TString XPos () const
 
TString YPar () const
 
TString YParSi () const
 
TString YParSi (const TString &tree) const
 
TString YPos () const
 
TString ZPar () const
 
TString ZParSi () const
 
TString ZParSi (const TString &tree) 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 fMaxDevDown
 
Float_t fMaxDevUp
 
Int_t fNbins
 
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 147 of file PlotMillePede.h.

Constructor & Destructor Documentation

◆ PlotMillePede() [1/2]

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

◆ PlotMillePede() [2/2]

PlotMillePede::PlotMillePede ( const char *  fileName,
Int_t  iov,
Int_t  hieraLevel,
const char *  treeNameAdd 
)

◆ ~PlotMillePede()

virtual PlotMillePede::~PlotMillePede ( )
virtual

Member Function Documentation

◆ AddAdditionalSel() [1/2]

void PlotMillePede::AddAdditionalSel ( const char *  selection)

◆ AddAdditionalSel() [2/2]

void PlotMillePede::AddAdditionalSel ( const TString &  xyzrPhiNhit,
Float_t  min,
Float_t  max 
)

◆ AddBasicSelection()

void PlotMillePede::AddBasicSelection ( TString &  sel) const

◆ AddSubDetId()

void PlotMillePede::AddSubDetId ( Int_t  subDetId)

◆ AlignableObjIdString()

TString PlotMillePede::AlignableObjIdString ( Int_t  objId) const

◆ ClearAdditionalSel()

void PlotMillePede::ClearAdditionalSel ( )
inline

Definition at line 220 of file PlotMillePede.h.

220 { fAdditionalSel = ""; fAdditionalSelTitle = "";}

References fAdditionalSel, and fAdditionalSelTitle.

◆ CopyAddBinning()

void PlotMillePede::CopyAddBinning ( TString &  name,
const TH1 *  hist 
) const

◆ DetLayerLabel()

TString PlotMillePede::DetLayerLabel ( unsigned int  detLayer) const

◆ DrawAll()

void PlotMillePede::DrawAll ( Option_t *  opt = "rogpmeh")

◆ DrawBigPullLabel()

void PlotMillePede::DrawBigPullLabel ( float  minPull,
bool  addPlots = false 
)

◆ DrawBigPullPos()

void PlotMillePede::DrawBigPullPos ( float  minPull,
bool  addPlots = false 
)

◆ DrawCheck()

void PlotMillePede::DrawCheck ( )

◆ DrawErrorVsHit()

void PlotMillePede::DrawErrorVsHit ( bool  addPlots = false,
const TString &  sel = "" 
)

◆ DrawGlobCorr()

void PlotMillePede::DrawGlobCorr ( bool  addPlots = false,
const TString &  sel = "",
Option_t *  opt = "",
Float_t  min = 0.,
Float_t  max = 1. 
)

◆ DrawHitMaps()

void PlotMillePede::DrawHitMaps ( bool  addPlots = false,
bool  inclFullFixed = true 
)

◆ DrawLabelDiffAbove()

void PlotMillePede::DrawLabelDiffAbove ( UInt_t  iPar,
float  minDiff,
bool  addPlots = false 
)

◆ DrawMisVsLocation()

void PlotMillePede::DrawMisVsLocation ( bool  addPlots = false,
const TString &  sel = "",
Option_t *  opt = "" 
)

◆ DrawOrigParam()

void PlotMillePede::DrawOrigParam ( bool  addPlots = false,
const TString &  sel = "" 
)

◆ DrawOrigPos()

void PlotMillePede::DrawOrigPos ( bool  addPlots = false,
const TString &  sel = "" 
)

◆ DrawParam()

void PlotMillePede::DrawParam ( bool  addPlots = false,
const TString &  sel = "" 
)

◆ DrawParamResult()

void PlotMillePede::DrawParamResult ( Option_t *  option = "")

◆ DrawPedeParam()

void PlotMillePede::DrawPedeParam ( Option_t *  option = "",
unsigned int  nNonRigidParam = 12 
)

◆ DrawPedeParamVsLocation()

void PlotMillePede::DrawPedeParamVsLocation ( Option_t *  option = "",
unsigned int  nNonRigidParam = 12 
)

◆ DrawPosMisVsLocation()

void PlotMillePede::DrawPosMisVsLocation ( bool  addPlots = false,
const TString &  selection = "",
Option_t *  option = "" 
)

◆ DrawPosResult()

void PlotMillePede::DrawPosResult ( bool  addPlots = false,
const TString &  selection = "" 
)

◆ DrawPull()

void PlotMillePede::DrawPull ( Option_t *  opt = "")

◆ DrawSubDetId()

void PlotMillePede::DrawSubDetId ( bool  addPlots = false)

◆ DrawSurfaceDeformations()

void PlotMillePede::DrawSurfaceDeformations ( const TString &  whichOne = "result start",
Option_t *  option = "",
unsigned int  maxNumPars = 12,
unsigned int  firstPar = 0 
)

◆ DrawSurfaceDeformationsLayer()

void PlotMillePede::DrawSurfaceDeformationsLayer ( Option_t *  option = "",
const unsigned int  firstDetLayer = 22,
const unsigned int  lastDetLayer = 33,
const TString &  whichOne = "result",
unsigned int  maxNumPars = 12 
)

◆ DrawSurfaceDeformationsVsLocation()

void PlotMillePede::DrawSurfaceDeformationsVsLocation ( const TString &  whichOne = "result",
Option_t *  option = "",
unsigned int  maxNumPar = 11,
unsigned int  firstPar = 0 
)

◆ DrawXyArrow()

void PlotMillePede::DrawXyArrow ( Double_t  factor,
Option_t *  option = "" 
)

◆ FinalMisAlignment()

TString PlotMillePede::FinalMisAlignment ( UInt_t  iPar) const

◆ GetAdditionalSel()

const TString PlotMillePede::GetAdditionalSel ( ) const
inline

Definition at line 219 of file PlotMillePede.h.

219 { return fAdditionalSel;}

References fAdditionalSel.

◆ GetHistManager()

GFHistManager* PlotMillePede::GetHistManager ( )
inline

Definition at line 157 of file PlotMillePede.h.

157 { return fHistManager;}

References fHistManager.

◆ GetMaxDevDown()

Float_t PlotMillePede::GetMaxDevDown ( ) const
inline

Definition at line 207 of file PlotMillePede.h.

207 {return fMaxDevDown;}// lower x-axis range for some result plots

References fMaxDevDown.

◆ GetMaxDevUp()

Float_t PlotMillePede::GetMaxDevUp ( ) const
inline

Definition at line 208 of file PlotMillePede.h.

208 {return fMaxDevUp;} // upper x-axis range for some result plots

References fMaxDevUp.

◆ GetNbins()

Int_t PlotMillePede::GetNbins ( ) const
inline

Definition at line 209 of file PlotMillePede.h.

209 {return fNbins;} // number of bins for some result plots

References fNbins.

◆ GetSubDetIds()

const TArrayI* PlotMillePede::GetSubDetIds ( ) const
inline

Definition at line 210 of file PlotMillePede.h.

210 { return &fSubDetIds;} // selected subdets

References fSubDetIds.

◆ GetTitle()

const TString& PlotMillePede::GetTitle ( ) const
inline

Definition at line 156 of file PlotMillePede.h.

156 { return fTitle;}

References fTitle.

◆ PrepareAdd()

Int_t PlotMillePede::PrepareAdd ( bool  addPlots)
private

◆ ScanPedeParAbove()

void PlotMillePede::ScanPedeParAbove ( UInt_t  iPar,
float  absMin = 1.e5 
)

◆ ScanSelection()

void PlotMillePede::ScanSelection ( const char *  sel = 0,
const char *  addColumns = 0 
)

◆ SetAlignableTypeId()

Int_t PlotMillePede::SetAlignableTypeId ( Int_t  alignableTypeId)

◆ SetDetLayerCuts()

bool PlotMillePede::SetDetLayerCuts ( unsigned int  detLayer,
bool  silent = false 
)

◆ SetHieraLevel()

Int_t PlotMillePede::SetHieraLevel ( Int_t  hieraLevel)

◆ SetMaxDev() [1/2]

void PlotMillePede::SetMaxDev ( Float_t  maxDev)

◆ SetMaxDev() [2/2]

void PlotMillePede::SetMaxDev ( Float_t  maxDevDown,
Float_t  maxDevUp 
)

◆ SetNbins()

Int_t PlotMillePede::SetNbins ( Int_t  nBins)
inline

Definition at line 206 of file PlotMillePede.h.

206 {const Int_t buf = fNbins; fNbins = nBins; return buf;} // set number of bins for some result plots

References visDQMUpload::buf, fNbins, and seedmultiplicitymonitor_newtracking_cfi::nBins.

◆ SetOutName()

void PlotMillePede::SetOutName ( const TString &  name)

◆ SetSubDetId()

void PlotMillePede::SetSubDetId ( Int_t  subDetId)

◆ SetSubDetIds()

void PlotMillePede::SetSubDetIds ( Int_t  id1,
Int_t  id2,
Int_t  id3 = -1,
Int_t  id4 = -1,
Int_t  id5 = -1 
)

◆ SetTitle()

void PlotMillePede::SetTitle ( const char *  title)
inline

Definition at line 155 of file PlotMillePede.h.

155 {fTitle = title;}

References fTitle, and runGCPTkAlMap::title.

◆ TitleAdd()

TString PlotMillePede::TitleAdd ( ) const

◆ Unique()

TString PlotMillePede::Unique ( const char *  name) const

Member Data Documentation

◆ fAdditionalSel

TString PlotMillePede::fAdditionalSel
private

Definition at line 245 of file PlotMillePede.h.

Referenced by ClearAdditionalSel(), and GetAdditionalSel().

◆ fAdditionalSelTitle

TString PlotMillePede::fAdditionalSelTitle
private

Definition at line 246 of file PlotMillePede.h.

Referenced by ClearAdditionalSel().

◆ fAlignableTypeId

Int_t PlotMillePede::fAlignableTypeId
private

Definition at line 244 of file PlotMillePede.h.

◆ fHieraLevel

Int_t PlotMillePede::fHieraLevel
private

Definition at line 240 of file PlotMillePede.h.

◆ fHistManager

GFHistManager* PlotMillePede::fHistManager
private

Definition at line 239 of file PlotMillePede.h.

Referenced by GetHistManager().

◆ fMaxDevDown

Float_t PlotMillePede::fMaxDevDown
private

Definition at line 248 of file PlotMillePede.h.

Referenced by GetMaxDevDown().

◆ fMaxDevUp

Float_t PlotMillePede::fMaxDevUp
private

Definition at line 247 of file PlotMillePede.h.

Referenced by GetMaxDevUp().

◆ fNbins

Int_t PlotMillePede::fNbins
private

Definition at line 249 of file PlotMillePede.h.

Referenced by GetNbins(), and SetNbins().

◆ fSubDetIds

TArrayI PlotMillePede::fSubDetIds
private

Definition at line 243 of file PlotMillePede.h.

Referenced by GetSubDetIds().

◆ fTitle

TString PlotMillePede::fTitle
private

Definition at line 238 of file PlotMillePede.h.

Referenced by GetTitle(), and SetTitle().

◆ fUseDiff

bool PlotMillePede::fUseDiff
private

Definition at line 241 of file PlotMillePede.h.

runGCPTkAlMap.title
string title
Definition: runGCPTkAlMap.py:94
PlotMillePede::fAdditionalSelTitle
TString fAdditionalSelTitle
Definition: PlotMillePede.h:246
PlotMillePede::fSubDetIds
TArrayI fSubDetIds
Definition: PlotMillePede.h:243
PlotMillePede::fHistManager
GFHistManager * fHistManager
Definition: PlotMillePede.h:239
PlotMillePede::fNbins
Int_t fNbins
Definition: PlotMillePede.h:249
PlotMillePede::fMaxDevUp
Float_t fMaxDevUp
Definition: PlotMillePede.h:247
PlotMillePede::fTitle
TString fTitle
Definition: PlotMillePede.h:238
seedmultiplicitymonitor_newtracking_cfi.nBins
nBins
Definition: seedmultiplicitymonitor_newtracking_cfi.py:8
PlotMillePede::fAdditionalSel
TString fAdditionalSel
Definition: PlotMillePede.h:245
PlotMillePede::fMaxDevDown
Float_t fMaxDevDown
Definition: PlotMillePede.h:248
visDQMUpload.buf
buf
Definition: visDQMUpload.py:154