13 embeddedSuperCluster_(
false)
20 embeddedSuperCluster_(
false)
27 embeddedSuperCluster_(
false)
34 embeddedSuperCluster_(
false)
47 out <<
"\tpat::Photon: ";
48 out << std::setiosflags(std::ios::right);
49 out << std::setiosflags(std::ios::fixed);
50 out << std::setprecision(3);
51 out <<
" E/pT/eta/phi "
80 for (std::vector<IdPair>::const_iterator it =
photonIDs_.begin(), ed =
photonIDs_.end(); it != ed; ++it) {
81 if (it->first == name)
return it->second;
84 ex <<
"pat::Photon: the ID " << name <<
" can't be found in this pat::Photon.\n";
85 ex <<
"The available IDs are: ";
86 for (std::vector<IdPair>::const_iterator it =
photonIDs_.begin(), ed =
photonIDs_.end(); it != ed; ++it) {
87 ex <<
"'" << it->first <<
"' ";
94 for (std::vector<IdPair>::const_iterator it =
photonIDs_.begin(), ed =
photonIDs_.end(); it != ed; ++it) {
95 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.
volatile std::atomic< bool > shutdown_flag false
virtual float pt() const GCC11_FINAL
transverse momentum