Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHHepMCGenEventv1.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHHepMCGenEventv1.h
1 #ifndef PHHEPMC_PHHEPMCEVENTv1_H
2 #define PHHEPMC_PHHEPMCEVENTv1_H
3 
4 #include "PHHepMCGenEvent.h"
5 
7 {
8  public:
10 
13  ~PHHepMCGenEventv1() override;
14 
15  void identify(std::ostream& os = std::cout) const override;
16  void Reset() override;
17  int isValid() const override
18  {
20  return 0;
21  }
22  PHObject* CloneMe() const override { return new PHHepMCGenEventv1(*this); }
23 
25  const HepMC::ThreeVector& get_boost_beta_vector() const final { return m_boost_beta_vector; }
26 
28  void set_boost_beta_vector(const HepMC::ThreeVector& v) final { m_boost_beta_vector = v; }
29 
31  const HepMC::ThreeVector& get_rotation_vector() const final { return m_rotation_vector; }
32 
34  void set_rotation_vector(const HepMC::ThreeVector& v) final { m_rotation_vector = v; }
35 
37  double get_rotation_angle() const final { return m_rotation_angle; }
38 
40  void set_rotation_angle(const double a) final { m_rotation_angle = a; }
41 
43  CLHEP::HepLorentzRotation get_LorentzRotation_EvtGen2Lab() const final;
44 
46  CLHEP::HepLorentzRotation get_LorentzRotation_Lab2EvtGen() const final;
47 
48  protected:
50  HepMC::ThreeVector m_boost_beta_vector;
51 
53  HepMC::ThreeVector m_rotation_vector;
54 
57 
58  ClassDefOverride(PHHepMCGenEventv1, 1)
59 };
60 
61 #endif // PHHEPMC_PHHEPMCEVENTv1_H