Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion DataFormats/EgammaCandidates/interface/Photon.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@ namespace reco {
struct SaturationInfo;

/// default constructor
Photon() : RecoCandidate() { pixelSeed_ = false; }
Photon() : RecoCandidate() {
pixelSeed_ = false;
haloTaggerMVAVal_ = 99;
}

/// copy constructor
Photon(const Photon&);
Expand Down
2 changes: 1 addition & 1 deletion DataFormats/EgammaCandidates/src/Photon.cc
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Photon::Photon(const LorentzVector& p4, const Point& caloPos, const PhotonCoreRe
caloPosition_(caloPos),
photonCore_(core),
pixelSeed_(false),
haloTaggerMVAVal_(-999) {}
haloTaggerMVAVal_(99) {}

Photon::Photon(const Photon& rhs)
: RecoCandidate(rhs),
Expand Down