14 embeddedSuperCluster_(
false)
21 embeddedSuperCluster_(
false)
28 embeddedSuperCluster_(
false)
35 embeddedSuperCluster_(
false)
48 out <<
"\tpat::Photon: ";
49 out << std::setiosflags(std::ios::right);
50 out << std::setiosflags(std::ios::fixed);
51 out << std::setprecision(3);
52 out <<
" E/pT/eta/phi "
81 for (std::vector<IdPair>::const_iterator it =
photonIDs_.begin(), ed =
photonIDs_.end(); it != ed; ++it) {
82 if (it->first == name)
return it->second;
85 ex <<
"pat::Photon: the ID " << name <<
" can't be found in this pat::Photon.\n";
86 ex <<
"The available IDs are: ";
87 for (std::vector<IdPair>::const_iterator it =
photonIDs_.begin(), ed =
photonIDs_.end(); it != ed; ++it) {
88 ex <<
"'" << it->first <<
"' ";
95 for (std::vector<IdPair>::const_iterator it =
photonIDs_.begin(), ed =
photonIDs_.end(); it != ed; ++it) {
96 if (it->first == name)
return true;
virtual double energy() const GCC11_FINAL
energy
Analysis-level Photon class.
Photon()
default constructor
reco::SuperClusterRef superCluster() const
Ref to SuperCluster.
void embedSuperCluster()
method to store the photon's supercluster internally
std::vector< reco::SuperCluster > superCluster_
edm::Ref< SuperClusterCollection > SuperClusterRef
reference to an object in a collection of SuperCluster objects
virtual float phi() const GCC11_FINAL
momentum azimuthal angle
std::ostream & operator<<(std::ostream &, BeamSpot beam)
bool isPhotonIDAvailable(const std::string &name) const
Returns true if a specific ID is available in this pat::Photon.
Bool_t photonID(const std::string &name) const
std::vector< IdPair > photonIDs_
bool embeddedSuperCluster_
virtual float eta() const GCC11_FINAL
momentum pseudorapidity
reco::SuperClusterRef superCluster() const
override the superCluster method from CaloJet, to access the internal storage of the supercluster ...
virtual ~Photon()
destructor
Templated PAT object container.
virtual float pt() const GCC11_FINAL
transverse momentum