BmnRoot 26.10.0-19-g6979a6c6
Software framework of the BM@N experiment
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
15using namespace std;
16
18{
19
20 public:
21 /** Default constructor **/
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; };
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
69};
70
71#endif
int i
Definition P4_F32vec4.h:22
int Int_t
short Short_t
double Double_t
const char Option_t
#define ClassDef(name, id)
virtual ~BmnEcalPoint()
Destructor.
BmnEcalPoint()
Default constructor.
void SetCopy(Short_t i)
Modifiers.
virtual void Print(const Option_t *opt) const
Output to screen.
void SetCopyMother(Short_t i)
BmnEcalPoint(const BmnEcalPoint &point)
Copy constructor.
Short_t nCopyMother
Short_t GetCopy() const
Accessors.
Short_t nCopy
Short_t GetCopyMother() const