Belle II Software
release-05-01-25
BeamabortHit.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: Igal Jaegle *
7
* *
8
* This software is provided "as is" without any warranty. *
9
**************************************************************************/
10
11
#ifndef BEAMABORTHIT_H
12
#define BEAMABORTHIT_H
13
14
#include <simulation/dataobjects/SimHitBase.h>
15
16
namespace
Belle2
{
28
class
BeamabortHit :
public
SimHitBase {
29
public
:
30
//typedef std::vector<unsigned int>::iterator iterator;
31
//typedef std::vector<unsigned int>::const_iterator const_iterator;
32
34
BeamabortHit
():
m_edep
(0),
m_I
(0),
m_time
(0),
m_detNb
(0),
m_pdg
(0) {}
35
36
40
BeamabortHit
(
float
edep,
float
I,
float
time,
int
detNb,
int
pdg):
41
m_edep
(edep),
m_I
(I),
m_time
(time),
m_detNb
(detNb),
m_pdg
(pdg)
42
{
43
}
44
46
float
getedep
()
const
{
return
m_edep
; }
48
float
getI
()
const
{
return
m_I
; }
50
float
gettime
()
const
{
return
m_time
; }
52
int
getdetNb
()
const
{
return
m_detNb
; }
54
int
getPDG
()
const
{
return
m_pdg
; }
55
56
private
:
57
59
float
m_edep
;
61
float
m_I
;
63
float
m_time
;
65
int
m_detNb
;
67
int
m_pdg
;
68
69
ClassDef
(
BeamabortHit
, 1)
70
};
71
73
}
// end namespace Belle2
74
75
#endif
Belle2::BeamabortHit::m_edep
float m_edep
Energy deposited.
Definition:
BeamabortHit.h:67
Belle2::BeamabortHit
ClassBeamabortHit - digitization simulated hit for the Beamabort detector.
Definition:
BeamabortHit.h:36
Belle2::RelationsInterface::ClassDef
ClassDef(RelationsInterface, 0)
defines interface for accessing relations of objects in StoreArray.
Belle2::BeamabortHit::m_pdg
int m_pdg
Particle PDG.
Definition:
BeamabortHit.h:75
Belle2::BeamabortHit::m_time
float m_time
time
Definition:
BeamabortHit.h:71
Belle2::BeamabortHit::getedep
float getedep() const
Return the energy deposited.
Definition:
BeamabortHit.h:54
Belle2::BeamabortHit::BeamabortHit
BeamabortHit()
default constructor for ROOT
Definition:
BeamabortHit.h:42
Belle2::BeamabortHit::getI
float getI() const
Return the amplitude.
Definition:
BeamabortHit.h:56
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:19
Belle2::BeamabortHit::m_detNb
int m_detNb
Detector Number.
Definition:
BeamabortHit.h:73
Belle2::BeamabortHit::getdetNb
int getdetNb() const
Return the PIN diode number.
Definition:
BeamabortHit.h:60
Belle2::BeamabortHit::getPDG
int getPDG() const
Return the PDG of particles.
Definition:
BeamabortHit.h:62
Belle2::BeamabortHit::gettime
float gettime() const
Return the time.
Definition:
BeamabortHit.h:58
Belle2::BeamabortHit::m_I
float m_I
V.
Definition:
BeamabortHit.h:69
beast
beamabort
dataobjects
include
BeamabortHit.h
Generated on Fri Nov 5 2021 03:47:41 for Belle II Software by
1.8.17