eic-smear
1.0.3
A collection of ROOT classes for Monte Carlo events and a fast-smearing code simulating detector effects for the Electron-Ion Collider task force
EventDjangoh.cxx
Go to the documentation of this file.
1
10
#include "
eicsmear/erhic/EventDjangoh.h
"
11
12
#include <sstream>
13
#include <string>
14
15
namespace
erhic
{
16
17
bool
EventDjangoh::Parse
(
const
std::string& line) {
18
static
std::stringstream ss;
19
ss.str(
""
);
20
ss.clear();
21
ss << line;
22
ss >>
23
number
>>
number
>>
// Skip first int in the line
24
IChannel
>>
dprocess
>>
process
>>
nucleon
>>
dstruckparton
>>
25
dpartontrck
>>
dY
>>
dQ2
>>
dX
>>
dW2
>>
dNu
>>
26
dtrueY
>>
dtrueQ2
>>
dtrueX
>>
dtrueW2
>>
dtrueNu
>>
27
sigTot
>>
sigTotErr
>>
D
>>
F1NC
>>
F3NC
>>
G1NC
>>
G3NC
>>
28
A1NC
>>
F1CC
>>
F3CC
>>
G1CC
>>
G5CC
>>
29
nTracks
;
30
// Protect against errors in the input file or the stream
31
return
!ss.fail();
32
}
33
34
}
// namespace erhic
erhic::EventDjangoh::dprocess
Int_t dprocess
Definition:
EventDjangoh.h:57
erhic
Definition:
EventDis.cxx:14
erhic::EventDjangoh::F3NC
Double32_t F3NC
Definition:
EventDjangoh.h:74
erhic::EventDjangoh::dX
Double32_t dX
Definition:
EventDjangoh.h:62
erhic::EventDjangoh::dpartontrck
Int_t dpartontrck
Definition:
EventDjangoh.h:59
erhic::EventDjangoh::dY
Double32_t dY
Definition:
EventDjangoh.h:60
EventDjangoh.h
erhic::EventMC::process
Int_t process
PYTHIA code for the physics process producing the event.
Definition:
erhic/EventMC.h:204
erhic::EventDjangoh::nucleon
Int_t nucleon
Definition:
EventDjangoh.h:55
erhic::EventDjangoh::F1NC
Double32_t F1NC
Definition:
EventDjangoh.h:73
erhic::EventDjangoh::dQ2
Double32_t dQ2
Definition:
EventDjangoh.h:61
erhic::EventDjangoh::dtrueX
Double32_t dtrueX
Definition:
EventDjangoh.h:67
erhic::EventDjangoh::G1NC
Double32_t G1NC
Definition:
EventDjangoh.h:75
erhic::EventDjangoh::dtrueQ2
Double32_t dtrueQ2
Definition:
EventDjangoh.h:66
erhic::EventDjangoh::D
Double32_t D
Definition:
EventDjangoh.h:72
erhic::EventDjangoh::Parse
virtual bool Parse(const std::string &)
Parses the event information from a text string with the following format (no newlines): \verbatime "...
Definition:
EventDjangoh.cxx:17
erhic::EventDjangoh::F3CC
Double32_t F3CC
Definition:
EventDjangoh.h:79
erhic::EventDjangoh::dstruckparton
Int_t dstruckparton
Definition:
EventDjangoh.h:58
erhic::EventDjangoh::A1NC
Double32_t A1NC
Definition:
EventDjangoh.h:77
erhic::EventDjangoh::IChannel
Int_t IChannel
Definition:
EventDjangoh.h:56
erhic::EventDjangoh::dtrueY
Double32_t dtrueY
Definition:
EventDjangoh.h:65
erhic::EventDjangoh::F1CC
Double32_t F1CC
Definition:
EventDjangoh.h:78
erhic::EventDjangoh::dW2
Double32_t dW2
Definition:
EventDjangoh.h:63
erhic::EventDjangoh::G3NC
Double32_t G3NC
Definition:
EventDjangoh.h:76
erhic::EventMC::number
Int_t number
Event number.
Definition:
erhic/EventMC.h:203
erhic::EventDjangoh::sigTotErr
Double32_t sigTotErr
Definition:
EventDjangoh.h:71
erhic::EventMC::nTracks
Int_t nTracks
Number of Particles in the event (intermediate + final)
Definition:
erhic/EventMC.h:205
erhic::EventDjangoh::sigTot
Double32_t sigTot
Definition:
EventDjangoh.h:70
erhic::EventDjangoh::G1CC
Double32_t G1CC
Definition:
EventDjangoh.h:80
erhic::EventDjangoh::dNu
Double32_t dNu
Definition:
EventDjangoh.h:64
erhic::EventDjangoh::G5CC
Double32_t G5CC
Definition:
EventDjangoh.h:81
erhic::EventDjangoh::dtrueW2
Double32_t dtrueW2
Definition:
EventDjangoh.h:68
erhic::EventDjangoh::dtrueNu
Double32_t dtrueNu
Definition:
EventDjangoh.h:69
src
erhic
EventDjangoh.cxx
Generated on Fri Jan 31 2020 15:11:33 for eic-smear by
1.8.17