CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 {
10 public:
13  RootChamberReader(TFile * file, const std::string & treeName);
16 
17  void read(edm::PSimHitContainer & hits);
18 
19 private:
20  TTree * theTree;
21  TClonesArray * theHits;
23  int theSize;
24 };
25 
26 #endif
27 
TClonesArray * theHits
void read(edm::PSimHitContainer &hits)
RootChamberReader()
default ctor, for STL
~RootChamberReader()
writes the tree, and deletes everything
std::vector< PSimHit > PSimHitContainer