Skip to content

Commit a92205a

Browse files
authored
adding charge sharing for ECTOF
I am taking dummy numbers for sigma_x and sigma_y for time being later these can be changed.
1 parent fc9120b commit a92205a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/detectors/ECTOF/ECTOF.cc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,16 @@ void InitPlugin(JApplication* app) {
3535
.timeResolution = 0.025,
3636
},
3737
app));
38+
39+
40+
app->Add(new JOmniFactoryGeneratorT<SiliconChargeSharing_factory>(
41+
"TOFEndcapSharedHits", {"TOFEndcapHits"}, {"TOFEndcapSharedHits"},
42+
{
43+
.sigma_sharingx = 0.1 * dd4hep::cm,
44+
.sigma_sharingy = 0.5 * dd4hep::cm,
45+
.min_edep = 0.0 * edm4eic::unit::GeV,
46+
.readout = "TOFEndcapHits",
47+
},
48+
app));
3849
}
3950
} // extern "C"

0 commit comments

Comments
 (0)