Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:30:46

0001 #ifndef L1Trigger_TrackFindingTracklet_interface_HistBase_h
0002 #define L1Trigger_TrackFindingTracklet_interface_HistBase_h
0003 
0004 #include "L1Trigger/TrackFindingTracklet/interface/Settings.h"
0005 
0006 #include <iostream>
0007 #include <fstream>
0008 #include <sstream>
0009 #include <bitset>
0010 #include <cassert>
0011 #include <cmath>
0012 
0013 namespace trklet {
0014   class Globals;
0015 
0016   class HistBase {
0017   public:
0018     HistBase() {}
0019 
0020     virtual ~HistBase() = default;
0021 
0022     virtual void open() {}
0023     virtual void close() {}
0024 
0025     virtual void bookLayerResidual() {}
0026     virtual void bookDiskResidual() {}
0027     virtual void bookTrackletParams() {}
0028     virtual void bookSeedEff() {}
0029 
0030     virtual void FillLayerResidual(int, int, double, double, double, double, bool) {}
0031 
0032     virtual void FillDiskResidual(int, int, double, double, double, double, bool) {}
0033 
0034     //arguments are
0035     // int seedIndex
0036     // int iSector
0037     // double irinv, rinv
0038     // double iphi0, phi0
0039     // double ieta, eta
0040     // double iz0, z0
0041     // int tp
0042     virtual void fillTrackletParams(
0043         Settings const&, Globals*, int, int, double, double, double, double, double, double, double, double, int) {}
0044 
0045     //int seedIndex
0046     //double etaTP
0047     //bool eff
0048     virtual void fillSeedEff(int, double, bool) {}
0049 
0050   private:
0051   };
0052 
0053 };  // namespace trklet
0054 #endif