Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:26:09

0001 #ifndef DTSegment_DTRecSegment2DExtendedProducer_h
0002 #define DTSegment_DTRecSegment2DExtendedProducer_h
0003 
0004 /** \class DTRecSegment2DExtendedProducer
0005  *
0006  * Producer for DT segment in one projection.
0007  *  
0008  * \author Stefano Lacaprara - INFN Legnaro <stefano.lacaprara@pd.infn.it>
0009  * \author Riccardo Bellan - INFN TO <riccardo.bellan@cern.ch>
0010  *
0011  */
0012 
0013 /* Base Class Headers */
0014 #include "FWCore/Framework/interface/stream/EDProducer.h"
0015 #include "DataFormats/DTRecHit/interface/DTRecHitCollection.h"
0016 #include "DataFormats/DTRecHit/interface/DTRecClusterCollection.h"
0017 
0018 namespace edm {
0019   class ParameterSet;
0020   class Event;
0021   class EventSetup;
0022 }  // namespace edm
0023 
0024 class DTCombinatorialExtendedPatternReco;
0025 class DTGeometry;
0026 class MuonGeometryRecord;
0027 
0028 /* C++ Headers */
0029 
0030 /* ====================================================================== */
0031 
0032 /* Class DTRecSegment2DExtendedProducer Interface */
0033 
0034 class DTRecSegment2DExtendedProducer : public edm::stream::EDProducer<> {
0035 public:
0036   /// Constructor
0037   DTRecSegment2DExtendedProducer(const edm::ParameterSet&);
0038 
0039   /// Destructor
0040   ~DTRecSegment2DExtendedProducer() override;
0041 
0042   // Operations
0043 
0044   /// The method which produces the 2D-segments
0045   void produce(edm::Event& event, const edm::EventSetup& setup) override;
0046 
0047 protected:
0048 private:
0049   // Switch on verbosity
0050   bool debug;
0051 
0052   // The 2D-segments reconstruction algorithm
0053   DTCombinatorialExtendedPatternReco* theAlgo;
0054 
0055   //static std::string theAlgoName;
0056   edm::EDGetTokenT<DTRecHitCollection> recHits1DToken_;
0057   edm::EDGetTokenT<DTRecClusterCollection> recClusToken_;
0058   const edm::ESGetToken<DTGeometry, MuonGeometryRecord> dtGeomToken_;
0059 };
0060 #endif  // DTRecHit_DTRecSegment2DExtendedProducer_h