CMS 3D CMS Logo

TETableBase.h
Go to the documentation of this file.
1 #ifndef L1Trigger_TrackFindingTracklet_interface_TETableBase_h
2 #define L1Trigger_TrackFindingTracklet_interface_TETableBase_h
3 
5 
6 #include <iostream>
7 #include <fstream>
8 #include <cassert>
9 #include <cmath>
10 #include <vector>
11 
12 namespace trklet {
13 
14  class Settings;
15 
16  class TETableBase {
17  public:
18  TETableBase(Settings const& settings);
19 
20  virtual ~TETableBase() = default;
21 
22  virtual void lookup(int, int) {}
23 
24  void writeVMTable(std::string name, bool positive = true);
25 
26  protected:
28  std::vector<int> table_;
29  int nbits_;
30  };
31 
32 }; // namespace trklet
33 #endif
Settings.h
trklet::Settings
Definition: Settings.h:26
trklet::TETableBase::lookup
virtual void lookup(int, int)
Definition: TETableBase.h:22
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
trklet::TETableBase::writeVMTable
void writeVMTable(std::string name, bool positive=true)
Definition: TETableBase.cc:8
trklet::TETableBase::table_
std::vector< int > table_
Definition: TETableBase.h:28
trklet
Definition: AllProjectionsMemory.h:9
trklet::TETableBase
Definition: TETableBase.h:16
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
trklet::TETableBase::~TETableBase
virtual ~TETableBase()=default
trklet::TETableBase::TETableBase
TETableBase(Settings const &settings)
Definition: TETableBase.cc:6
trklet::TETableBase::nbits_
int nbits_
Definition: TETableBase.h:29
trklet::TETableBase::settings_
Settings const & settings_
Definition: TETableBase.h:27