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
RawHitTpc.cc
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file RawHitTpc.cc
1
#include "
RawHitTpc.h
"
2
#include <climits>
3
4
RawHitTpc::RawHitTpc
()
5
{
6
}
7
8
void
RawHitTpc::setAdc
(
const
unsigned
int
adc)
9
{
10
if
(adc > USHRT_MAX)
11
m_adc
= USHRT_MAX;
12
else
13
m_adc
= (
unsigned
short) adc;
14
}
15
16
unsigned
int
RawHitTpc::getAdc
() {
17
return
(
unsigned
int
)
m_adc
;
18
}
19
20
void
RawHitTpc::setPhiBin
(
const
unsigned
int
phibin) {
21
std::cout <<
"TPC RAW HIT HAS NO PHIBIN "
<< phibin << std::endl;
22
}
23
unsigned
int
RawHitTpc::getPhiBin
() { std::cout <<
"TPC RAW HIT HAS NO PHIBIN"
<< std::endl;
return
0;}
24
25
void
RawHitTpc::setTBin
(
const
unsigned
int
tbin) {
26
m_tbin
= tbin;
27
}
28
unsigned
int
RawHitTpc::getTBin
() {
return
m_tbin
;}
coresoftware
blob
master
offline
packages
trackbase
RawHitTpc.cc
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:09
using
1.8.2 with
sPHENIX GitHub integration