Skip to content

Commit

Permalink
fix: use plain hits collection, use tag name without associations
Browse files Browse the repository at this point in the history
  • Loading branch information
wdconinc committed May 15, 2023
1 parent 4eb8ae5 commit a44f779
Show file tree
Hide file tree
Showing 8 changed files with 43 additions and 43 deletions.
12 changes: 6 additions & 6 deletions src/detectors/BEMC/BEMC.cc
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ extern "C" {
app->Add(new JFactoryGeneratorT<ProtoCluster_factory_EcalBarrelSciGlassProtoClusters>());
app->Add(
new JChainMultifactoryGeneratorT<Cluster_factory_EcalBarrelSciGlassClusters>(
"EcalBarrelSciGlassClustersWithAssociations",
"EcalBarrelSciGlassClusters",
{"EcalBarrelSciGlassProtoClusters", // edm4eic::ProtoClusterCollection
"EcalBarrelSciGlassRawHits"}, // edm4hep::SimCalorimeterHitCollection
"EcalBarrelSciGlassHits"}, // edm4hep::SimCalorimeterHitCollection
{"EcalBarrelSciGlassClusters", // edm4eic::Cluster
"EcalBarrelSciGlassClusterAssociations"}, // edm4eic::MCRecoClusterParticleAssociation
{
Expand All @@ -84,9 +84,9 @@ extern "C" {
app->Add(new JFactoryGeneratorT<ProtoCluster_factory_EcalBarrelScFiProtoClusters>());
app->Add(
new JChainMultifactoryGeneratorT<Cluster_factory_EcalBarrelScFiClusters>(
"EcalBarrelScFiClustersWithAssociations",
"EcalBarrelScFiClusters",
{"EcalBarrelScFiProtoClusters", // edm4eic::ProtoClusterCollection
"EcalBarrelScFiRawHits"}, // edm4hep::SimCalorimeterHitCollection
"EcalBarrelScFiHits"}, // edm4hep::SimCalorimeterHitCollection
{"EcalBarrelScFiClusters", // edm4eic::Cluster
"EcalBarrelScFiClusterAssociations"}, // edm4eic::MCRecoClusterParticleAssociation
{
Expand Down Expand Up @@ -115,9 +115,9 @@ extern "C" {
app->Add(new JFactoryGeneratorT<ProtoCluster_factory_EcalBarrelSciGlassTruthProtoClusters>());
app->Add(
new JChainMultifactoryGeneratorT<Cluster_factory_EcalBarrelSciGlassTruthClusters>(
"EcalBarrelSciGlassTruthClustersWithAssociations",
"EcalBarrelSciGlassTruthClusters",
{"EcalBarrelSciGlassTruthProtoClusters", // edm4eic::ProtoClusterCollection
"EcalBarrelSciGlassTruthRawHits"}, // edm4hep::SimCalorimeterHitCollection
"EcalBarrelSciGlassHits"}, // edm4hep::SimCalorimeterHitCollection
{"EcalBarrelSciGlassTruthClusters", // edm4eic::Cluster
"EcalBarrelSciGlassTruthClusterAssociations"}, // edm4eic::MCRecoClusterParticleAssociation
{
Expand Down
4 changes: 2 additions & 2 deletions src/detectors/BHCAL/BHCAL.cc
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ extern "C" {

app->Add(
new JChainMultifactoryGeneratorT<Cluster_factory_HcalBarrelClusters>(
"HcalBarrelClustersWithAssociations",
"HcalBarrelClusters",
{"HcalBarrelIslandProtoClusters", // edm4eic::ProtoClusterCollection
"HcalBarrelHits"}, // edm4hep::SimCalorimeterHitCollection
{"HcalBarrelClusters", // edm4eic::Cluster
Expand All @@ -62,7 +62,7 @@ extern "C" {

app->Add(
new JChainMultifactoryGeneratorT<Cluster_factory_HcalBarrelTruthClusters>(
"HcalBarrelTruthClustersWithAssociations",
"HcalBarrelTruthClusters",
{"HcalBarrelTruthProtoClusters", // edm4eic::ProtoClusterCollection
"HcalBarrelHits"}, // edm4hep::SimCalorimeterHitCollection
{"HcalBarrelTruthClusters", // edm4eic::Cluster
Expand Down
10 changes: 5 additions & 5 deletions src/detectors/EEMC/EEMC.cc
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ extern "C" {

app->Add(
new JChainMultifactoryGeneratorT<Cluster_factory_EcalEndcapNTruthClusters>(
"EcalEndcapNTruthClustersWithAssociations",
"EcalEndcapNTruthClusters",
{"EcalEndcapNTruthProtoClusters", // edm4eic::ProtoClusterCollection
"EcalEndcapNRawHits"}, // edm4hep::SimCalorimeterHitCollection
"EcalEndcapNHits"}, // edm4hep::SimCalorimeterHitCollection
{"EcalEndcapNTruthClusters", // edm4eic::Cluster
"EcalEndcapNTruthClusterAssociations"}, // edm4eic::MCRecoClusterParticleAssociation
{
Expand All @@ -61,9 +61,9 @@ extern "C" {

app->Add(
new JChainMultifactoryGeneratorT<Cluster_factory_EcalEndcapNClusters>(
"EcalEndcapNClustersWithAssociations",
{"EcalEndcapNProtoClusters", // edm4eic::ProtoClusterCollection
"EcalEndcapNRawHits"}, // edm4hep::SimCalorimeterHitCollection
"EcalEndcapNClusters",
{"EcalEndcapNIslandProtoClusters", // edm4eic::ProtoClusterCollection
"EcalEndcapNHits"}, // edm4hep::SimCalorimeterHitCollection
{"EcalEndcapNClusters", // edm4eic::Cluster
"EcalEndcapNClusterAssociations"}, // edm4eic::MCRecoClusterParticleAssociation
{
Expand Down
8 changes: 4 additions & 4 deletions src/detectors/EHCAL/EHCAL.cc
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ extern "C" {
app->Add(new JFactoryGeneratorT<ProtoCluster_factory_HcalEndcapNIslandProtoClusters>());
app->Add(
new JChainMultifactoryGeneratorT<Cluster_factory_HcalEndcapNTruthClusters>(
"HcalEndcapNTruthClustersWithAssociations",
"HcalEndcapNTruthClusters",
{"HcalEndcapNTruthProtoClusters", // edm4eic::ProtoClusterCollection
"HcalEndcapNRawHits"}, // edm4hep::SimCalorimeterHitCollection
"HcalEndcapNHits"}, // edm4hep::SimCalorimeterHitCollection
{"HcalEndcapNTruthClusters", // edm4eic::Cluster
"HcalEndcapNTruthClusterAssociations"}, // edm4eic::MCRecoClusterParticleAssociation
{
Expand All @@ -63,9 +63,9 @@ extern "C" {

app->Add(
new JChainMultifactoryGeneratorT<Cluster_factory_HcalEndcapNClusters>(
"HcalEndcapNClustersWithAssociations",
"HcalEndcapNClusters",
{"HcalEndcapNIslandProtoClusters", // edm4eic::ProtoClusterCollection
"HcalEndcapNRawHits"}, // edm4hep::SimCalorimeterHitCollection
"HcalEndcapNHits"}, // edm4hep::SimCalorimeterHitCollection
{"HcalEndcapNClusters", // edm4eic::Cluster
"HcalEndcapNClusterAssociations"}, // edm4eic::MCRecoClusterParticleAssociation
{
Expand Down
16 changes: 8 additions & 8 deletions src/detectors/FEMC/FEMC.cc
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ extern "C" {

app->Add(
new JChainMultifactoryGeneratorT<Cluster_factory_EcalEndcapPTruthClusters>(
"EcalEndcapPTruthClustersWithAssociations",
"EcalEndcapPTruthClusters",
{"EcalEndcapPTruthProtoClusters", // edm4eic::ProtoClusterCollection
"EcalEndcapPRawHits"}, // edm4hep::SimCalorimeterHitCollection
"EcalEndcapPHits"}, // edm4hep::SimCalorimeterHitCollection
{"EcalEndcapPTruthClusters", // edm4eic::Cluster
"EcalEndcapPTruthClusterAssociations"}, // edm4eic::MCRecoClusterParticleAssociation
{
Expand All @@ -80,9 +80,9 @@ extern "C" {

app->Add(
new JChainMultifactoryGeneratorT<Cluster_factory_EcalEndcapPClusters>(
"EcalEndcapPClustersWithAssociations",
"EcalEndcapPClusters",
{"EcalEndcapPIslandProtoClusters", // edm4eic::ProtoClusterCollection
"EcalEndcapPRawHits"}, // edm4hep::SimCalorimeterHitCollection
"EcalEndcapPHits"}, // edm4hep::SimCalorimeterHitCollection
{"EcalEndcapPClusters", // edm4eic::Cluster
"EcalEndcapPClusterAssociations"}, // edm4eic::MCRecoClusterParticleAssociation
{
Expand All @@ -104,9 +104,9 @@ extern "C" {

app->Add(
new JChainMultifactoryGeneratorT<Cluster_factory_EcalEndcapPInsertTruthClusters>(
"EcalEndcapPInsertTruthClustersWithAssociations",
"EcalEndcapPInsertTruthClusters",
{"EcalEndcapPInsertTruthProtoClusters", // edm4eic::ProtoClusterCollection
"EcalEndcapPInsertRawHits"}, // edm4hep::SimCalorimeterHitCollection
"EcalEndcapPInsertHits"}, // edm4hep::SimCalorimeterHitCollection
{"EcalEndcapPInsertTruthClusters", // edm4eic::Cluster
"EcalEndcapPInsertTruthClusterAssociations"}, // edm4eic::MCRecoClusterParticleAssociation
{
Expand All @@ -123,9 +123,9 @@ extern "C" {

app->Add(
new JChainMultifactoryGeneratorT<Cluster_factory_EcalEndcapPInsertClusters>(
"EcalEndcapPInsertClustersWithAssociations",
"EcalEndcapPInsertClusters",
{"EcalEndcapPInsertIslandProtoClusters", // edm4eic::ProtoClusterCollection
"EcalEndcapPInsertRawHits"}, // edm4hep::SimCalorimeterHitCollection
"EcalEndcapPInsertHits"}, // edm4hep::SimCalorimeterHitCollection
{"EcalEndcapPInsertClusters", // edm4eic::Cluster
"EcalEndcapPInsertClusterAssociations"}, // edm4eic::MCRecoClusterParticleAssociation
{
Expand Down
24 changes: 12 additions & 12 deletions src/detectors/FHCAL/FHCAL.cc
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ extern "C" {

app->Add(
new JChainMultifactoryGeneratorT<Cluster_factory_HcalEndcapPTruthClusters>(
"HcalEndcapPTruthClustersWithAssociations",
"HcalEndcapPTruthClusters",
{"HcalEndcapPTruthProtoClusters", // edm4eic::ProtoClusterCollection
"HcalEndcapPRawHits"}, // edm4hep::SimCalorimeterHitCollection
"HcalEndcapPHits"}, // edm4hep::SimCalorimeterHitCollection
{"HcalEndcapPTruthClusters", // edm4eic::Cluster
"HcalEndcapPTruthClusterAssociations"}, // edm4eic::MCRecoClusterParticleAssociation
{
Expand All @@ -103,9 +103,9 @@ extern "C" {

app->Add(
new JChainMultifactoryGeneratorT<Cluster_factory_HcalEndcapPClusters>(
"HcalEndcapPClustersWithAssociations",
"HcalEndcapPClusters",
{"HcalEndcapPIslandProtoClusters", // edm4eic::ProtoClusterCollection
"HcalEndcapPRawHits"}, // edm4hep::SimCalorimeterHitCollection
"HcalEndcapPHits"}, // edm4hep::SimCalorimeterHitCollection
{"HcalEndcapPClusters", // edm4eic::Cluster
"HcalEndcapPClusterAssociations"}, // edm4eic::MCRecoClusterParticleAssociation
{
Expand All @@ -128,9 +128,9 @@ extern "C" {

app->Add(
new JChainMultifactoryGeneratorT<Cluster_factory_HcalEndcapPTruthClusters>(
"HcalEndcapPInsertTruthClustersWithAssociations",
"HcalEndcapPInsertTruthClusters",
{"HcalEndcapPInsertTruthProtoClusters", // edm4eic::ProtoClusterCollection
"HcalEndcapPInsertRawHits"}, // edm4hep::SimCalorimeterHitCollection
"HcalEndcapPInsertHits"}, // edm4hep::SimCalorimeterHitCollection
{"HcalEndcapPInsertTruthClusters", // edm4eic::Cluster
"HcalEndcapPInsertTruthClusterAssociations"}, // edm4eic::MCRecoClusterParticleAssociation
{
Expand All @@ -147,9 +147,9 @@ extern "C" {

app->Add(
new JChainMultifactoryGeneratorT<Cluster_factory_HcalEndcapPInsertClusters>(
"HcalEndcapPInsertClustersWithAssociations",
"HcalEndcapPInsertClusters",
{"HcalEndcapPInsertIslandProtoClusters", // edm4eic::ProtoClusterCollection
"HcalEndcapPInsertRawHits"}, // edm4hep::SimCalorimeterHitCollection
"HcalEndcapPInsertHits"}, // edm4hep::SimCalorimeterHitCollection
{"HcalEndcapPInsertClusters", // edm4eic::Cluster
"HcalEndcapPInsertClusterAssociations"}, // edm4eic::MCRecoClusterParticleAssociation
{
Expand All @@ -171,9 +171,9 @@ extern "C" {

app->Add(
new JChainMultifactoryGeneratorT<Cluster_factory_LFHCALTruthClusters>(
"LFHCALTruthClustersWithAssociations",
"LFHCALTruthClusters",
{"LFHCALTruthProtoClusters", // edm4eic::ProtoClusterCollection
"LFHCALRawHits"}, // edm4hep::SimCalorimeterHitCollection
"LFHCALHits"}, // edm4hep::SimCalorimeterHitCollection
{"LFHCALTruthClusters", // edm4eic::Cluster
"LFHCALTruthClusterAssociations"}, // edm4eic::MCRecoClusterParticleAssociation
{
Expand All @@ -190,9 +190,9 @@ extern "C" {

app->Add(
new JChainMultifactoryGeneratorT<Cluster_factory_LFHCALClusters>(
"LFHCALClustersWithAssociations",
"LFHCALClusters",
{"LFHCALIslandProtoClusters", // edm4eic::ProtoClusterCollection
"LFHCALRawHits"}, // edm4hep::SimCalorimeterHitCollection
"LFHCALHits"}, // edm4hep::SimCalorimeterHitCollection
{"LFHCALClusters", // edm4eic::Cluster
"LFHCALClusterAssociations"}, // edm4eic::MCRecoClusterParticleAssociation
{
Expand Down
4 changes: 2 additions & 2 deletions src/detectors/LUMISPECCAL/LUMISPECCAL.cc
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ extern "C" {

app->Add(
new JChainMultifactoryGeneratorT<Cluster_factory_EcalLumiSpecClusters>(
"EcalLumiSpecClustersWithAssociations",
"EcalLumiSpecClusters",
{"EcalLumiSpecIslandProtoClusters", // edm4eic::ProtoClusterCollection
"EcalLumiSpecHits"}, // edm4hep::SimCalorimeterHitCollection
{"EcalLumiSpecClusters", // edm4eic::Cluster
Expand All @@ -61,7 +61,7 @@ extern "C" {

app->Add(
new JChainMultifactoryGeneratorT<Cluster_factory_EcalLumiSpecTruthClusters>(
"EcalLumiSpecTruthClustersWithAssociations",
"EcalLumiSpecTruthClusters",
{"EcalLumiSpecTruthProtoClusters", // edm4eic::ProtoClusterCollection
"EcalLumiSpecHits"}, // edm4hep::SimCalorimeterHitCollection
{"EcalLumiSpecTruthClusters", // edm4eic::Cluster
Expand Down
8 changes: 4 additions & 4 deletions src/detectors/ZDC/ZDC.cc
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ extern "C" {

app->Add(
new JChainMultifactoryGeneratorT<Cluster_factory_ZDCEcalTruthClusters>(
"ZDCEcalTruthClustersWithAssociations",
"ZDCEcalTruthClusters",
{"ZDCEcalTruthProtoClusters", // edm4eic::ProtoClusterCollection
"ZDCEcalRawHits"}, // edm4hep::SimCalorimeterHitCollection
"ZDCEcalHits"}, // edm4hep::SimCalorimeterHitCollection
{"ZDCEcalTruthClusters", // edm4eic::Cluster
"ZDCEcalTruthClusterAssociations"}, // edm4eic::MCRecoClusterParticleAssociation
{
Expand All @@ -62,9 +62,9 @@ extern "C" {

app->Add(
new JChainMultifactoryGeneratorT<Cluster_factory_ZDCEcalClusters>(
"ZDCEcalClustersWithAssociations",
"ZDCEcalClusters",
{"ZDCEcalIslandProtoClusters", // edm4eic::ProtoClusterCollection
"ZDCEcalRawHits"}, // edm4hep::SimCalorimeterHitCollection
"ZDCEcalHits"}, // edm4hep::SimCalorimeterHitCollection
{"ZDCEcalClusters", // edm4eic::Cluster
"ZDCEcalClusterAssociations"}, // edm4eic::MCRecoClusterParticleAssociation
{
Expand Down

0 comments on commit a44f779

Please sign in to comment.