/
DTRecHitProducer.h
46 lines (36 loc) · 1.15 KB
/
DTRecHitProducer.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#ifndef RecoLocalMuon_DTRecHitProducer_h
#define RecoLocalMuon_DTRecHitProducer_h
/** \class DTRecHitProducer
* Module for 1D DTRecHitPairs production. The concrete reconstruction algorithm
* is specified with the parameter "recAlgo" and must be configured with the
* "recAlgoConfig" parameter set.
*
* \author G. Cerminara
*/
#include "FWCore/Framework/interface/stream/EDProducer.h"
#include "FWCore/Utilities/interface/InputTag.h"
#include "DataFormats/DTDigi/interface/DTDigiCollection.h"
namespace edm {
class ParameterSet;
class Event;
class EventSetup;
}
class DTRecHitBaseAlgo;
class DTRecHitProducer : public edm::stream::EDProducer<> {
public:
/// Constructor
DTRecHitProducer(const edm::ParameterSet&);
/// Destructor
virtual ~DTRecHitProducer();
/// The method which produces the rechits
virtual void produce(edm::Event& event, const edm::EventSetup& setup);
private:
// Switch on verbosity
const bool debug;
// The label to be used to retrieve DT digis from the event
edm::EDGetTokenT<DTDigiCollection> DTDigiToken_;
// The reconstruction algorithm
DTRecHitBaseAlgo *theAlgo;
// static string theAlgoName;
};
#endif