CMS 3D CMS Logo

LateralityProvider.h
Go to the documentation of this file.
1 #ifndef Phase2L1Trigger_DTTrigger_LateralityProvider_h
2 #define Phase2L1Trigger_DTTrigger_LateralityProvider_h
3 
13 
16 
17 #include <iostream>
18 #include <fstream>
19 
20 // ===============================================================================
21 // Previous definitions and declarations
22 // ===============================================================================
23 
24 // ===============================================================================
25 // Class declarations
26 // ===============================================================================
27 
28 using latcomb = std::vector<short>;
29 using lat_vector = std::vector<latcomb>;
30 
32 public:
33  // Constructors and destructor
35  virtual ~LateralityProvider();
36 
37  // Main methods
38  virtual void initialise(const edm::EventSetup& iEventSetup);
39  virtual void run(edm::Event& iEvent,
40  const edm::EventSetup& iEventSetup,
41  MuonPathPtrs& inMpath,
42  std::vector<lat_vector>& lateralities) = 0;
43 
44  virtual void finish();
45 
46  // Other public methods
47 
48  // Public attributes
49  lat_vector LAT_VECTOR_NULL = {{0, 0, 0, 0}, {0, 0, 0, 0}, {0, 0, 0, 0}, {0, 0, 0, 0}};
50 
51 private:
52  // Private methods
53 
54  // Private attributes
55  const bool debug_;
56 };
57 
58 #endif
std::vector< MuonPathPtr > MuonPathPtrs
Definition: MuonPath.h:132
std::vector< short > latcomb
int iEvent
Definition: GenABIO.cc:224
LateralityProvider(const edm::ParameterSet &pset, edm::ConsumesCollector &iC)
virtual void initialise(const edm::EventSetup &iEventSetup)
std::vector< latcomb > lat_vector
virtual void run(edm::Event &iEvent, const edm::EventSetup &iEventSetup, MuonPathPtrs &inMpath, std::vector< lat_vector > &lateralities)=0