PandaRoot
PndRichHit.h
Go to the documentation of this file.
1
//****************************************************************************
2
//* This file is part of PandaRoot. *
3
//* *
4
//* PandaRoot is distributed under the terms of the *
5
//* GNU General Public License (GPL) version 3, *
6
//* copied verbatim in the file "LICENSE". *
7
//* *
8
//* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9
//* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10
//* The authors are listed in the file "AUTHORS". *
11
//****************************************************************************
12
13
// -------------------------------------------------------------------------
14
// ----- PndRichHit header file -----
15
// ----- Created 11/10/06 by Annalisa Cecchi -----
16
// ----- -----
17
// -------------------------------------------------------------------------
18
19
#ifndef PNDRICHHIT_H
20
#define PNDRICHHIT_H
21
22
#include "FairHit.h"
23
24
class
PndRichHit
:
public
FairHit {
25
26
public
:
28
PndRichHit
();
29
30
PndRichHit
(Int_t detID, Int_t sensorId, TVector3 &pos, TVector3 &dpos, Double_t thetaC, Double_t errThetaC, Int_t index);
31
33
// PndRichHit(const PndRichHit& hit) { *this = hit; }; // not needed
34
36
virtual
~PndRichHit
();
37
39
virtual
void
Print
(
const
Option_t *opt =
""
)
const
;
40
44
virtual
Double_t
GetThetaC
() {
return
fThetaC
; }
45
virtual
Double_t
GetErrThetaC
() {
return
fErrThetaC
; }
46
virtual
Int_t
GetRefIndex
() {
return
fRefIndex; }
47
Int_t
GetSensorId
() {
return
fSensorId
; }
48
49
TVector3
GetPosition
()
const
{
return
TVector3(fX, fY, fZ); }
50
51
protected
:
52
Int_t
fSensorId
;
53
Double_t
fThetaC
,
fErrThetaC
;
54
55
ClassDef(
PndRichHit
, 1)
56
};
57
58
#endif // PNDRICHHIT_H
PndRichHit::GetRefIndex
virtual Int_t GetRefIndex()
Definition:
PndRichHit.h:46
PndRichHit::fErrThetaC
Double_t fErrThetaC
Definition:
PndRichHit.h:53
PndRichHit::GetErrThetaC
virtual Double_t GetErrThetaC()
Definition:
PndRichHit.h:45
PndRichHit::GetThetaC
virtual Double_t GetThetaC()
Definition:
PndRichHit.h:44
PndRichHit::~PndRichHit
virtual ~PndRichHit()
PndRichHit::GetSensorId
Int_t GetSensorId()
Definition:
PndRichHit.h:47
PndRichHit::fSensorId
Int_t fSensorId
Definition:
PndRichHit.h:52
PndRichHit::PndRichHit
PndRichHit()
PndRichHit::fThetaC
Double_t fThetaC
Definition:
PndRichHit.h:53
PndRichHit
Definition:
PndRichHit.h:24
PndRichHit::Print
virtual void Print(const Option_t *opt="") const
PndRichHit::GetPosition
TVector3 GetPosition() const
Definition:
PndRichHit.h:49
home
gitlab-runner
builds
Vxspf1vo
0
PandaRootGroup
PandaRoot
pnddata
RichData
PndRichHit.h
Generated on Fri Nov 22 2024 06:04:44 for PandaRoot by
1.8.13