BmnRoot
26.10.0-19-g6979a6c6
Software framework of the BM@N experiment
Toggle main menu visibility
Loading...
Searching...
No Matches
CbmMvdHit.h
Go to the documentation of this file.
1
// -------------------------------------------------------------------------
2
// ----- CbmMvdHit header file -----
3
// ----- Created 07/11/06 by V. Friese -----
4
// -------------------------------------------------------------------------
5
6
/** CbmMvdHit.h
7
*@author V.Friese <v.friese@gsi.de>
8
**
9
** Data class for hits in the CBM-MVD.
10
** Data level RAW.
11
** Original source (CbmStsMapsHit) by M. Deveaux.
12
**
13
** Hit flag not used up to now (will come later with real hit finding).
14
**/
15
16
#ifndef CBMMVDHIT_H
17
#define CBMMVDHIT_H 1
18
19
#include "
CbmHit.h
"
20
#include "
CbmMvdDetectorId.h
"
21
#include "
TVector3.h
"
22
23
class
CbmMvdHit
24
:
public
CbmHit
25
,
public
CbmMvdDetectorId
26
{
27
28
public
:
29
/** Default constructor **/
30
CbmMvdHit
();
31
32
/** Standard constructor
33
*@param statNr Station number
34
*@param pos Position coordinates [cm]
35
*@param dpos Errors in position coordinates [cm]
36
*@param flag Hit flag
37
**/
38
CbmMvdHit
(
Int_t
statNr,
TVector3
& pos,
TVector3
& dpos,
Int_t
flag);
39
40
/** Destructor **/
41
virtual
~CbmMvdHit
();
42
43
/** Output to screen **/
44
virtual
void
Print
(
const
Option_t
* opt = 0)
const
;
45
46
/** Accessors **/
47
Int_t
GetSystemId
()
const
{
return
SystemId
(fDetectorID); }
48
virtual
Int_t
GetStationNr
()
const
{
return
StationNr
(fDetectorID); }
49
Int_t
GetFlag
()
const
{
return
fFlag
; };
50
51
protected
:
52
Int_t
fFlag
;
// Hit flag; to be used later
53
54
ClassDef
(
CbmMvdHit
, 1);
55
};
56
57
#endif
CbmHit.h
CbmMvdDetectorId.h
Int_t
int Int_t
Option_t
const char Option_t
ClassDef
#define ClassDef(name, id)
TVector3.h
CbmHit::CbmHit
CbmHit()
Default constructor.
Definition
CbmHit.cxx:12
CbmMvdDetectorId::StationNr
Int_t StationNr(Int_t detectorId) const
Get station number from detector ID.
Definition
CbmMvdDetectorId.h:48
CbmMvdDetectorId::CbmMvdDetectorId
CbmMvdDetectorId()
Constructor.
Definition
CbmMvdDetectorId.cxx:7
CbmMvdDetectorId::SystemId
Int_t SystemId(Int_t detectorId) const
Get System identifier from detector ID.
Definition
CbmMvdDetectorId.h:36
CbmMvdHit::GetSystemId
Int_t GetSystemId() const
Accessors.
Definition
CbmMvdHit.h:47
CbmMvdHit::Print
virtual void Print(const Option_t *opt=0) const
Output to screen.
Definition
CbmMvdHit.cxx:37
CbmMvdHit::GetStationNr
virtual Int_t GetStationNr() const
Definition
CbmMvdHit.h:48
CbmMvdHit::GetFlag
Int_t GetFlag() const
Definition
CbmMvdHit.h:49
CbmMvdHit::~CbmMvdHit
virtual ~CbmMvdHit()
Destructor.
Definition
CbmMvdHit.cxx:33
CbmMvdHit::fFlag
Int_t fFlag
Definition
CbmMvdHit.h:52
CbmMvdHit::CbmMvdHit
CbmMvdHit()
Default constructor.
Definition
CbmMvdHit.cxx:15
TVector3
base
cbm
CbmMvdHit.h
Generated on
for BmnRoot by
1.17.0