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 public:
18 
19  void readNextEvent(int chamberType, edm::PSimHitContainer& result) override;
20 
21  RootChamberReader& chamberReader(int chamberType);
22 
23 private:
24  TFile* theFile;
25  std::map<int, RootChamberReader> theChamberReaders;
26 };
27 
28 #endif
std::map< int, RootChamberReader > theChamberReaders
RootNeutronReader(const std::string &fileName)
RootChamberReader & chamberReader(int chamberType)
void readNextEvent(int chamberType, edm::PSimHitContainer &result) override
std::vector< PSimHit > PSimHitContainer