Skip to content

Commit

Permalink
Merge pull request #2901 from VinInn/VersionedCandidate
Browse files Browse the repository at this point in the history
Misc fixes -- Add class version for Candidate.
  • Loading branch information
ktf committed Mar 18, 2014
2 parents ee8d6af + 150ef6a commit 20b82ad
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion DataFormats/Candidate/interface/Candidate.h
Expand Up @@ -23,7 +23,7 @@
#include "DataFormats/Candidate/interface/Particle.h"

#include "FWCore/Utilities/interface/GCC11Compatibility.h"

#include "DataFormats/Common/interface/CMS_CLASS_VERSION.h"

class OverlapChecker;

Expand Down
2 changes: 2 additions & 0 deletions DataFormats/Candidate/interface/CandidateWithRef.h
Expand Up @@ -31,6 +31,8 @@ namespace reco {
/// reference
reference ref() const { return ref_; }

CMS_CLASS_VERSION(10)

private:
/// check overlap with another candidate
virtual bool overlap( const Candidate & ) const;
Expand Down
1 change: 1 addition & 0 deletions DataFormats/Candidate/interface/CompositeRefCandidateT.h
Expand Up @@ -78,6 +78,7 @@ namespace reco {
/// set mother product ID
void resetMothers( const edm::ProductID & id ) { mom = mothers( id ); }

CMS_CLASS_VERSION(10)

private:
/// const iterator implementation
Expand Down
2 changes: 2 additions & 0 deletions DataFormats/Candidate/interface/LeafRefCandidateT.h
Expand Up @@ -262,6 +262,8 @@ namespace reco {
friend class ShallowCloneCandidate;
friend class ShallowClonePtrCandidate;

CMS_CLASS_VERSION(11)

private:
// const iterator implementation
typedef candidate::const_iterator_imp_specific<daughters> const_iterator_imp_specific;
Expand Down

0 comments on commit 20b82ad

Please sign in to comment.