|
|
#include <Multi5x5ClusterProducer.h>
Definition at line 27 of file Multi5x5ClusterProducer.h.
◆ Multi5x5ClusterProducer()
Definition at line 35 of file Multi5x5ClusterProducer.cc.
53 double barrelSeedThreshold = ps.
getParameter<
double>(
"IslandBarrelSeedThr");
54 double endcapSeedThreshold = ps.
getParameter<
double>(
"IslandEndcapSeedThr");
56 const std::vector<std::string> flagnames = ps.
getParameter<std::vector<std::string> >(
"RecHitFlagToBeExcluded");
58 const std::vector<int> v_chstatus = StringToEnumValue<EcalRecHit::Flags>(flagnames);
69 if (ps.
exists(
"reassignSeedCrysToClusterItSeeds"))
References barrelClusterCollection_, barrelHitToken_, caloGeometryToken_, doBarrel_, doEndcap_, endcapClusterCollection_, endcapHitToken_, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), island_p, nEvt_, MonitorAlCaEcalPi0_cfi::posCalcParameters, posCalculator_, multi5x5BasicClusters_cfi::reassignSeedCrysToClusterItSeeds, and AlCaHLTBitMon_QueryRunRegistry::string.
◆ ~Multi5x5ClusterProducer()
Multi5x5ClusterProducer::~Multi5x5ClusterProducer |
( |
| ) |
|
|
override |
◆ clusterizeECALPart()
Definition at line 98 of file Multi5x5ClusterProducer.cc.
110 std::unique_ptr<CaloSubdetectorTopology> topology_p;
114 topology_p = std::make_unique<EcalBarrelTopology>(*geoHandle);
117 topology_p = std::make_unique<EcalEndcapTopology>(*geoHandle);
128 auto clusters_p = std::make_unique<reco::BasicClusterCollection>();
References barrelClusterCollection_, caloGeometryToken_, bsc_activity_cfg::clusters, reco::CaloID::DET_ECAL_BARREL, hgcalTestNeighbor_cfi::detector, DetId::Ecal, EcalBarrel, EcalEndcap, EcalPreshower, endcapClusterCollection_, getCollection(), edm::EventSetup::getHandle(), CaloGeometry::getSubdetectorGeometry(), island_p, Multi5x5ClusterAlgo::makeClusters(), eostools::move(), edm::Event::put(), and unpackBuffers-CaloStage2::token.
Referenced by produce().
◆ counterExceeded()
bool Multi5x5ClusterProducer::counterExceeded |
( |
| ) |
const |
|
inlineprivate |
◆ getCollection()
◆ outputValidationInfo()
◆ produce()
◆ barrelClusterCollection_
std::string Multi5x5ClusterProducer::barrelClusterCollection_ |
|
private |
◆ barrelHitToken_
◆ caloGeometryToken_
◆ doBarrel_
bool Multi5x5ClusterProducer::doBarrel_ |
|
private |
◆ doEndcap_
bool Multi5x5ClusterProducer::doEndcap_ |
|
private |
◆ endcapClusterCollection_
std::string Multi5x5ClusterProducer::endcapClusterCollection_ |
|
private |
◆ endcapHitToken_
◆ island_p
◆ nEvt_
int Multi5x5ClusterProducer::nEvt_ |
|
private |
◆ nMaxPrintout_
int Multi5x5ClusterProducer::nMaxPrintout_ |
|
private |
◆ posCalculator_
T const * product() const
edm::EDGetTokenT< EcalRecHitCollection > barrelHitToken_
std::string barrelClusterCollection_
const CaloSubdetectorGeometry * getSubdetectorGeometry(const DetId &id) const
access the subdetector geometry for the given subdetector directly
edm::EDGetTokenT< EcalRecHitCollection > endcapHitToken_
Multi5x5ClusterAlgo * island_p
std::vector< reco::BasicCluster > makeClusters(const EcalRecHitCollection *hits, const CaloSubdetectorGeometry *geometry, const CaloSubdetectorTopology *topology_p, const CaloSubdetectorGeometry *geometryES_p, reco::CaloID::Detectors detector, bool regional=false, const std::vector< RectangularEtaPhiRegion > ®ions=std::vector< RectangularEtaPhiRegion >())
bool getByToken(EDGetToken token, Handle< PROD > &result) const
std::vector< BasicCluster > BasicClusterCollection
collection of BasicCluster objects
reassignSeedCrysToClusterItSeeds
bool exists(std::string const ¶meterName) const
checks if a parameter exists
std::string endcapClusterCollection_
const EcalRecHitCollection * getCollection(edm::Event &evt, const edm::EDGetTokenT< EcalRecHitCollection > &token)
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > caloGeometryToken_
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
PositionCalc posCalculator_
T getParameter(std::string const &) const
void clusterizeECALPart(edm::Event &evt, const edm::EventSetup &es, const edm::EDGetTokenT< EcalRecHitCollection > &token, const std::string &clusterCollection, const reco::CaloID::Detectors detector)