Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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
mergeVDriftHistosByStation.file
tuple file
Definition:
mergeVDriftHistosByStation.py:55
RootChamberReader::theHits
TClonesArray * theHits
Definition:
RootChamberReader.h:20
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
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.5