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
EventRapgap.cxx
Go to the documentation of this file.
1
10
#include "
eicsmear/erhic/EventRapgap.h
"
11
12
#include <sstream>
13
#include <string>
14
15
namespace
erhic
{
16
17
bool
EventRapgap::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
genevent
>>
process
>>
idir
>>
idisdif
>>
cs
>>
sigma_cs
>>
s
>>
q2
>>
25
y
>>
xgam
>>
xpr
>>
Pt_h
>>
pt2_hat
>>
sHat
>>
t
>>
x_pom
>>
sHat2
>>
z
>>
26
x1
>>
phi1
>>
nTracks
;
27
// Protect against errors in the input file or the stream
28
return
!ss.fail();
29
}
30
31
}
// namespace erhic
erhic
Definition:
EventDis.cxx:14
erhic::EventRapgap::phi1
Double32_t phi1
Definition:
EventRapgap.h:44
erhic::EventRapgap::idir
Int_t idir
Definition:
EventRapgap.h:28
erhic::EventRapgap::sHat
Double32_t sHat
Definition:
EventRapgap.h:46
erhic::EventRapgap::sHat2
Double32_t sHat2
Definition:
EventRapgap.h:41
erhic::EventMC::process
Int_t process
PYTHIA code for the physics process producing the event.
Definition:
erhic/EventMC.h:204
erhic::EventRapgap::q2
Double32_t q2
Definition:
EventRapgap.h:35
erhic::EventRapgap::cs
Double32_t cs
Definition:
EventRapgap.h:32
erhic::EventRapgap::z
Double32_t z
Definition:
EventRapgap.h:42
erhic::EventRapgap::xpr
Double32_t xpr
Definition:
EventRapgap.h:37
erhic::EventRapgap::s
Double32_t s
Definition:
EventRapgap.h:34
EventRapgap.h
erhic::EventRapgap::genevent
Int_t genevent
Definition:
EventRapgap.h:30
erhic::EventRapgap::x_pom
Double32_t x_pom
Definition:
EventRapgap.h:40
erhic::EventRapgap::Pt_h
Double32_t Pt_h
Definition:
EventRapgap.h:38
erhic::EventRapgap::sigma_cs
Double32_t sigma_cs
Definition:
EventRapgap.h:33
erhic::EventRapgap::x1
Double32_t x1
Definition:
EventRapgap.h:43
erhic::EventMC::number
Int_t number
Event number.
Definition:
erhic/EventMC.h:203
erhic::EventRapgap::Parse
virtual bool Parse(const std::string &)
Populates the event-wise variables from a string.
Definition:
EventRapgap.cxx:17
erhic::EventRapgap::t
Double32_t t
Definition:
EventRapgap.h:39
erhic::EventMC::nTracks
Int_t nTracks
Number of Particles in the event (intermediate + final)
Definition:
erhic/EventMC.h:205
erhic::EventDis::y
Double32_t y
Inelasticity.
Definition:
EventDis.h:183
erhic::EventRapgap::idisdif
Int_t idisdif
Definition:
EventRapgap.h:29
erhic::EventRapgap::pt2_hat
Double32_t pt2_hat
Definition:
EventRapgap.h:45
erhic::EventRapgap::xgam
Double32_t xgam
Definition:
EventRapgap.h:36
src
erhic
EventRapgap.cxx
Generated on Fri Jan 31 2020 15:11:33 for eic-smear by
1.8.17