SimMuon
Neutron
src
AsciiNeutronReader.h
Go to the documentation of this file.
1
#ifndef AsciiNeutronReader_h
2
#define AsciiNeutronReader_h
3
4
#include <iostream>
5
#include <string>
6
#include <vector>
7
#include <fstream>
8
#include "
SimMuon/Neutron/src/NeutronReader.h
"
9
17
class
AsciiNeutronReader
:
public
NeutronReader
{
18
public
:
19
AsciiNeutronReader
(
std::string
fileNameBase);
20
21
void
readNextEvent
(
int
chamberType,
edm::PSimHitContainer
&
result
)
override
;
22
23
private
:
24
int
read_nhits
(std::ifstream&
fin
,
int
chamberType);
25
void
resetStreampos
(std::ifstream&
fin
,
int
chamberType);
26
27
std::string
theFileNameBase
;
28
std::vector<std::streampos>
theStreamPos
;
29
};
30
31
#endif
AsciiNeutronReader::AsciiNeutronReader
AsciiNeutronReader(std::string fileNameBase)
Definition:
AsciiNeutronReader.cc:10
AsciiNeutronReader::readNextEvent
void readNextEvent(int chamberType, edm::PSimHitContainer &result) override
Definition:
AsciiNeutronReader.cc:15
AsciiNeutronReader
Definition:
AsciiNeutronReader.h:17
AsciiNeutronReader::theStreamPos
std::vector< std::streampos > theStreamPos
Definition:
AsciiNeutronReader.h:28
groupFilesInBlocks.fin
fin
Definition:
groupFilesInBlocks.py:94
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
AsciiNeutronReader::theFileNameBase
std::string theFileNameBase
Definition:
AsciiNeutronReader.h:27
NeutronReader.h
AsciiNeutronReader::read_nhits
int read_nhits(std::ifstream &fin, int chamberType)
Definition:
AsciiNeutronReader.cc:39
AsciiNeutronReader::resetStreampos
void resetStreampos(std::ifstream &fin, int chamberType)
Definition:
AsciiNeutronReader.cc:56
mps_fire.result
result
Definition:
mps_fire.py:303
edm::PSimHitContainer
std::vector< PSimHit > PSimHitContainer
Definition:
PSimHitContainer.h:11
NeutronReader
Definition:
NeutronReader.h:11
Generated for CMSSW Reference Manual by
1.8.16