CMS 3D CMS Logo

RootNeutronReader.h
Go to the documentation of this file.
1 #ifndef RootNeutronReader_h
2 #define RootNeutronReader_h
3 
6 #include <TFile.h>
7 
16 {
17 public:
19 
20  virtual void readNextEvent(int chamberType, edm::PSimHitContainer & result);
21 
22  RootChamberReader & chamberReader(int chamberType);
23 
24 private:
25  TFile * theFile;
26  std::map<int, RootChamberReader> theChamberReaders;
27 };
28 
29 #endif
30 
std::map< int, RootChamberReader > theChamberReaders
RootNeutronReader(const std::string &fileName)
RootChamberReader & chamberReader(int chamberType)
std::vector< PSimHit > PSimHitContainer
virtual void readNextEvent(int chamberType, edm::PSimHitContainer &result)