Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:24:50

0001 #ifndef DTSegment_DTSegment4DT0Corrector_H
0002 #define DTSegment_DTSegment4DT0Corrector_H
0003 
0004 /** \class DTSegment4DT0Corrector
0005  *  Builds the segments in the DT chambers.
0006  *
0007  * \author Mario Pelliccioni - INFN Torino <pellicci@cern.ch>
0008  */
0009 
0010 #include "FWCore/Framework/interface/stream/EDProducer.h"
0011 #include "RecoLocalMuon/DTSegment/src/DTSegmentUpdator.h"
0012 #include "DataFormats/DTRecHit/interface/DTRecSegment4DCollection.h"
0013 
0014 namespace edm {
0015   class ParameterSet;
0016   class Event;
0017   class EventSetup;
0018 }  // namespace edm
0019 
0020 class DTSegment4DT0Corrector : public edm::stream::EDProducer<> {
0021 public:
0022   /// Constructor
0023   DTSegment4DT0Corrector(const edm::ParameterSet&);
0024 
0025   /// Destructor
0026   ~DTSegment4DT0Corrector() override;
0027 
0028   // Operations
0029 
0030   /// The method which produces the 4D rec segments corrected for t0 offset
0031   void produce(edm::Event& event, const edm::EventSetup& setup) override;
0032 
0033 protected:
0034 private:
0035   // Switch on verbosity
0036   bool debug;
0037 
0038   edm::EDGetTokenT<DTRecSegment4DCollection> recHits4DToken_;
0039 
0040   // the updator
0041   DTSegmentUpdator* theUpdator;
0042 };
0043 #endif