SimMuon
Neutron
src
RootNeutronReader.h
Go to the documentation of this file.
1
#ifndef RootNeutronReader_h
2
#define RootNeutronReader_h
3
4
#include "
SimMuon/Neutron/src/NeutronReader.h
"
5
#include "
SimMuon/Neutron/src/RootChamberReader.h
"
6
#include <TFile.h>
7
15
class
RootNeutronReader
:
public
NeutronReader
{
16
public
:
17
RootNeutronReader
(
const
std::string
&
fileName
);
18
19
void
readNextEvent
(
int
chamberType,
edm::PSimHitContainer
&
result
)
override
;
20
21
RootChamberReader
&
chamberReader
(
int
chamberType);
22
23
private
:
24
TFile*
theFile
;
25
std::map<int, RootChamberReader>
theChamberReaders
;
26
};
27
28
#endif
RootNeutronReader::theChamberReaders
std::map< int, RootChamberReader > theChamberReaders
Definition:
RootNeutronReader.h:25
RootNeutronReader
Definition:
RootNeutronReader.h:15
MillePedeFileConverter_cfg.fileName
fileName
Definition:
MillePedeFileConverter_cfg.py:32
RootChamberReader.h
RootChamberReader
Definition:
RootChamberReader.h:8
RootNeutronReader::RootNeutronReader
RootNeutronReader(const std::string &fileName)
Definition:
RootNeutronReader.cc:4
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
RootNeutronReader::chamberReader
RootChamberReader & chamberReader(int chamberType)
Definition:
RootNeutronReader.cc:6
RootNeutronReader::readNextEvent
void readNextEvent(int chamberType, edm::PSimHitContainer &result) override
Definition:
RootNeutronReader.cc:20
NeutronReader.h
mps_fire.result
result
Definition:
mps_fire.py:311
RootNeutronReader::theFile
TFile * theFile
Definition:
RootNeutronReader.h:24
edm::PSimHitContainer
std::vector< PSimHit > PSimHitContainer
Definition:
PSimHitContainer.h:11
NeutronReader
Definition:
NeutronReader.h:11
Generated for CMSSW Reference Manual by
1.8.16