CMS 3D CMS Logo

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
Settings.h
trklet::HistBase::bookDiskResidual
virtual void bookDiskResidual()
Definition: HistBase.h:26
trklet::HistBase::bookTrackletParams
virtual void bookTrackletParams()
Definition: HistBase.h:27
trklet::Settings
Definition: Settings.h:26
trklet::Globals
Definition: Globals.h:32
trklet::HistBase::~HistBase
virtual ~HistBase()=default
trklet::HistBase
Definition: HistBase.h:16
trklet::HistBase::open
virtual void open()
Definition: HistBase.h:22
trklet::HistBase::bookLayerResidual
virtual void bookLayerResidual()
Definition: HistBase.h:25
trklet::HistBase::fillSeedEff
virtual void fillSeedEff(int, double, bool)
Definition: HistBase.h:48
trklet::HistBase::HistBase
HistBase()
Definition: HistBase.h:18
trklet::HistBase::fillTrackletParams
virtual void fillTrackletParams(Settings const &, Globals *, int, int, double, double, double, double, double, double, double, double, int)
Definition: HistBase.h:42
trklet::HistBase::close
virtual void close()
Definition: HistBase.h:23
trklet::HistBase::bookSeedEff
virtual void bookSeedEff()
Definition: HistBase.h:28
trklet
Definition: AllProjectionsMemory.h:9
trklet::HistBase::FillLayerResidual
virtual void FillLayerResidual(int, int, double, double, double, double, bool)
Definition: HistBase.h:30
trklet::HistBase::FillDiskResidual
virtual void FillDiskResidual(int, int, double, double, double, double, bool)
Definition: HistBase.h:32