CMS 3D CMS Logo

CompareAlignments.h
Go to the documentation of this file.
1 #ifndef Alignment_OfflineValidation_CompareAlignments_h
2 #define Alignment_OfflineValidation_CompareAlignments_h
3 
4 #include "Riostream.h"
5 #include "TCanvas.h"
6 #include "TChain.h"
7 #include "TEnv.h"
8 #include "TFile.h"
9 #include "TH1.h"
10 #include "TKey.h"
11 #include "TLegend.h"
12 #include "TMath.h"
13 #include "TObjArray.h"
14 #include "TObjString.h"
15 #include "TPaveStats.h"
16 #include "TROOT.h"
17 #include "TStyle.h"
18 #include "TTree.h"
19 #include <cstring>
20 #include <sstream>
21 #include <vector>
22 
24 
26 private:
27  TList *FileList;
28  TList *LabelList;
29  TFile *Target;
30  std::vector<std::string> lowestlevels;
31  std::vector<int> theColors;
32  std::vector<int> theStyles;
33  std::vector<int> phases;
34 
36 
37  void MergeRootfile(TDirectory *target, TList *sourcelist, TList *labellist, bool bigtext);
38  void nicePad(Int_t logx, Int_t logy);
39  void SetMinMaxRange(TObjArray *hists);
40  void ColourStatsBoxes(TObjArray *hists);
41 
42 public:
44  void doComparison(TString namesandlabels,
45  TString legendheader = "",
46  TString lefttitle = "",
47  TString righttitle = "",
49  bool bigtext = false);
50 };
51 
52 #endif
void nicePad(Int_t logx, Int_t logy)
std::vector< int > theColors
void SetMinMaxRange(TObjArray *hists)
void ColourStatsBoxes(TObjArray *hists)
PublicationStatus
Definition: TkAlStyle.h:31
std::vector< int > theStyles
std::vector< std::string > lowestlevels
std::vector< int > phases
void doComparison(TString namesandlabels, TString legendheader="", TString lefttitle="", TString righttitle="", PublicationStatus status=INTERNAL, bool bigtext=false)
CompareAlignments(const std::string &outPath)
void MergeRootfile(TDirectory *target, TList *sourcelist, TList *labellist, bool bigtext)