Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 11:19:22

0001 #ifndef DTSegment_DTRecSegment2DReader_h
0002 #define DTSegment_DTRecSegment2DReader_h
0003 
0004 /** \class DTRecSegment2DReader
0005  *
0006  * Description:
0007  *  
0008  * detailed description
0009  *
0010  * \author Stefano Lacaprara - INFN Legnaro <stefano.lacaprara@pd.infn.it>
0011  * \author Riccardo Bellan - INFN TO <riccardo.bellan@cern.ch>
0012  *
0013  */
0014 
0015 /* Base Class Headers */
0016 #include "FWCore/Framework/interface/EDAnalyzer.h"
0017 
0018 /* Collaborating Class Declarations */
0019 #include "DataFormats/Common/interface/Handle.h"
0020 
0021 /* C++ Headers */
0022 #include <iostream>
0023 
0024 class TFile;
0025 class TH1F;
0026 
0027 namespace edm {
0028   class ParameterSet;
0029   class Event;
0030   class EventSetup;
0031 }
0032 
0033 /* ====================================================================== */
0034 
0035 /* Class DTRecSegment2DReader Interface */
0036 
0037 class DTRecSegment2DReader : public edm::EDAnalyzer {
0038 
0039   public:
0040 
0041 /// Constructor
0042     DTRecSegment2DReader(const edm::ParameterSet& pset) ;
0043 
0044 /// Destructor
0045     virtual ~DTRecSegment2DReader() ;
0046 
0047 /* Operations */ 
0048     void analyze(const edm::Event & event, const edm::EventSetup& eventSetup);
0049 
0050   protected:
0051 
0052   private:
0053     bool debug;
0054     std::string theRootFileName;
0055     TFile* theFile;
0056     //static std::string theAlgoName;
0057     std::string theRecHits2DLabel;
0058   
0059    TH1F *hPositionX;
0060 
0061 };
0062 #endif // DTSegment_DTRecSegment2DReader_h
0063