CMS 3D CMS Logo

LateralityBasicProvider.h
Go to the documentation of this file.
1 #ifndef L1Trigger_DTTriggerPhase2_LateralityBasicProvider_h
2 #define L1Trigger_DTTriggerPhase2_LateralityBasicProvider_h
3 
5 
6 // ===============================================================================
7 // Previous definitions and declarations
8 // ===============================================================================
9 
14 };
15 
16 // ===============================================================================
17 // Class declarations
18 // ===============================================================================
19 
21 public:
22  // Constructors and destructor
24  ~LateralityBasicProvider() override;
25 
26  // Main methods
27  void initialise(const edm::EventSetup &iEventSetup) override;
28  void run(edm::Event &iEvent,
29  const edm::EventSetup &iEventSetup,
30  MuonPathPtrs &inMpath,
31  std::vector<lat_vector> &lateralities) override;
32 
33  void finish() override;
34 
35  // Other public methods
36 
37 private:
38  // Private methods
39  void analyze(MuonPathPtr &inMPath, std::vector<lat_vector> &lateralities);
40  void fill_lat_combinations();
41  // Private attributes
42  const bool debug_;
43  std::vector<lat_combination> lat_combinations;
44 };
45 
46 #endif
std::vector< lat_combination > lat_combinations
std::vector< MuonPathPtr > MuonPathPtrs
Definition: MuonPath.h:132
void analyze(MuonPathPtr &inMPath, std::vector< lat_vector > &lateralities)
int iEvent
Definition: GenABIO.cc:224
std::vector< latcomb > lat_vector
void run(edm::Event &iEvent, const edm::EventSetup &iEventSetup, MuonPathPtrs &inMpath, std::vector< lat_vector > &lateralities) override
LateralityBasicProvider(const edm::ParameterSet &pset, edm::ConsumesCollector &iC)
void initialise(const edm::EventSetup &iEventSetup) override
std::shared_ptr< MuonPath > MuonPathPtr
Definition: MuonPath.h:131
constexpr int NUM_LAYERS
Definition: constants.h:358
short cellLayout[cmsdt::NUM_LAYERS]