Belle II Software  release-05-01-25
PlumeHit.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2010-2011 Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Martin Ritter, Igal Jaegle, Isabelle Ripp *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #ifndef PLUMEHIT_H
12 #define PLUMEHIT_H
13 
14 #include <simulation/dataobjects/SimHitBase.h>
15 
16 namespace Belle2 {
28  class PlumeHit : public SimHitBase {
29  public:
30  //typedef std::vector<unsigned int>::iterator iterator;
31  //typedef std::vector<unsigned int>::const_iterator const_iterator;
32 
35  m_posmm_x(0), m_posmm_y(0), m_posmm_z(0) {}
36 
37 
40  PlumeHit(int a_sensorID, int a_nofPixels, float a_posmm_u, float a_posmm_v,
41  float a_posmm_x, float a_posmm_y, float a_posmm_z)
42  {
43  m_sensorID = a_sensorID;
44  m_nofPixels = a_nofPixels;
45  m_posmm_u = a_posmm_u;
46  m_posmm_v = a_posmm_v;
47  m_posmm_x = a_posmm_x;
48  m_posmm_y = a_posmm_y;
49  m_posmm_z = a_posmm_z;
50  }
51 
53  int getsensorID() const { return m_sensorID; }
55  int getnofPixels() const { return m_nofPixels; }
57  float getpos_u() const { return m_posmm_u; }
59  float getpos_v() const { return m_posmm_v; }
61  float getpos_x() const { return m_posmm_x; }
63  float getpos_y() const { return m_posmm_y; }
65  float getpos_z() const { return m_posmm_z; }
66 
67  private:
73  float m_posmm_u;
75  float m_posmm_v;
77  float m_posmm_x;
79  float m_posmm_y;
81  float m_posmm_z;
82 
84  };
85 
87 } // end namespace Belle2
88 
89 #endif
Belle2::PlumeHit::getpos_y
float getpos_y() const
impact position in G4 y frame, in mm
Definition: PlumeHit.h:71
Belle2::PlumeHit::m_posmm_z
float m_posmm_z
impact position in G4 z frame, in mm
Definition: PlumeHit.h:89
Belle2::PlumeHit::m_nofPixels
int m_nofPixels
cluster size
Definition: PlumeHit.h:79
Belle2::PlumeHit::getpos_u
float getpos_u() const
impact position in sensor u frame, in mm
Definition: PlumeHit.h:65
Belle2::PlumeHit::m_posmm_u
float m_posmm_u
impact position in sensor u frame, in mm
Definition: PlumeHit.h:81
Belle2::RelationsInterface::ClassDef
ClassDef(RelationsInterface, 0)
defines interface for accessing relations of objects in StoreArray.
Belle2::PlumeHit::m_posmm_y
float m_posmm_y
impact position in G4 y frame, in mm
Definition: PlumeHit.h:87
Belle2::PlumeHit::m_posmm_x
float m_posmm_x
impact position in G4 x frame, in mm
Definition: PlumeHit.h:85
Belle2::PlumeHit::getsensorID
int getsensorID() const
sensor ID
Definition: PlumeHit.h:61
Belle2::PlumeHit::getnofPixels
int getnofPixels() const
cluster size
Definition: PlumeHit.h:63
Belle2::PlumeHit
ClassPlumeHit - digitization simulated hit for the Microtpc detector.
Definition: PlumeHit.h:36
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::PlumeHit::m_sensorID
int m_sensorID
sensor ID
Definition: PlumeHit.h:77
Belle2::PlumeHit::getpos_z
float getpos_z() const
impact position in G4 z frame, in mm
Definition: PlumeHit.h:73
Belle2::PlumeHit::getpos_v
float getpos_v() const
impact position in sensor v frame, in mm
Definition: PlumeHit.h:67
Belle2::PlumeHit::m_posmm_v
float m_posmm_v
impact position in sensor v frame, in mm
Definition: PlumeHit.h:83
Belle2::PlumeHit::PlumeHit
PlumeHit()
default constructor for ROOT
Definition: PlumeHit.h:42
Belle2::PlumeHit::getpos_x
float getpos_x() const
impact position in G4 x frame, in mm
Definition: PlumeHit.h:69