CMS 3D CMS Logo

DTTFFEDReader.h
Go to the documentation of this file.
1 //-------------------------------------------------
2 //
12 //
13 //--------------------------------------------------
14 #ifndef DTTFRawToDigi_DTTFFEDReader_h
15 #define DTTFRawToDigi_DTTFFEDReader_h
16 
21 
25 
28 
29 #include <string>
30 
32 public:
35 
37  ~DTTFFEDReader() override;
38 
40  void produce(edm::Event &e, const edm::EventSetup &c) override;
41 
43  bool fillRawData(edm::Event &e,
47 
48 private:
50 
51  bool verbose_;
52 
53  // Operations
54 
55  // access data
57 
59 
61 
62  // Process one event
63  void analyse(edm::Event &e);
64 
65  // clear data container
66  void clear();
67 
68  // process data
69  void process(edm::Event &e);
70 
71  // Match PHTF - ETTF tracks
72  void match();
73 
74  // data containers
76 
78 
80 
81  unsigned int etTrack[3][12][6][2];
82 
83  unsigned int efTrack[3][12][6][2];
84 
85  // utilities
86  int channel(int wheel, int sector, int bx);
87 
88  int bxNr(int channel);
89 
90  int sector(int channel);
91 
92  int wheel(int channel);
93 
95 
97 };
98 #endif
DTTFFEDReader::theSegments
L1MuDTChambThContainer::The_Container theSegments
Definition: DTTFFEDReader.h:77
DTTFFEDReader::dtTracks
L1MuDTTrackContainer::TrackContainer dtTracks
Definition: DTTFFEDReader.h:79
DTTFFEDReader::sector
int sector(int channel)
Definition: DTTFFEDReader.cc:506
edm::EDGetTokenT< FEDRawDataCollection >
l1GtPatternGenerator_cfi.bx
bx
Definition: l1GtPatternGenerator_cfi.py:18
DTTFFEDReader::fillRawData
bool fillRawData(edm::Event &e, L1MuDTChambPhContainer::Phi_Container &phi_data, L1MuDTChambThContainer::The_Container &the_data, L1MuDTTrackContainer::TrackContainer &tra_data)
Generate and fill FED raw data for a full event.
Definition: DTTFFEDReader.cc:61
EDProducer.h
L1MuDTChambThContainer.h
FEDRawData.h
DTTFFEDReader::match
void match()
Definition: DTTFFEDReader.cc:423
DTTFFEDReader::Raw_token
edm::EDGetTokenT< FEDRawDataCollection > Raw_token
Definition: DTTFFEDReader.h:96
DTTFFEDReader::process
void process(edm::Event &e)
Definition: DTTFFEDReader.cc:85
DTTFFEDReader::analyse
void analyse(edm::Event &e)
Definition: DTTFFEDReader.cc:77
DTTFFEDReader::bxNr
int bxNr(int channel)
Definition: DTTFFEDReader.cc:491
DTTFFEDReader::k_data
const L1MuDTTrackContainer::TrackContainer & k_data()
Definition: DTTFFEDReader.cc:444
DTTFFEDReader::t_data
const L1MuDTChambThContainer::The_Container & t_data()
Definition: DTTFFEDReader.cc:442
DTTFFEDReader::efTrack
unsigned int efTrack[3][12][6][2]
Definition: DTTFFEDReader.h:83
DTTFFEDReader::phiSegments
L1MuDTChambPhContainer::Phi_Container phiSegments
Definition: DTTFFEDReader.h:75
DTTFFEDReader::DTTFInputTag
edm::InputTag DTTFInputTag
Definition: DTTFFEDReader.h:49
edm::ParameterSet
Definition: ParameterSet.h:47
DTTFFEDReader::wheel
int wheel(int channel)
Definition: DTTFFEDReader.cc:519
DTTFFEDReader::p_data
const L1MuDTChambPhContainer::Phi_Container & p_data()
Definition: DTTFFEDReader.cc:440
FEDRawDataCollection.h
DTTFFEDReader::~DTTFFEDReader
~DTTFFEDReader() override
Destructor.
Definition: DTTFFEDReader.cc:38
edm::stream::EDProducer
Definition: EDProducer.h:38
edm::EventSetup
Definition: EventSetup.h:58
L1MuDTChambPhContainer.h
L1MuDTChambThContainer::The_Container
std::vector< L1MuDTChambThDigi > The_Container
Definition: L1MuDTChambThContainer.h:35
InputTag.h
DTTFFEDReader::channel
int channel(int wheel, int sector, int bx)
Definition: DTTFFEDReader.cc:465
DTTFFEDReader::clear
void clear()
Definition: DTTFFEDReader.cc:446
DTTFFEDReader::etTrack
unsigned int etTrack[3][12][6][2]
Definition: DTTFFEDReader.h:81
L1MuDTTrackContainer.h
L1MuDTChambPhContainer::Phi_Container
std::vector< L1MuDTChambPhDigi > Phi_Container
Definition: L1MuDTChambPhContainer.h:35
DTTFFEDReader::DTTFFEDReader
DTTFFEDReader(const edm::ParameterSet &pset)
Constructor.
Definition: DTTFFEDReader.cc:26
DTTFFEDReader
Definition: DTTFFEDReader.h:31
DTTFFEDReader::getDTTFInputTag
edm::InputTag getDTTFInputTag()
Definition: DTTFFEDReader.h:94
L1MuDTTrackContainer::TrackContainer
std::vector< L1MuDTTrackCand > TrackContainer
Definition: L1MuDTTrackContainer.h:35
DTTFFEDReader::produce
void produce(edm::Event &e, const edm::EventSetup &c) override
Produce digis out of raw data.
Definition: DTTFFEDReader.cc:40
ConsumesCollector.h
ParameterSet.h
c
auto & c
Definition: CAHitNtupletGeneratorKernelsImpl.h:46
edm::Event
Definition: Event.h:73
DTTFFEDReader::verbose_
bool verbose_
Definition: DTTFFEDReader.h:51
edm::InputTag
Definition: InputTag.h:15
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37