CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
HistBase.h
Go to the documentation of this file.
1 #ifndef L1Trigger_TrackFindingTracklet_interface_HistBase_h
2 #define L1Trigger_TrackFindingTracklet_interface_HistBase_h
3 
5 
6 #include <iostream>
7 #include <fstream>
8 #include <sstream>
9 #include <bitset>
10 #include <cassert>
11 #include <cmath>
12 
13 namespace trklet {
14  class Globals;
15 
16  class HistBase {
17  public:
18  HistBase() {}
19 
20  virtual ~HistBase() = default;
21 
22  virtual void open() {}
23  virtual void close() {}
24 
25  virtual void bookLayerResidual() {}
26  virtual void bookDiskResidual() {}
27  virtual void bookTrackletParams() {}
28  virtual void bookSeedEff() {}
29 
30  virtual void FillLayerResidual(int, int, double, double, double, double, bool) {}
31 
32  virtual void FillDiskResidual(int, int, double, double, double, double, bool) {}
33 
34  //arguments are
35  // int seedIndex
36  // int iSector
37  // double irinv, rinv
38  // double iphi0, phi0
39  // double ieta, eta
40  // double iz0, z0
41  // int tp
42  virtual void fillTrackletParams(
43  Settings const&, Globals*, int, int, double, double, double, double, double, double, double, double, int) {}
44 
45  //int seedIndex
46  //double etaTP
47  //bool eff
48  virtual void fillSeedEff(int, double, bool) {}
49 
50  private:
51  };
52 
53 }; // namespace trklet
54 #endif
virtual void open()
Definition: HistBase.h:22
virtual void bookDiskResidual()
Definition: HistBase.h:26
virtual void bookLayerResidual()
Definition: HistBase.h:25
virtual void fillTrackletParams(Settings const &, Globals *, int, int, double, double, double, double, double, double, double, double, int)
Definition: HistBase.h:42
virtual ~HistBase()=default
virtual void bookSeedEff()
Definition: HistBase.h:28
virtual void fillSeedEff(int, double, bool)
Definition: HistBase.h:48
virtual void FillDiskResidual(int, int, double, double, double, double, bool)
Definition: HistBase.h:32
virtual void close()
Definition: HistBase.h:23
virtual void bookTrackletParams()
Definition: HistBase.h:27
virtual void FillLayerResidual(int, int, double, double, double, double, bool)
Definition: HistBase.h:30