Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
hcana
Manage
Activity
Members
Labels
Plan
Issues
6
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
jlab
hallc
analyzer_software
hcana
Commits
a9c8ecde
Commit
a9c8ecde
authored
6 years ago
by
Whitney Armstrong
Browse files
Options
Downloads
Patches
Plain Diff
modified: ../src/THcHitList.cxx
parent
13ac3c02
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/THcHitList.cxx
+3
-2
3 additions, 2 deletions
src/THcHitList.cxx
with
3 additions
and
2 deletions
src/THcHitList.cxx
+
3
−
2
View file @
a9c8ecde
...
@@ -60,8 +60,8 @@ a method to ask the OO decoder what kind of module is in a given slot?
...
@@ -60,8 +60,8 @@ a method to ask the OO decoder what kind of module is in a given slot?
void
THcHitList
::
InitHitList
(
THaDetMap
*
detmap
,
void
THcHitList
::
InitHitList
(
THaDetMap
*
detmap
,
const
char
*
hitclass
,
Int_t
maxhits
,
const
char
*
hitclass
,
Int_t
maxhits
,
Int_t
tdcref_cut
,
Int_t
adcref_cut
)
{
Int_t
tdcref_cut
,
Int_t
adcref_cut
)
{
_hit_logger
->
set_level
(
spdlog
::
level
::
debug
);
_hit_logger
->
info
(
"InitHitList: {} RefTimeCuts: {} {}"
,
hitclass
,
tdcref_cut
,
adcref_cut
);
_hit_logger
->
info
(
"InitHitList: {} RefTimeCuts: {} {}"
,
hitclass
,
tdcref_cut
,
adcref_cut
);
//cout << "InitHitList: " << hitclass << " RefTimeCuts: " << tdcref_cut << " " << adcref_cut << endl;
//cout << "InitHitList: " << hitclass << " RefTimeCuts: " << tdcref_cut << " " << adcref_cut << endl;
fRawHitList
=
new
TClonesArray
(
hitclass
,
maxhits
);
fRawHitList
=
new
TClonesArray
(
hitclass
,
maxhits
);
...
@@ -433,6 +433,7 @@ Int_t THcHitList::DecodeToHitList( const THaEvData& evdata, Bool_t suppresswarni
...
@@ -433,6 +433,7 @@ Int_t THcHitList::DecodeToHitList( const THaEvData& evdata, Bool_t suppresswarni
timeshift
=
fTrigTimeShiftMap
[
d
->
slot
];
timeshift
=
fTrigTimeShiftMap
[
d
->
slot
];
}
}
for
(
Int_t
ipulse
=
0
;
ipulse
<
npulses
;
ipulse
++
)
{
for
(
Int_t
ipulse
=
0
;
ipulse
<
npulses
;
ipulse
++
)
{
//_hit_logger->debug("event {} : ROC {} slot {} channel {}", evdata.GetEvNum() , d->crate, d->slot, chan);
rawhit
->
SetDataTimePedestalPeak
(
signal
,
rawhit
->
SetDataTimePedestalPeak
(
signal
,
evdata
.
GetData
(
Decoder
::
kPulseIntegral
,
d
->
crate
,
d
->
slot
,
chan
,
ipulse
),
evdata
.
GetData
(
Decoder
::
kPulseIntegral
,
d
->
crate
,
d
->
slot
,
chan
,
ipulse
),
evdata
.
GetData
(
Decoder
::
kPulseTime
,
d
->
crate
,
d
->
slot
,
chan
,
ipulse
)
+
64
*
timeshift
,
evdata
.
GetData
(
Decoder
::
kPulseTime
,
d
->
crate
,
d
->
slot
,
chan
,
ipulse
)
+
64
*
timeshift
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment