From f874d469903dfc81d472422163479fff5e924999 Mon Sep 17 00:00:00 2001 From: echenard Date: Wed, 16 Mar 2022 14:08:46 -0700 Subject: [PATCH] Remove time cut for calo cluster --- CaloCluster/fcl/prolog.fcl | 1 - CaloCluster/src/CaloProtoClusterMaker_module.cc | 5 +---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/CaloCluster/fcl/prolog.fcl b/CaloCluster/fcl/prolog.fcl index 47f675ccf8..ab6419d617 100644 --- a/CaloCluster/fcl/prolog.fcl +++ b/CaloCluster/fcl/prolog.fcl @@ -14,7 +14,6 @@ CaloProtoClusterMaker : ExpandCut : 1.0 EnoiseCut : 1.0 addSecondRing : false - timeCut : 500 deltaTime : 2 diagLevel : 0 } diff --git a/CaloCluster/src/CaloProtoClusterMaker_module.cc b/CaloCluster/src/CaloProtoClusterMaker_module.cc index 88c621d4dc..544ce061d7 100644 --- a/CaloCluster/src/CaloProtoClusterMaker_module.cc +++ b/CaloCluster/src/CaloProtoClusterMaker_module.cc @@ -53,7 +53,6 @@ namespace mu2e { fhicl::Atom EnoiseCut { Name("EnoiseCut"), Comment("Minimum energy for a hit to be in a cluster") }; fhicl::Atom ExpandCut { Name("ExpandCut"), Comment("Minimum energy for a hit to expand cluster") }; fhicl::Atom addSecondRing { Name("addSecondRing"), Comment("Add secondary ring around crystal when forming clusters") }; - fhicl::Atom timeCut { Name("timeCut"), Comment("Minimum hit time to form cluster") }; fhicl::Atom deltaTime { Name("deltaTime"), Comment("Maximum time difference between seed and hit in cluster") }; fhicl::Atom diagLevel { Name("diagLevel"), Comment("Diag level"),0 }; }; @@ -65,7 +64,6 @@ namespace mu2e { EnoiseCut_ (config().EnoiseCut()), ExpandCut_ (config().ExpandCut()), addSecondRing_ (config().addSecondRing()), - timeCut_ (config().timeCut()), deltaTime_ (config().deltaTime()), diagLevel_ (config().diagLevel()) { @@ -81,7 +79,6 @@ namespace mu2e { double EnoiseCut_; double ExpandCut_; bool addSecondRing_; - double timeCut_; double deltaTime_; int diagLevel_; @@ -123,7 +120,7 @@ namespace mu2e { //fill data structures for (const auto& hit : CaloHits) { - if (hit.energyDep() < EnoiseCut_ || hit.time() < timeCut_) continue; + if (hit.energyDep() < EnoiseCut_) continue; caloIdHitMap[hit.crystalID()].push_back(&hit); if (hit.energyDep() > EminSeed_ ) seedList.insert(&hit); }