#include <PFECALSuperClusterAlgo.h>
Classes | |
class | CalibratedPFCluster |
Public Types | |
typedef std::shared_ptr < CalibratedPFCluster > | CalibratedClusterPtr |
typedef std::vector < CalibratedClusterPtr > | CalibratedClusterPtrVector |
enum | clustering_type { kBOX =1, kMustache =2 } |
Private Member Functions | |
void | buildAllSuperClusters (CalibratedClusterPtrVector &, double seedthresh) |
void | buildSuperCluster (CalibratedClusterPtr &, CalibratedClusterPtrVector &) |
Private Attributes | |
CalibratedClusterPtrVector | _clustersEB |
CalibratedClusterPtrVector | _clustersEE |
clustering_type | _clustype |
std::shared_ptr < PFEnergyCalibration > | _pfEnergyCalibration |
std::unordered_map< edm::Ptr < reco::PFCluster > , edm::PtrVector < reco::PFCluster > > | _psclustersforee |
bool | _useDynamicDPhi |
bool | applyCrackCorrections_ |
bool | doSatelliteClusterMerge_ |
double | etawidthSuperCluster_ |
double | etawidthSuperClusterBarrel_ |
double | etawidthSuperClusterEndcap_ |
double | fractionForMajority_ |
double | phiwidthSuperCluster_ |
double | phiwidthSuperClusterBarrel_ |
double | phiwidthSuperClusterEndcap_ |
double | satelliteThreshold_ |
std::auto_ptr < reco::SuperClusterCollection > | superClustersEB_ |
std::auto_ptr < reco::SuperClusterCollection > | superClustersEE_ |
double | threshPFCluster_ |
double | threshPFClusterBarrel_ |
double | threshPFClusterEndcap_ |
double | threshPFClusterES_ |
double | threshPFClusterSeed_ |
double | threshPFClusterSeedBarrel_ |
double | threshPFClusterSeedEndcap_ |
bool | usePS |
bool | verbose_ |
Definition at line 47 of file PFECALSuperClusterAlgo.h.
typedef std::shared_ptr<CalibratedPFCluster> PFECALSuperClusterAlgo::CalibratedClusterPtr |
Definition at line 70 of file PFECALSuperClusterAlgo.h.
typedef std::vector<CalibratedClusterPtr> PFECALSuperClusterAlgo::CalibratedClusterPtrVector |
Definition at line 71 of file PFECALSuperClusterAlgo.h.
PFECALSuperClusterAlgo::PFECALSuperClusterAlgo | ( | ) |
|
private |
Definition at line 259 of file PFECALSuperClusterAlgo.cc.
|
private |
Definition at line 274 of file PFECALSuperClusterAlgo.cc.
References reco::SuperCluster::addCluster(), reco::CaloCluster::addHitAndFraction(), reco::SuperCluster::addPreshowerCluster(), PFLayer::ECAL_BARREL, PFLayer::ECAL_ENDCAP, edm::hlt::Exception, spr::find(), edm::Ptr< T >::get(), PFClusterWidthAlgo::pflowEtaWidth(), PFClusterWidthAlgo::pflowPhiWidth(), reco::SuperCluster::preshowerClustersBegin(), reco::SuperCluster::preshowerClustersEnd(), PFLayer::PS1, PFLayer::PS2, reco::SuperCluster::rawEnergy(), reco::SuperCluster::setEtaWidth(), reco::SuperCluster::setPhiWidth(), reco::SuperCluster::setPreshowerEnergy(), reco::SuperCluster::setPreshowerEnergyPlane1(), reco::SuperCluster::setPreshowerEnergyPlane2(), and reco::SuperCluster::setSeed().
|
inline |
Definition at line 107 of file PFECALSuperClusterAlgo.h.
References superClustersEB_.
|
inline |
Definition at line 109 of file PFECALSuperClusterAlgo.h.
References superClustersEE_.
void PFECALSuperClusterAlgo::loadAndSortPFClusters | ( | const edm::View< reco::PFCluster > & | ecalclusters, |
const edm::View< reco::PFCluster > & | psclusters | ||
) |
Definition at line 180 of file PFECALSuperClusterAlgo.cc.
References PFLayer::ECAL_BARREL, PFLayer::ECAL_ENDCAP, edm::Ptr< T >::isNonnull(), LogDebug, PFLayer::PS1, PFLayer::PS2, and python.multivaluedict::sort().
void PFECALSuperClusterAlgo::run | ( | void | ) |
Definition at line 251 of file PFECALSuperClusterAlgo.cc.
|
inline |
|
inline |
Definition at line 104 of file PFECALSuperClusterAlgo.h.
References applyCrackCorrections_.
|
inline |
Definition at line 89 of file PFECALSuperClusterAlgo.h.
References etawidthSuperClusterBarrel_.
|
inline |
Definition at line 91 of file PFECALSuperClusterAlgo.h.
References etawidthSuperClusterEndcap_.
|
inline |
Definition at line 100 of file PFECALSuperClusterAlgo.h.
References f, and fractionForMajority_.
void PFECALSuperClusterAlgo::setPFClusterCalibration | ( | const std::shared_ptr< PFEnergyCalibration > & | calib | ) |
Definition at line 175 of file PFECALSuperClusterAlgo.cc.
References calib.
|
inline |
Definition at line 88 of file PFECALSuperClusterAlgo.h.
References phiwidthSuperClusterBarrel_.
|
inline |
Definition at line 90 of file PFECALSuperClusterAlgo.h.
References phiwidthSuperClusterEndcap_.
|
inline |
Definition at line 98 of file PFECALSuperClusterAlgo.h.
References doSatelliteClusterMerge_.
|
inline |
Definition at line 99 of file PFECALSuperClusterAlgo.h.
References satelliteThreshold_, and lumiQTWidget::t.
|
inline |
Definition at line 84 of file PFECALSuperClusterAlgo.h.
References GOODCOLL_filter_cfg::thresh, and threshPFClusterBarrel_.
|
inline |
Definition at line 86 of file PFECALSuperClusterAlgo.h.
References GOODCOLL_filter_cfg::thresh, and threshPFClusterEndcap_.
|
inline |
Definition at line 96 of file PFECALSuperClusterAlgo.h.
References GOODCOLL_filter_cfg::thresh, and threshPFClusterES_.
|
inline |
Definition at line 83 of file PFECALSuperClusterAlgo.h.
References GOODCOLL_filter_cfg::thresh, and threshPFClusterSeedBarrel_.
|
inline |
Definition at line 85 of file PFECALSuperClusterAlgo.h.
References GOODCOLL_filter_cfg::thresh, and threshPFClusterSeedEndcap_.
|
inline |
|
inline |
|
inline |
Definition at line 77 of file PFECALSuperClusterAlgo.h.
References validate_alignment_devdb10_cfg::verbose, and verbose_.
|
private |
Definition at line 118 of file PFECALSuperClusterAlgo.h.
|
private |
Definition at line 119 of file PFECALSuperClusterAlgo.h.
|
private |
Definition at line 125 of file PFECALSuperClusterAlgo.h.
Referenced by setClusteringType().
|
private |
Definition at line 124 of file PFECALSuperClusterAlgo.h.
|
private |
Definition at line 121 of file PFECALSuperClusterAlgo.h.
|
private |
Definition at line 152 of file PFECALSuperClusterAlgo.h.
Referenced by setUseDynamicDPhi().
|
private |
Definition at line 154 of file PFECALSuperClusterAlgo.h.
Referenced by setCrackCorrections().
|
private |
Definition at line 149 of file PFECALSuperClusterAlgo.h.
Referenced by setSatelliteMerging().
|
private |
Definition at line 135 of file PFECALSuperClusterAlgo.h.
|
private |
Definition at line 145 of file PFECALSuperClusterAlgo.h.
Referenced by setEtawidthSuperClusterBarrel().
|
private |
Definition at line 147 of file PFECALSuperClusterAlgo.h.
Referenced by setEtawidthSuperClusterEndcap().
|
private |
Definition at line 150 of file PFECALSuperClusterAlgo.h.
Referenced by setMajorityFraction().
|
private |
Definition at line 136 of file PFECALSuperClusterAlgo.h.
|
private |
Definition at line 144 of file PFECALSuperClusterAlgo.h.
Referenced by setPhiwidthSuperClusterBarrel().
|
private |
Definition at line 146 of file PFECALSuperClusterAlgo.h.
Referenced by setPhiwidthSuperClusterEndcap().
|
private |
Definition at line 150 of file PFECALSuperClusterAlgo.h.
Referenced by setSatelliteThreshold().
|
private |
Definition at line 122 of file PFECALSuperClusterAlgo.h.
Referenced by getEBOutputSCCollection().
|
private |
Definition at line 123 of file PFECALSuperClusterAlgo.h.
Referenced by getEEOutputSCCollection().
|
private |
Definition at line 134 of file PFECALSuperClusterAlgo.h.
|
private |
Definition at line 139 of file PFECALSuperClusterAlgo.h.
Referenced by setThreshPFClusterBarrel().
|
private |
Definition at line 141 of file PFECALSuperClusterAlgo.h.
Referenced by setThreshPFClusterEndcap().
|
private |
Definition at line 142 of file PFECALSuperClusterAlgo.h.
Referenced by setThreshPFClusterES().
|
private |
Definition at line 133 of file PFECALSuperClusterAlgo.h.
|
private |
Definition at line 138 of file PFECALSuperClusterAlgo.h.
Referenced by setThreshPFClusterSeedBarrel().
|
private |
Definition at line 140 of file PFECALSuperClusterAlgo.h.
Referenced by setThreshPFClusterSeedEndcap().
|
private |
Definition at line 156 of file PFECALSuperClusterAlgo.h.
Referenced by setUsePS().
|
private |
Definition at line 131 of file PFECALSuperClusterAlgo.h.
Referenced by setVerbosityLevel().