#include <EgammaEcalExtractor.h>
Definition at line 39 of file EgammaEcalExtractor.h.
◆ EgammaEcalExtractor() [1/2]
◆ EgammaEcalExtractor() [2/2]
◆ ~EgammaEcalExtractor()
EgammaEcalExtractor::~EgammaEcalExtractor |
( |
| ) |
|
|
override |
◆ deposit() [1/2]
make single IsoDeposit based on a candidate as input purely virtual: have to implement in concrete implementations
Reimplemented from reco::isodeposit::IsoDepositExtractor.
Definition at line 25 of file EgammaEcalExtractor.cc.
36 double delta1 = 1000.;
37 double deltacur = 1000.;
39 bool MATCHEDSC =
false;
46 for (reco::SuperClusterCollection::const_iterator scItr = superClusterCollectionH->begin();
47 scItr != superClusterCollectionH->end();
51 if (supercluster->
seed()->algo() == 0) {
53 if (deltacur < delta1) {
55 matchedsupercluster = supercluster;
64 for (reco::BasicClusterCollection::const_iterator cItr = basicClusterCollectionH->begin();
65 cItr != basicClusterCollectionH->end();
69 int ebc_bcalgo = cluster->
algo();
70 double ebc_bce = cluster->
energy();
71 double ebc_bceta = cluster->
eta();
72 double ebc_bcet = ebc_bce *
sin(2 * atan(
exp(ebc_bceta)));
75 if (ebc_bcet >
etMin_ && ebc_bcalgo == 0) {
79 bool inSuperCluster =
false;
84 for (; theEclust != matchedsupercluster->
clustersEnd(); ++theEclust) {
85 if ((**theEclust) == (*cluster))
86 inSuperCluster =
true;
References reco::CaloCluster::algo(), reco::SuperCluster::clustersBegin(), reco::SuperCluster::clustersEnd(), electronAnalyzer_cfi::DeltaR, reco::CaloCluster::energy(), reco::CaloCluster::eta(), ev, JetChargeProducer_cfi::exp, reco::Candidate::get(), reco::CaloCluster::phi(), reco::CaloCluster::position(), position, reco::SuperCluster::seed(), and funct::sin().
◆ deposit() [2/2]
◆ fillVetos()
◆ basicClusterToken_
◆ conesize_
double egammaisolation::EgammaEcalExtractor::conesize_ |
|
private |
◆ etMin_
double egammaisolation::EgammaEcalExtractor::etMin_ |
|
private |
◆ scmatch_
bool egammaisolation::EgammaEcalExtractor::scmatch_ |
|
private |
◆ superClusterToken_