EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
EIC Software
Deprecated List
Modules
Namespaces
Classes
Files
File List
acts
BeastMagneticField
delphes_EIC
Doxygen_Assist
east
eic-smear
EicRoot
blob
master
base
cbmbase
cbmdata
dbase
eic
eventdisplay
examples
fairtools
field
gconfig
geane
genfit
GenfitTools
geobase
geometry
input
littrack
parbase
passive
pCDR-2018
pid
pnddata
PidData
TrackData
PndTrack.cxx
PndTrack.h
PndTrackCand.cxx
PndTrackCand.h
PndTrackCandHit.cxx
PndTrackCandHit.h
PndTrackID.cxx
PndTrackID.h
PndVertex.cxx
PndVertex.h
FairRecoCandidate.cxx
FairRecoCandidate.h
PndDataLinkDef.h
PndDetectorList.h
PndMCTrack.cxx
PndMCTrack.h
PndStack.cxx
PndStack.h
PndTools
rich
trackbase
eicsmear-jetexample
eicsmeardetectors
EicToyModel
estarlight
Fun4All-lmon
fun4all_coresoftware
fun4all_eic_qa
fun4all_eic_tutorials
fun4all_eicdetectors
fun4all_eicmacros
fun4all_g4jleic
fun4all_GenFit
fun4all_macros
fun4all_tutorials
g4exampledetector
g4lblvtx
online_distribution
PEPSI
doxygen_mainpage.h
File Members
External Links
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
PndTrackCandHit.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PndTrackCandHit.h
1
//-----------------------------------------------------------
2
// File and Version Information:
3
// $Id$
4
//
5
// Description:
6
// Implementation of class PndTrackCand
7
// see PndTrackCand.hh for details
8
//
9
// Environment:
10
// Software developed for the PANDA Detector at FAIR.
11
//
12
// Author List:
13
// Tobias Stockmanns (IKP - Juelich) during the Panda Meeting 03/09
14
//
15
//
16
//-----------------------------------------------------------
17
18
#ifndef PNDTRACKCANDHIT_HH
19
#define PNDTRACKCANDHIT_HH
20
21
// Root Class Headers ----------------
22
#include "TObject.h"
23
24
#include "
FairLink.h
"
25
26
#include <iostream>
27
#include <vector>
28
#include <map>
29
30
class
PndTrackCandHit
:
public
FairLink
{
31
public
:
32
PndTrackCandHit
():
FairLink
(),
fRho
(0){}
33
PndTrackCandHit
(Int_t detId, Int_t hitId, Double_t rho):
FairLink
(detId, hitId),
fRho
(rho){}
34
~PndTrackCandHit
() {}
35
bool
operator<
(
const
PndTrackCandHit
& rhs)
const
36
{
return
fRho
<rhs.
fRho
;};
37
bool
operator>
(
const
PndTrackCandHit
& rhs)
const
38
{
return
fRho
>rhs.
fRho
;};
39
bool
operator<=
(
const
PndTrackCandHit
& rhs)
const
40
{
return
fRho
<=rhs.
fRho
;};
41
bool
operator>=
(
const
PndTrackCandHit
& rhs)
const
42
{
return
fRho
>=rhs.
fRho
;};
43
bool
operator==
(
const
PndTrackCandHit
& hit)
const
{
44
return
( FairLink::operator==((
FairLink
)hit) &&
fRho
== hit.fRho);
45
}
46
bool
operator!=
(
const
PndTrackCandHit
& hit)
const
{
47
return
(!(FairLink::operator==(hit)));
48
}
49
Int_t
GetHitId
()
const
{
return
GetIndex
();}
50
Int_t
GetDetId
()
const
{
return
GetType
();}
51
Double_t
GetRho
()
const
{
return
fRho
;}
52
53
void
Print
();
54
55
private
:
56
Double_t
fRho
;
57
58
ClassDef
(
PndTrackCandHit
,2);
59
};
60
61
62
63
#endif
64
65
//--------------------------------------------------------------
66
// $Log$
67
//--------------------------------------------------------------
EicRoot
blob
master
pnddata
TrackData
PndTrackCandHit.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:37
using
1.8.2 with
EIC GitHub integration