CMS 3D CMS Logo

DTCollector.h
Go to the documentation of this file.
1 #ifndef __L1TMUON_DTCOLLECTOR_H__
2 #define __L1TMUON_DTCOLLECTOR_H__
3 //
4 // Class: L1TMuon::DTCollector
5 //
6 // Info: Processes the DT digis into L1TMuon trigger primitives.
7 // Positional information is not assigned here.
8 //
9 // Author: L. Gray (FNAL)
10 //
11 #include <vector>
12 #include <memory>
13 #include "SubsystemCollector.h"
14 #include "DTBunchCrossingCleaner.h"
16 
17 class L1MuDTChambPhDigi;
18 class L1MuDTChambThDigi;
19 
20 namespace L1TMuon {
21 
23  public:
25  ~DTCollector() override {}
26 
27  void extractPrimitives(const edm::Event &, const edm::EventSetup &, std::vector<TriggerPrimitive> &) const override;
28 
29  private:
30  TriggerPrimitive processDigis(const L1MuDTChambPhDigi &, const int &segment_number) const;
31  TriggerPrimitive processDigis(const L1MuDTChambThDigi &, const int bti_group) const;
32  TriggerPrimitive processDigis(const L1MuDTChambPhDigi &, const L1MuDTChambThDigi &, const int bti_group) const;
33  int findBTIGroupForThetaDigi(const L1MuDTChambThDigi &, const int position) const;
34  const int bx_min, bx_max;
35  std::unique_ptr<DTBunchCrossingCleaner> _bxc;
36  };
37 } // namespace L1TMuon
38 
39 #endif
void extractPrimitives(const edm::Event &, const edm::EventSetup &, std::vector< TriggerPrimitive > &) const override
Definition: DTCollector.cc:25
int findBTIGroupForThetaDigi(const L1MuDTChambThDigi &, const int position) const
Definition: DTCollector.cc:98
DTCollector(const edm::ParameterSet &)
Definition: DTCollector.cc:15
std::unique_ptr< DTBunchCrossingCleaner > _bxc
Definition: DTCollector.h:35
TriggerPrimitive processDigis(const L1MuDTChambPhDigi &, const int &segment_number) const
Definition: DTCollector.cc:81
~DTCollector() override
Definition: DTCollector.h:25
static int position[264][3]
Definition: ReadPGInfo.cc:289