Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
EIC
Project Juggler
Commits
a803b500
Commit
a803b500
authored
Sep 28, 2020
by
Chao Peng
Browse files
change a name...
parent
9a0dd1eb
Changes
3
Hide whitespace changes
Inline
Side-by-side
JugDigi/src/components/CrystalEndcapsDigi.cpp
View file @
a803b500
...
...
@@ -52,9 +52,9 @@ namespace Jug {
auto
rawhits
=
m_outputHitCollection
.
createAndPut
();
eic
::
RawCalorimeterHitCollection
*
rawHitCollection
=
new
eic
::
RawCalorimeterHitCollection
();
for
(
const
auto
&
ahit
:
*
simhits
)
{
eic
::
RawCalorimeterHit
rawhit
(
eic
::
RawCalorimeterHit
rawhit
(
(
long
long
)
ahit
.
cellID
(),
(
long
long
)
(
ahit
.
energyDeposit
()
+
m_gaussDist
*
sqrt
(
ahit
.
energyDeposit
()))
/
Gaudi
::
Units
::
MeV
*
100.0
,
(
long
long
)
(
ahit
.
energyDeposit
()
+
m_gaussDist
*
sqrt
(
ahit
.
energyDeposit
()))
/
Gaudi
::
Units
::
MeV
*
100.0
,
(
double
)
ahit
.
truth
().
time
/
Gaudi
::
Units
::
ns
);
rawhits
->
push_back
(
rawhit
);
}
...
...
JugReco/src/components/CalorimeterIslandCluster.cpp
View file @
a803b500
...
...
@@ -68,7 +68,7 @@ public:
const
auto
&
hits
=
*
m_inputHitCollection
.
get
();
// Create output collections
auto
&
clusters
=
*
m_outputClusterCollection
.
createAndPut
();
auto
&
shits
=
*
m_splitHitCollection
.
createAndPut
();
auto
&
s
plit_
hits
=
*
m_splitHitCollection
.
createAndPut
();
// group neighboring hits
std
::
vector
<
bool
>
visits
(
hits
.
size
(),
false
);
...
...
@@ -87,7 +87,7 @@ public:
for
(
auto
&
group
:
groups
)
{
auto
maxima
=
find_local_maxima
(
group
);
split_group
(
group
,
maxima
,
clusters
,
shits
);
split_group
(
group
,
maxima
,
clusters
,
s
plit_
hits
);
// info() << "hits in a group: " << group.hits_size() << ", "
// << "local maxima: " << maxima.hits_size() << endmsg;
}
...
...
JugReco/src/components/ClusterRecoCoG.cpp
View file @
a803b500
...
...
@@ -61,7 +61,7 @@ public:
StatusCode
execute
()
override
{
// input collections
auto
&
clusters
=
*
m_clusterCollection
.
get
();
auto
&
clusters
=
*
m_clusterCollection
.
get
();
// reconstruct hit position for the cluster
for
(
auto
&
cl
:
clusters
)
{
reconstruct
(
cl
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment