File indexing completed on 2023-03-17 11:19:22
0001 #ifndef DTSegment_DTRecSegment2DReader_h
0002 #define DTSegment_DTRecSegment2DReader_h
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #include "FWCore/Framework/interface/EDAnalyzer.h"
0017
0018
0019 #include "DataFormats/Common/interface/Handle.h"
0020
0021
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
0036
0037 class DTRecSegment2DReader : public edm::EDAnalyzer {
0038
0039 public:
0040
0041
0042 DTRecSegment2DReader(const edm::ParameterSet& pset) ;
0043
0044
0045 virtual ~DTRecSegment2DReader() ;
0046
0047
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
0057 std::string theRecHits2DLabel;
0058
0059 TH1F *hPositionX;
0060
0061 };
0062 #endif
0063