CMS 3D CMS Logo

Multi5x5BremRecoveryClusterAlgo.h
Go to the documentation of this file.
1 #ifndef RecoEcal_EgammaClusterAlgos_Multi5x5BremRecoveryClusterAlgo_h_
2 #define RecoEcal_EgammaClusterAlgos_Multi5x5BremRecoveryClusterAlgo_h_
3 
10 
12 
13 #include <vector>
14 
15 /*
16  The Multi5x5BremRecoveryClusterAlgo class encapsulates the functionality needed
17  to perform the SuperClustering.
18 
19  WARNING: This code assumes that the BasicClusters
20  from the event are sorted by energy
21 */
22 
24 public:
26  double eb_sc_road_etasize = 0.06, // Search window in eta - Barrel
27  double eb_sc_road_phisize = 0.80, // Search window in phi - Barrel
28  double ec_sc_road_etasize = 0.14, // Search window in eta - Endcap
29  double ec_sc_road_phisize = 0.40, // Search window in eta - Endcap
30  bool dynamicPhiRoad = true,
31  double theSeedTransverseEnergyThreshold = 0.40) {
32  // e*_rdeta_ and e*_rdphi_ are half the total window
33  // because they correspond to one direction (positive or negative)
34  eb_rdeta_ = eb_sc_road_etasize / 2;
35  eb_rdphi_ = eb_sc_road_phisize / 2;
36  ec_rdeta_ = ec_sc_road_etasize / 2;
37  ec_rdphi_ = ec_sc_road_phisize / 2;
38 
39  seedTransverseEnergyThreshold = theSeedTransverseEnergyThreshold;
41  if (dynamicPhiRoad_)
43  }
44 
45  // destructor
47  if (dynamicPhiRoad_)
48  delete phiRoadAlgo_;
49  }
50 
51  // the method called from outside to do the SuperClustering - returns a vector of SCs:
53 
54 private:
55  // make superclusters out of clusters produced by the Island algorithm:
56  void makeIslandSuperClusters(reco::CaloClusterPtrVector &clusters_v, double etaRoad, double phiRoad);
57 
58  double eb_rdeta_;
59  double eb_rdphi_;
60  double ec_rdeta_;
61  double ec_rdphi_;
62 
66 
68 };
69 
70 #endif
Multi5x5BremRecoveryClusterAlgo::seedTransverseEnergyThreshold
double seedTransverseEnergyThreshold
Definition: Multi5x5BremRecoveryClusterAlgo.h:63
Multi5x5BremRecoveryClusterAlgo
Definition: Multi5x5BremRecoveryClusterAlgo.h:23
Multi5x5BremRecoveryClusterAlgo::Multi5x5BremRecoveryClusterAlgo
Multi5x5BremRecoveryClusterAlgo(const edm::ParameterSet &bremRecoveryPset, double eb_sc_road_etasize=0.06, double eb_sc_road_phisize=0.80, double ec_sc_road_etasize=0.14, double ec_sc_road_phisize=0.40, bool dynamicPhiRoad=true, double theSeedTransverseEnergyThreshold=0.40)
Definition: Multi5x5BremRecoveryClusterAlgo.h:25
Multi5x5BremRecoveryClusterAlgo::makeSuperClusters
reco::SuperClusterCollection makeSuperClusters(const reco::CaloClusterPtrVector &clusters)
Definition: Multi5x5BremRecoveryClusterAlgo.cc:5
BasicCluster.h
BremRecoveryPhiRoadAlgo.h
BasicClusterFwd.h
reco::SuperClusterCollection
std::vector< SuperCluster > SuperClusterCollection
collection of SuperCluser objectr
Definition: SuperClusterFwd.h:9
Multi5x5BremRecoveryClusterAlgo::superclusters_v
reco::SuperClusterCollection superclusters_v
Definition: Multi5x5BremRecoveryClusterAlgo.h:67
edm::PtrVector< CaloCluster >
BremRecoveryPhiRoadAlgo
Definition: BremRecoveryPhiRoadAlgo.h:14
Multi5x5BremRecoveryClusterAlgo::phiRoadAlgo_
BremRecoveryPhiRoadAlgo * phiRoadAlgo_
Definition: Multi5x5BremRecoveryClusterAlgo.h:65
bsc_activity_cfg.clusters
clusters
Definition: bsc_activity_cfg.py:36
CaloSubdetectorGeometry.h
edm::ParameterSet
Definition: ParameterSet.h:47
Multi5x5BremRecoveryClusterAlgo::makeIslandSuperClusters
void makeIslandSuperClusters(reco::CaloClusterPtrVector &clusters_v, double etaRoad, double phiRoad)
Definition: Multi5x5BremRecoveryClusterAlgo.cc:35
cosmicSuperClusters_cfi.dynamicPhiRoad
dynamicPhiRoad
Definition: cosmicSuperClusters_cfi.py:25
cosmicSuperClusters_cfi.bremRecoveryPset
bremRecoveryPset
Definition: cosmicSuperClusters_cfi.py:26
Multi5x5BremRecoveryClusterAlgo::dynamicPhiRoad_
bool dynamicPhiRoad_
Definition: Multi5x5BremRecoveryClusterAlgo.h:64
Multi5x5BremRecoveryClusterAlgo::eb_rdphi_
double eb_rdphi_
Definition: Multi5x5BremRecoveryClusterAlgo.h:59
SuperClusterFwd.h
SuperCluster.h
Multi5x5BremRecoveryClusterAlgo::eb_rdeta_
double eb_rdeta_
Definition: Multi5x5BremRecoveryClusterAlgo.h:58
Multi5x5BremRecoveryClusterAlgo::~Multi5x5BremRecoveryClusterAlgo
~Multi5x5BremRecoveryClusterAlgo()
Definition: Multi5x5BremRecoveryClusterAlgo.h:46
ParameterSet.h
Multi5x5BremRecoveryClusterAlgo::ec_rdeta_
double ec_rdeta_
Definition: Multi5x5BremRecoveryClusterAlgo.h:60
Multi5x5BremRecoveryClusterAlgo::ec_rdphi_
double ec_rdphi_
Definition: Multi5x5BremRecoveryClusterAlgo.h:61