CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PlotAllDisplay.h
Go to the documentation of this file.
1 #ifndef PLOTALLDISPLAY_H
2 #define PLOTALLDISPLAY_H
3 
4 #include "TFile.h"
5 #include "TTree.h"
6 #include "TH1.h"
7 #include <iostream>
8 #include "HistoManager.h"
9 #include "MyHcalClasses.h"
10 #include "TCanvas.h"
11 #include "TProfile.h"
12 
14 public:
15  PlotAllDisplay(const char *outfn) : m_f(outfn), histKeys(&m_f)
16  {
17  m_movie=0;
18  n_movie=0;
19  }
20  void displaySummary(int ieta=0, int iphi=0, int evtType=4, int flavType=0);
21  void displayOne(int ieta, int iphi, int depth, int evtType, int flavType);
22 
23  void displayElecOne(int fiber,int fiberChan,int crate,int slot,int tb,int evtType, int flavType);
24  void displayElecSummary(int crate,int Slot,int tb,int evtType4, int flavType);
25  void displayElecOne(const MyElectronicsId& id, int evtType, int flavType);
26  void CrateDisplaySelector(int crate, int evtType, int flavType,int plotStatType);
27 
28 
29  void displayOne(const MyHcalDetId& id, int evtType, int flavType);
30  void displaySelector(int evtType, int flavType, int plotStatType);
31  MyHcalSubdetector getSubDetector(int ieta, int depth);
32 private:
36  int ieta, iphi;
37  };
38  std::vector<MyHcalDetId> spatialFilter(int ieta, int iphi,
39  const std::vector<MyHcalDetId>& inputs);
41  const std::string& basename,
42  int lo, int hi);
43 
44 
45 
50  int tb;
51  };
52  std::vector<MyElectronicsId> electronicsFilter(int fiber,int fiberChan,int crate,int slot,int tb,
53  const std::vector<MyElectronicsId>& inputs);
54 
55 
57  const std::string& basename,
58  int lo, int hi);
59 
60 
61 
62  TFile m_f;
64  TCanvas* m_movie;
65  int n_movie;
66 };
67 
68 #endif
void displayElecOne(int fiber, int fiberChan, int crate, int slot, int tb, int evtType, int flavType)
std::vector< MyElectronicsId > electronicsFilter(int fiber, int fiberChan, int crate, int slot, int tb, const std::vector< MyElectronicsId > &inputs)
PlotAllDisplay(const char *outfn)
void displayElecSummary(int crate, int Slot, int tb, int evtType4, int flavType)
std::vector< MyHcalDetId > spatialFilter(int ieta, int iphi, const std::vector< MyHcalDetId > &inputs)
void CrateDisplaySelector(int crate, int evtType, int flavType, int plotStatType)
TCanvas * m_movie
void displayOne(int ieta, int iphi, int depth, int evtType, int flavType)
TH1 * bookMasterHistogram(DisplaySetupStruct &ss, const std::string &basename, int lo, int hi)
HistoManager histKeys
MyHcalSubdetector getSubDetector(int ieta, int depth)
void displaySummary(int ieta=0, int iphi=0, int evtType=4, int flavType=0)
MyHcalSubdetector
Definition: MyHcalClasses.h:4
void displaySelector(int evtType, int flavType, int plotStatType)