Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
RecoParticleFlow
PFProducer
interface
PFBlockElementSCEqual.h
Go to the documentation of this file.
1
#ifndef RecoParticleFlow_PFProducer_PFBlockElementSCEqual
2
#define RecoParticleFlow_PFProducer_PFBlockElementSCEqual
3
4
#include "
DataFormats/ParticleFlowReco/interface/PFBlockElementSuperCluster.h
"
5
#include "
DataFormats/ParticleFlowReco/interface/PFBlockElement.h
"
6
//#include "DataFormats/EgammaReco/interface/SuperClusterFwd.h"
7
8
class
PFBlockElementSCEqual
{
9
public
:
10
PFBlockElementSCEqual
(
reco::SuperClusterRef
scRef):
ref_
(scRef) {;}
11
~PFBlockElementSCEqual
(){;}
12
inline
bool
operator()
(
const
reco::PFBlockElement
* el) {
13
return
(el->
type
()==
reco::PFBlockElement::SC
&& (
dynamic_cast<
const
reco::PFBlockElementSuperCluster
*
>
(el))->superClusterRef()==
ref_
);
14
}
15
private
:
16
reco::SuperClusterRef
ref_
;
17
};
18
19
#endif
20
21
reco::PFBlockElement
Abstract base class for a PFBlock element (track, cluster...)
Definition:
PFBlockElement.h:28
PFBlockElementSuperCluster.h
reco::PFBlockElement::type
Type type() const
Definition:
PFBlockElement.h:82
PFBlockElementSCEqual::ref_
reco::SuperClusterRef ref_
Definition:
PFBlockElementSCEqual.h:16
PFBlockElementSCEqual
Definition:
PFBlockElementSCEqual.h:8
PFBlockElementSCEqual::PFBlockElementSCEqual
PFBlockElementSCEqual(reco::SuperClusterRef scRef)
Definition:
PFBlockElementSCEqual.h:10
reco::PFBlockElementSuperCluster
Cluster Element.
Definition:
PFBlockElementSuperCluster.h:15
reco::PFBlockElement::SC
Definition:
PFBlockElement.h:44
PFBlockElementSCEqual::operator()
bool operator()(const reco::PFBlockElement *el)
Definition:
PFBlockElementSCEqual.h:12
edm::Ref< SuperClusterCollection >
PFBlockElementSCEqual::~PFBlockElementSCEqual
~PFBlockElementSCEqual()
Definition:
PFBlockElementSCEqual.h:11
PFBlockElement.h
Generated for CMSSW Reference Manual by
1.8.5