Go to the documentation of this file.
14 #include <Math/VectorUtil.h>
20 using namespace ROOT::Math::VectorUtil;
29 superClusterCollection_(superClusterCollection) {}
39 double delta1 = 1000.;
40 double deltacur = 1000.;
42 bool MATCHEDSC =
false;
52 if (supercluster->
seed()->algo() == 0) {
55 if (deltacur < delta1) {
57 matchedsupercluster = supercluster;
71 int ebc_bcalgo = cluster->
algo();
72 double ebc_bce = cluster->
energy();
73 double ebc_bceta = cluster->
eta();
74 double ebc_bcet = ebc_bce *
sin(2 * atan(
exp(ebc_bceta)));
77 if (ebc_bcet >
etMin && ebc_bcalgo == 0) {
81 bool inSuperCluster =
false;
85 for (; theEclust != matchedsupercluster->
clustersEnd(); theEclust++) {
86 if ((**theEclust) == (*cluster))
87 inSuperCluster =
true;
89 if (!inSuperCluster) {
T const * get() const
Returns C++ pointer to the item.
EgammaEcalIsolation(double extRadius, double etLow, const reco::BasicClusterCollection *, const reco::SuperClusterCollection *)
T get() const
get a component
Sin< T >::type sin(const T &t)
std::vector< SuperCluster > SuperClusterCollection
collection of SuperCluser objectr
const reco::SuperClusterCollection * superClusterCollection_
std::vector< BasicCluster > BasicClusterCollection
collection of BasicCluster objects
const CaloClusterPtr & seed() const
seed BasicCluster
double eta() const
pseudorapidity of cluster centroid
XYZVectorD XYZVector
spatial vector with cartesian internal representation
static int position[264][3]
CaloCluster_iterator clustersBegin() const
fist iterator over BasicCluster constituents
const math::XYZPoint & position() const
cluster centroid position
AlgoId algo() const
algorithm identifier
const reco::BasicClusterCollection * basicClusterCollection_
CaloCluster_iterator clustersEnd() const
last iterator over BasicCluster constituents
double energy() const
cluster energy
double getEcalEtSum(const reco::Candidate *)