Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
TrkrHit.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file TrkrHit.h
1
7
#ifndef TRACKBASE_TRKRHIT_H
8
#define TRACKBASE_TRKRHIT_H
9
10
#include "
TrkrDefs.h
"
11
12
#include <
phool/PHObject.h
>
13
14
#include <climits>
15
#include <cmath>
16
#include <iostream>
17
25
class
TrkrHit
:
public
PHObject
26
{
27
public
:
28
30
~TrkrHit
()
override
{}
31
// PHObject virtual overloads
32
void
identify
(std::ostream&
os
= std::cout)
const override
33
{
34
os
<<
"TrkrHit base class"
<< std::endl;
35
}
36
void
Reset
()
override
{}
37
int
isValid
()
const override
{
return
0; }
38
39
// these set and get the energy before digitization
40
virtual
void
addEnergy
(
const
double
){}
41
virtual
double
getEnergy
() {
return
0;}
42
43
// after digitization, these are the adc values
44
virtual
void
setAdc
(
const
unsigned
int
) {}
45
virtual
unsigned
int
getAdc
() {
return
0;}
46
/*
47
virtual void setCrossing(const short int) {}
48
virtual short int getCrossing() { return 0;}
49
*/
50
51
protected
:
52
53
ClassDefOverride
(
TrkrHit
, 1);
54
};
55
56
#endif //TRACKBASE_TRKRHIT_H
coresoftware
blob
master
offline
packages
trackbase
TrkrHit.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:09
using
1.8.2 with
sPHENIX GitHub integration