SLIC  6.1.1
Simulation for the Linear Collider (SLIC) - Geant4 simulation application
LHEParticle.hh
Go to the documentation of this file.
1 
7 #ifndef SLIC_LHEPARTICLE_HH_
8 #define SLIC_LHEPARTICLE_HH_
9 
10 // STL
11 #include <string>
12 #include <vector>
13 
14 namespace slic {
15 
20 class LHEParticle {
21 
22  public:
23 
28  LHEParticle(std::string& data);
29 
34  int getIDUP() const;
35 
40  int getISTUP() const;
41 
46  int getMOTHUP(int) const;
47 
52  int getICOLUP(int) const;
53 
59  double getPUP(int) const;
60 
65  double getVTIMUP() const;
66 
71  double getSPINUP() const;
72 
78  void setMother(int i, LHEParticle* particle);
79 
84  LHEParticle* getMother(int) const;
85 
90  void print(std::ostream& stream) const;
91 
97  friend std::ostream& operator<<(std::ostream& stream, const LHEParticle& particle);
98 
99  private:
100 
105 
109  int idup_;
110 
114  int istup_;
115 
119  int mothup_[2];
120 
124  int icolup_[2];
125 
129  double pup_[5];
130 
134  double vtimup_;
135 
139  int spinup_;
140 };
141 
142 }
143 
144 #endif
Single particle record in an LHE event.
Definition: LHEParticle.hh:20
double getSPINUP() const
Definition: LHEParticle.cc:75
int getICOLUP(int) const
Definition: LHEParticle.cc:63
int getMOTHUP(int) const
Definition: LHEParticle.cc:59
LHEParticle * mothers_[2]
Definition: LHEParticle.hh:104
friend std::ostream & operator<<(std::ostream &stream, const LHEParticle &particle)
Definition: LHEParticle.cc:91
int getIDUP() const
Definition: LHEParticle.cc:51
LHEParticle(std::string &data)
Definition: LHEParticle.cc:15
double getVTIMUP() const
Definition: LHEParticle.cc:71
double getPUP(int) const
Definition: LHEParticle.cc:67
LHEParticle * getMother(int) const
Definition: LHEParticle.cc:83
void print(std::ostream &stream) const
Definition: LHEParticle.cc:87
int getISTUP() const
Definition: LHEParticle.cc:55
void setMother(int i, LHEParticle *particle)
Definition: LHEParticle.cc:79