CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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)
 
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=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)
 
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 &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

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::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)
TString PlotMillePede::AlignableObjIdString ( Int_t  objId) const
void PlotMillePede::ClearAdditionalSel ( )
inline

Definition at line 220 of file PlotMillePede.h.

References fAdditionalSel, and fAdditionalSelTitle.

220 { 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,
unsigned int  firstPar = 0 
)
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::DrawSurfaceDeformationsVsLocation ( const TString &  whichOne = "result",
Option_t *  option = "",
unsigned int  maxNumPar = 11,
unsigned int  firstPar = 0 
)
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 219 of file PlotMillePede.h.

References fAdditionalSel.

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

Definition at line 157 of file PlotMillePede.h.

References fHistManager.

157 { return fHistManager;}
GFHistManager * fHistManager
Float_t PlotMillePede::GetMaxDevDown ( ) const
inline

Definition at line 207 of file PlotMillePede.h.

References fMaxDevDown.

207 {return fMaxDevDown;}// lower x-axis range for some result plots
Float_t fMaxDevDown
Float_t PlotMillePede::GetMaxDevUp ( ) const
inline

Definition at line 208 of file PlotMillePede.h.

References fMaxDevUp.

208 {return fMaxDevUp;} // upper x-axis range for some result plots
Float_t fMaxDevUp
Int_t PlotMillePede::GetNbins ( ) const
inline

Definition at line 209 of file PlotMillePede.h.

References fNbins.

209 {return fNbins;} // number of bins for some result plots
const TArrayI* PlotMillePede::GetSubDetIds ( ) const
inline

Definition at line 210 of file PlotMillePede.h.

References fSubDetIds.

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

Definition at line 156 of file PlotMillePede.h.

References fTitle.

156 { 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)
void PlotMillePede::SetMaxDev ( Float_t  maxDev)
void PlotMillePede::SetMaxDev ( Float_t  maxDevDown,
Float_t  maxDevUp 
)
Int_t PlotMillePede::SetNbins ( Int_t  nBins)
inline

Definition at line 206 of file PlotMillePede.h.

References visDQMUpload::buf, and fNbins.

206 {const Int_t buf = fNbins; fNbins = nBins; return buf;} // set number of bins for some result plots
void PlotMillePede::SetOutName ( const TString &  name)
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 155 of file PlotMillePede.h.

References fTitle, and runGCPTkAlMap::title.

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

Member Data Documentation

TString PlotMillePede::fAdditionalSel
private

Definition at line 245 of file PlotMillePede.h.

Referenced by ClearAdditionalSel(), and GetAdditionalSel().

TString PlotMillePede::fAdditionalSelTitle
private

Definition at line 246 of file PlotMillePede.h.

Referenced by ClearAdditionalSel().

Int_t PlotMillePede::fAlignableTypeId
private

Definition at line 244 of file PlotMillePede.h.

Int_t PlotMillePede::fHieraLevel
private

Definition at line 240 of file PlotMillePede.h.

GFHistManager* PlotMillePede::fHistManager
private

Definition at line 239 of file PlotMillePede.h.

Referenced by GetHistManager().

Float_t PlotMillePede::fMaxDevDown
private

Definition at line 248 of file PlotMillePede.h.

Referenced by GetMaxDevDown().

Float_t PlotMillePede::fMaxDevUp
private

Definition at line 247 of file PlotMillePede.h.

Referenced by GetMaxDevUp().

Int_t PlotMillePede::fNbins
private

Definition at line 249 of file PlotMillePede.h.

Referenced by GetNbins(), and SetNbins().

TArrayI PlotMillePede::fSubDetIds
private

Definition at line 243 of file PlotMillePede.h.

Referenced by GetSubDetIds().

TString PlotMillePede::fTitle
private

Definition at line 238 of file PlotMillePede.h.

Referenced by GetTitle(), and SetTitle().

bool PlotMillePede::fUseDiff
private

Definition at line 241 of file PlotMillePede.h.