BmnRoot
26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Toggle main menu visibility
Loading...
Searching...
No Matches
BmnEcalPoint.h
Go to the documentation of this file.
1
// ------------------------------------------------------------------------
2
// ----- BmnEcalPoint header file -----
3
// ----- litvin@nf.jinr.ru -----
4
// ----- Last updated 10-02-2016 -----
5
// ------------------------------------------------------------------------
6
7
#ifndef BMNECALPOINT_H
8
#define BMNECALPOINT_H
9
10
#include "FairMCPoint.h"
11
#include "
TLorentzVector.h
"
12
#include "
TObject.h
"
13
#include "
TVector3.h
"
14
15
using namespace
std
;
16
17
class
BmnEcalPoint
:
public
FairMCPoint
18
{
19
20
public
:
21
/** Default constructor **/
22
BmnEcalPoint
();
23
24
/** Constructor with arguments
25
*@param trackID Index of MCTrack
26
*@param detID Detector ID (at present, volume MC number)
27
*@param copyNo Number of active layer inside ECAL module
28
*@param copyNoMother ECAL module number
29
*@param pos Coordinates [cm]
30
*@param mom Momentum of track [GeV]
31
*@param tof Time since event start [ns]
32
*@param length Track length since creation [cm]
33
*@param eLoss Energy deposit [GeV]
34
**/
35
36
BmnEcalPoint
(
Int_t
trackID,
37
Int_t
detID,
38
Int_t
copyNo,
39
Int_t
copyNoMother,
40
TVector3
pos,
41
TVector3
mom,
42
Double_t
tof,
43
Double_t
length,
44
Double_t
eLoss,
45
UInt_t EventId = 0);
46
47
/** Copy constructor **/
48
BmnEcalPoint
(
const
BmnEcalPoint
& point) { *
this
= point; };
49
50
/** Destructor **/
51
virtual
~BmnEcalPoint
();
52
53
/** Accessors **/
54
Short_t
GetCopy
()
const
{
return
nCopy
; };
55
Short_t
GetCopyMother
()
const
{
return
nCopyMother
; };
56
57
/** Modifiers **/
58
void
SetCopy
(
Short_t
i
) {
nCopy
=
i
; };
59
void
SetCopyMother
(
Short_t
i
) {
nCopyMother
=
i
; };
60
61
/** Output to screen **/
62
virtual
void
Print
(
const
Option_t
* opt)
const
;
63
64
protected
:
65
Short_t
nCopy
;
// Copy number
66
Short_t
nCopyMother
;
// Copy number of mother volume
67
68
ClassDef
(
BmnEcalPoint
, 4)
69
};
70
71
#endif
i
int i
Definition
P4_F32vec4.h:22
Int_t
int Int_t
Short_t
short Short_t
Double_t
double Double_t
Option_t
const char Option_t
ClassDef
#define ClassDef(name, id)
TLorentzVector.h
TObject.h
TVector3.h
BmnEcalPoint::~BmnEcalPoint
virtual ~BmnEcalPoint()
Destructor.
Definition
BmnEcalPoint.cxx:63
BmnEcalPoint::BmnEcalPoint
BmnEcalPoint()
Default constructor.
Definition
BmnEcalPoint.cxx:16
BmnEcalPoint::SetCopy
void SetCopy(Short_t i)
Modifiers.
Definition
BmnEcalPoint.h:58
BmnEcalPoint::Print
virtual void Print(const Option_t *opt) const
Output to screen.
Definition
BmnEcalPoint.cxx:67
BmnEcalPoint::SetCopyMother
void SetCopyMother(Short_t i)
Definition
BmnEcalPoint.h:59
BmnEcalPoint::BmnEcalPoint
BmnEcalPoint(const BmnEcalPoint &point)
Copy constructor.
Definition
BmnEcalPoint.h:48
BmnEcalPoint::nCopyMother
Short_t nCopyMother
Definition
BmnEcalPoint.h:66
BmnEcalPoint::GetCopy
Short_t GetCopy() const
Accessors.
Definition
BmnEcalPoint.h:54
BmnEcalPoint::nCopy
Short_t nCopy
Definition
BmnEcalPoint.h:65
BmnEcalPoint::GetCopyMother
Short_t GetCopyMother() const
Definition
BmnEcalPoint.h:55
FairMCPoint
TVector3
std
Definition
json.hpp:4446
detectors
ecal
BmnEcalPoint.h
Generated on
for BmnRoot by
1.17.0