Main Page
Namespaces
Classes
Package Documentation
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
{
10
public
:
12
RootChamberReader
();
13
RootChamberReader
(TFile *
file
,
const
std::string
& treeName);
15
~RootChamberReader
();
16
17
void
read
(
edm::PSimHitContainer
&
hits
);
18
19
private
:
20
TTree *
theTree
;
21
TClonesArray *
theHits
;
22
int
thePosition
;
23
int
theSize
;
24
};
25
26
#endif
27
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
RootChamberReader::theHits
TClonesArray * theHits
Definition:
RootChamberReader.h:21
hfClusterShapes_cfi.hits
hits
Definition:
hfClusterShapes_cfi.py:5
RootChamberReader::thePosition
int thePosition
Definition:
RootChamberReader.h:22
RootChamberReader::theTree
TTree * theTree
Definition:
RootChamberReader.h:20
RootChamberReader::read
void read(edm::PSimHitContainer &hits)
Definition:
RootChamberReader.cc:37
RootChamberReader::RootChamberReader
RootChamberReader()
default ctor, for STL
Definition:
RootChamberReader.cc:7
FrontierConditions_GlobalTag_cff.file
file
Definition:
FrontierConditions_GlobalTag_cff.py:13
PSimHitContainer.h
RootChamberReader::theSize
int theSize
Definition:
RootChamberReader.h:23
RootChamberReader::~RootChamberReader
~RootChamberReader()
writes the tree, and deletes everything
Definition:
RootChamberReader.cc:30
edm::PSimHitContainer
std::vector< PSimHit > PSimHitContainer
Definition:
PSimHitContainer.h:11
RootChamberReader
Definition:
RootChamberReader.h:8
Generated for CMSSW Reference Manual by
1.8.11