BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
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
18class TVector3;
19
20class CbmTofPoint : public FairMCPoint
21{
22
23 public:
24 /** Default constructor **/
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
48};
49
50#endif
int Int_t
double Double_t
const char Option_t
#define ClassDef(name, id)
virtual void Print(const Option_t *opt) const
Output to screen.
CbmTofPoint()
Default constructor.
CbmTofPoint(Int_t trackID, Int_t detID, TVector3 pos, TVector3 mom, Double_t tof, Double_t length, Double_t eLoss)
Constructor with arguments.
virtual ~CbmTofPoint()
Destructor.
CbmTofPoint(const CbmTofPoint &point)
Copy constructor.
Definition CbmTofPoint.h:39