DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
DDEveEventData.h
Go to the documentation of this file.
1 //==========================================================================
2 // AIDA Detector description implementation
3 //--------------------------------------------------------------------------
4 // Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
5 // All rights reserved.
6 //
7 // For the licensing terms see $DD4hepINSTALL/LICENSE.
8 // For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
9 //
10 // Author : M.Frank
11 //
12 //==========================================================================
13 #ifndef DDEVE_DDEVEEVENTDATA_H
14 #define DDEVE_DDEVEEVENTDATA_H
15 
16 // C/C++ include files
17 #include <vector>
18 #include <set>
19 
21 namespace dd4hep {
22 
24 
29  class DDEveHit {
30  public:
32  int particle {0};
34  float x = 0e0, y = 0e0, z = 0e0;
36  float deposit {0};
38  DDEveHit();
40  DDEveHit(int part, float xx, float yy, float zz, float d);
42  DDEveHit(const DDEveHit& c);
44  ~DDEveHit();
46  DDEveHit& operator=(const DDEveHit& c);
47  };
48  typedef std::vector<DDEveHit> DDEveHits;
49 
51 
56  class DDEveParticle {
57  public:
58  int id, parent, pdgID;
59  double vsx, vsy, vsz;
60  double vex, vey, vez;
61  double psx, psy, psz, energy, time;
62  std::set<int> daughters;
64  DDEveParticle();
66  DDEveParticle(const DDEveParticle& c);
68  virtual ~DDEveParticle();
71  };
72  typedef std::vector<DDEveParticle> DDEveParticles;
73 } /* End namespace dd4hep */
74 #endif // DDEVE_DDEVEEVENTDATA_H
75 
dd4hep::DDEveHit
DDEve event classes: Basic hit.
Definition: DDEveEventData.h:29
dd4hep::DDEveParticle::vez
double vez
Definition: DDEveEventData.h:60
dd4hep::DDEveHit::DDEveHit
DDEveHit()
Default constructor.
Definition: DDEveEventData.cpp:20
dd4hep::DDEveParticle::DDEveParticle
DDEveParticle()
Default constructor.
Definition: DDEveEventData.cpp:61
dd4hep::DDEveParticle::psx
double psx
Definition: DDEveEventData.h:61
dd4hep::DDEveHit::~DDEveHit
~DDEveHit()
Default destructor.
Definition: DDEveEventData.cpp:38
dd4hep::DDEveParticle::vsx
double vsx
Definition: DDEveEventData.h:59
dd4hep::DDEveParticle::~DDEveParticle
virtual ~DDEveParticle()
Default destructor.
Definition: DDEveEventData.cpp:69
dd4hep::DDEveParticle::vsy
double vsy
Definition: DDEveEventData.h:59
dd4hep::DDEveHit::x
float x
Hit position.
Definition: DDEveEventData.h:34
dd4hep::DDEveParticle::vsz
double vsz
Definition: DDEveEventData.h:59
dd4hep::DDEveParticle::id
int id
Definition: DDEveEventData.h:58
dd4hep::DDEveParticle::energy
double energy
Definition: DDEveEventData.h:61
dd4hep::DDEveParticle::time
double time
Definition: DDEveEventData.h:61
dd4hep::DDEveHit::deposit
float deposit
Energy deposit.
Definition: DDEveEventData.h:36
dd4hep::DDEveHits
std::vector< DDEveHit > DDEveHits
Definition: DDEveEventData.h:48
dd4hep::DDEveParticle::parent
int parent
Definition: DDEveEventData.h:58
dd4hep::DDEveParticle::daughters
std::set< int > daughters
Definition: DDEveEventData.h:62
dd4hep::DDEveParticle::pdgID
int pdgID
Definition: DDEveEventData.h:58
dd4hep::DDEveHit::operator=
DDEveHit & operator=(const DDEveHit &c)
Assignment operator.
Definition: DDEveEventData.cpp:42
dd4hep::DDEveParticle::psy
double psy
Definition: DDEveEventData.h:61
dd4hep::DDEveParticle::psz
double psz
Definition: DDEveEventData.h:61
dd4hep::DDEveHit::particle
int particle
Track/Particle, which produced this hit.
Definition: DDEveEventData.h:32
dd4hep
Namespace for the AIDA detector description toolkit.
Definition: AlignmentsCalib.h:28
dd4hep::DDEveParticle::operator=
DDEveParticle & operator=(const DDEveParticle &c)
Assignment operator.
Definition: DDEveEventData.cpp:74
dd4hep::DDEveHit::y
float y
Definition: DDEveEventData.h:34
dd4hep::DDEveHit::z
float z
Definition: DDEveEventData.h:34
dd4hep::DDEveParticle
Data structure to store the MC particle information.
Definition: DDEveEventData.h:56
dd4hep::DDEveParticles
std::vector< DDEveParticle > DDEveParticles
Definition: DDEveEventData.h:72
dd4hep::DDEveParticle::vey
double vey
Definition: DDEveEventData.h:60
dd4hep::DDEveParticle::vex
double vex
Definition: DDEveEventData.h:60