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
L1TMuon::SubsystemCollector
Definition: SubsystemCollector.h:23
DTBunchCrossingCleaner.h
L1TMuon::DTCollector::~DTCollector
~DTCollector() override
Definition: DTCollector.h:25
SubsystemCollector.h
L1TMuon::TriggerPrimitive
Definition: MuonTriggerPrimitive.h:56
L1TMuon::DTCollector
Definition: DTCollector.h:22
edm::ParameterSet
Definition: ParameterSet.h:36
L1TMuon::DTCollector::extractPrimitives
void extractPrimitives(const edm::Event &, const edm::EventSetup &, std::vector< TriggerPrimitive > &) const override
Definition: DTCollector.cc:23
position
static int position[264][3]
Definition: ReadPGInfo.cc:289
edm::EventSetup
Definition: EventSetup.h:57
L1TMuon
Definition: CSCCollector.h:15
InputTag.h
L1TMuon::DTCollector::findBTIGroupForThetaDigi
int findBTIGroupForThetaDigi(const L1MuDTChambThDigi &, const int position) const
Definition: DTCollector.cc:96
L1TMuon::DTCollector::DTCollector
DTCollector(const edm::ParameterSet &)
Definition: DTCollector.cc:13
L1TMuon::DTCollector::bx_max
const int bx_max
Definition: DTCollector.h:34
L1MuDTChambThDigi
Definition: L1MuDTChambThDigi.h:33
L1TMuon::DTCollector::bx_min
const int bx_min
Definition: DTCollector.h:34
L1TMuon::DTCollector::_bxc
std::unique_ptr< DTBunchCrossingCleaner > _bxc
Definition: DTCollector.h:35
edm::Event
Definition: Event.h:73
L1TMuon::DTCollector::processDigis
TriggerPrimitive processDigis(const L1MuDTChambPhDigi &, const int &segment_number) const
Definition: DTCollector.cc:79
L1MuDTChambPhDigi
Definition: L1MuDTChambPhDigi.h:31