CMS 3D CMS Logo

RootChamberReader.h
Go to the documentation of this file.
1 #ifndef SimMuon_Neutron_RootChamberReader_h
2 #define SimMuon_Neutron_RootChamberReader_h
3 
4 #include <TFile.h>
5 #include <TTree.h>
7 
9 public:
12  RootChamberReader(TFile* file, const std::string& treeName);
15 
17 
18 private:
19  TTree* theTree;
20  TClonesArray* theHits;
22  int theSize;
23 };
24 
25 #endif
TClonesArray * theHits
void read(edm::PSimHitContainer &hits)
RootChamberReader()
default ctor, for STL
~RootChamberReader()
writes the tree, and deletes everything
std::vector< PSimHit > PSimHitContainer