BmnRoot
26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Toggle main menu visibility
Loading...
Searching...
No Matches
CbmTofPoint.h
Go to the documentation of this file.
1
// -------------------------------------------------------------------------
2
// ----- CbmTofPoint header file -----
3
// ----- Created 28/07/04 by V. Friese -----
4
// -------------------------------------------------------------------------
5
// modified 23/10/2012 nh
6
//
7
/** CbmTofPoint.h
8
*@author V. Friese
9
**
10
** Interception of MC track with a TOF detector.
11
**/
12
13
#ifndef CBMTOFPOINT_H
14
#define CBMTOFPOINT_H 1
15
16
#include "FairMCPoint.h"
17
18
class
TVector3
;
19
20
class
CbmTofPoint
:
public
FairMCPoint
21
{
22
23
public
:
24
/** Default constructor **/
25
CbmTofPoint
();
26
27
/** Constructor with arguments
28
*@param trackID Index of MCTrack
29
*@param detID Detector ID
30
*@param pos Ccoordinates at entrance to active volume [cm]
31
*@param mom Momentum of track at entrance [GeV]
32
*@param tof Time since event start [ns]
33
*@param length Track length since creation [cm]
34
*@param eLoss Energy deposit [GeV]
35
**/
36
CbmTofPoint
(
Int_t
trackID,
Int_t
detID,
TVector3
pos,
TVector3
mom,
Double_t
tof,
Double_t
length,
Double_t
eLoss);
37
38
/** Copy constructor **/
39
CbmTofPoint
(
const
CbmTofPoint
& point) { *
this
= point; };
40
41
/** Destructor **/
42
virtual
~CbmTofPoint
();
43
44
/** Output to screen **/
45
virtual
void
Print
(
const
Option_t
* opt)
const
;
46
47
ClassDef
(
CbmTofPoint
, 2)
48
};
49
50
#endif
Int_t
int Int_t
Double_t
double Double_t
Option_t
const char Option_t
ClassDef
#define ClassDef(name, id)
CbmTofPoint
Definition
CbmTofPoint.h:21
CbmTofPoint::Print
virtual void Print(const Option_t *opt) const
Output to screen.
CbmTofPoint::CbmTofPoint
CbmTofPoint()
Default constructor.
CbmTofPoint::CbmTofPoint
CbmTofPoint(Int_t trackID, Int_t detID, TVector3 pos, TVector3 mom, Double_t tof, Double_t length, Double_t eLoss)
Constructor with arguments.
CbmTofPoint::~CbmTofPoint
virtual ~CbmTofPoint()
Destructor.
CbmTofPoint::CbmTofPoint
CbmTofPoint(const CbmTofPoint &point)
Copy constructor.
Definition
CbmTofPoint.h:39
FairMCPoint
TVector3
install
include
CbmTofPoint.h
Generated on
for BmnRoot by
1.17.0