src
SimMuon
Neutron
src
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>
6
#include "
SimDataFormats/TrackingHit/interface/PSimHitContainer.h
"
7
8
class
RootChamberReader
{
9
public
:
11
RootChamberReader
();
12
RootChamberReader
(TFile*
file
,
const
std::string
&
treeName
);
14
~RootChamberReader
();
15
16
void
read
(
edm::PSimHitContainer
&
hits
);
17
18
private
:
19
TTree*
theTree
;
20
TClonesArray*
theHits
;
21
int
thePosition
;
22
int
theSize
;
23
};
24
25
#endif
ticlDumper_cff.treeName
treeName
Definition:
ticlDumper_cff.py:12
RootChamberReader::theHits
TClonesArray * theHits
Definition:
RootChamberReader.h:20
hfClusterShapes_cfi.hits
hits
Definition:
hfClusterShapes_cfi.py:5
RootChamberReader::thePosition
int thePosition
Definition:
RootChamberReader.h:21
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
RootChamberReader::theTree
TTree * theTree
Definition:
RootChamberReader.h:19
RootChamberReader::read
void read(edm::PSimHitContainer &hits)
Definition:
RootChamberReader.cc:25
RootChamberReader::RootChamberReader
RootChamberReader()
default ctor, for STL
Definition:
RootChamberReader.cc:7
PSimHitContainer.h
RootChamberReader::theSize
int theSize
Definition:
RootChamberReader.h:22
geometryDiff.file
file
Definition:
geometryDiff.py:13
RootChamberReader::~RootChamberReader
~RootChamberReader()
writes the tree, and deletes everything
Definition:
RootChamberReader.cc:20
edm::PSimHitContainer
std::vector< PSimHit > PSimHitContainer
Definition:
PSimHitContainer.h:11
RootChamberReader
Definition:
RootChamberReader.h:8
Generated for CMSSW Reference Manual by
1.8.14