Belle II Software
release-05-01-25
QcsmonitorHit.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 QCSMONITORHIT_H
12
#define QCSMONITORHIT_H
13
14
#include <simulation/dataobjects/SimHitBase.h>
15
16
namespace
Belle2
{
28
class
QcsmonitorHit :
public
SimHitBase {
29
public
:
30
//typedef std::vector<unsigned int>::iterator iterator;
31
//typedef std::vector<unsigned int>::const_iterator const_iterator;
32
34
QcsmonitorHit
():
m_detNb
(0),
m_time
(0),
m_edep
(0),
m_mip
(0),
m_pe
(0) {}
35
36
40
QcsmonitorHit
(
int
detNb,
int
time,
float
edep,
float
mip,
float
pe):
41
m_detNb
(detNb),
m_time
(time),
m_edep
(edep),
m_mip
(mip),
m_pe
(pe)
42
{
43
}
44
46
int
getdetNb
()
const
{
return
m_detNb
; }
48
int
gettime
()
const
{
return
m_time
; }
50
float
getedep
()
const
{
return
m_edep
; }
52
float
getMIP
()
const
{
return
m_mip
; }
54
float
getPE
()
const
{
return
m_pe
; }
55
56
private
:
57
59
int
m_detNb
;
61
int
m_time
;
63
float
m_edep
;
65
float
m_mip
;
67
float
m_pe
;
68
69
ClassDef
(
QcsmonitorHit
, 1)
70
};
71
73
}
// end namespace Belle2
74
75
#endif
Belle2::QcsmonitorHit::m_detNb
int m_detNb
Detector Number.
Definition:
QcsmonitorHit.h:67
Belle2::QcsmonitorHit::getdetNb
int getdetNb() const
Return the PIN diode number.
Definition:
QcsmonitorHit.h:54
Belle2::RelationsInterface::ClassDef
ClassDef(RelationsInterface, 0)
defines interface for accessing relations of objects in StoreArray.
Belle2::QcsmonitorHit::QcsmonitorHit
QcsmonitorHit()
default constructor for ROOT
Definition:
QcsmonitorHit.h:42
Belle2::QcsmonitorHit::m_pe
float m_pe
Particle pe.
Definition:
QcsmonitorHit.h:75
Belle2::QcsmonitorHit
ClassQcsmonitorHit - digitization simulated hit for the Qcsmonitor detector.
Definition:
QcsmonitorHit.h:36
Belle2::QcsmonitorHit::getMIP
float getMIP() const
Return MIP.
Definition:
QcsmonitorHit.h:60
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:19
Belle2::QcsmonitorHit::getedep
float getedep() const
Return the energy deposited.
Definition:
QcsmonitorHit.h:58
Belle2::QcsmonitorHit::m_time
int m_time
time
Definition:
QcsmonitorHit.h:69
Belle2::QcsmonitorHit::gettime
int gettime() const
Return the time.
Definition:
QcsmonitorHit.h:56
Belle2::QcsmonitorHit::getPE
float getPE() const
Return PE.
Definition:
QcsmonitorHit.h:62
Belle2::QcsmonitorHit::m_edep
float m_edep
Energy deposited.
Definition:
QcsmonitorHit.h:71
Belle2::QcsmonitorHit::m_mip
float m_mip
Particle mip.
Definition:
QcsmonitorHit.h:73
beast
qcsmonitor
dataobjects
include
QcsmonitorHit.h
Generated on Fri Nov 5 2021 03:48:07 for Belle II Software by
1.8.17