PandaRoot
PndDrcHit.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
// ----- PndDrcHit header file -----
15
// ----- Created 11/10/06 by Annalisa Cecchi -----
16
// ----- -----
17
// -------------------------------------------------------------------------
18
19
#ifndef PNDDRCHIT_H
20
#define PNDDRCHIT_H
21
22
#include "FairHit.h"
23
24
class
PndDrcHit
:
public
FairHit {
25
26
public
:
28
PndDrcHit
();
29
30
PndDrcHit
(Int_t detID, Int_t sensorId, TVector3 &pos, TVector3 &dpos, Double_t thetaC, Double_t errThetaC, Int_t index);
31
33
// PndDrcHit(const PndDrcHit& hit) { *this = hit; }; // not needed
34
36
virtual
~PndDrcHit
();
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(
PndDrcHit
, 1)
56
};
57
58
#endif // PNDDRCHIT_H
PndDrcHit::GetPosition
TVector3 GetPosition() const
Definition:
PndDrcHit.h:49
PndDrcHit::PndDrcHit
PndDrcHit()
PndDrcHit
Definition:
PndDrcHit.h:24
PndDrcHit::~PndDrcHit
virtual ~PndDrcHit()
PndDrcHit::fThetaC
Double_t fThetaC
Definition:
PndDrcHit.h:53
PndDrcHit::fErrThetaC
Double_t fErrThetaC
Definition:
PndDrcHit.h:53
PndDrcHit::Print
virtual void Print(const Option_t *opt="") const
PndDrcHit::GetErrThetaC
virtual Double_t GetErrThetaC()
Definition:
PndDrcHit.h:45
PndDrcHit::fSensorId
Int_t fSensorId
Definition:
PndDrcHit.h:52
PndDrcHit::GetSensorId
Int_t GetSensorId()
Definition:
PndDrcHit.h:47
PndDrcHit::GetRefIndex
virtual Int_t GetRefIndex()
Definition:
PndDrcHit.h:46
PndDrcHit::GetThetaC
virtual Double_t GetThetaC()
Definition:
PndDrcHit.h:44
home
gitlab-runner
builds
Vxspf1vo
0
PandaRootGroup
PandaRoot
pnddata
DrcData
PndDrcHit.h
Generated on Fri Nov 29 2024 06:04:40 for PandaRoot by
1.8.13