test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
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
{
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
mergeVDriftHistosByStation.file
tuple file
Definition:
mergeVDriftHistosByStation.py:54
RootChamberReader::theHits
TClonesArray * theHits
Definition:
RootChamberReader.h:21
RootChamberReader::thePosition
int thePosition
Definition:
RootChamberReader.h:22
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
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
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.5