CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
V0Validator::V0Couple Struct Reference

#include <V0Validator.h>

Public Member Functions

bool operator< (const V0Couple &rh) const
 
bool operator== (const V0Couple &rh) const
 
 V0Couple (reco::TrackRef first_daughter, reco::TrackRef second_daughter)
 

Public Attributes

reco::TrackRef one
 
reco::TrackRef two
 

Detailed Description

Definition at line 86 of file V0Validator.h.

Constructor & Destructor Documentation

V0Validator::V0Couple::V0Couple ( reco::TrackRef  first_daughter,
reco::TrackRef  second_daughter 
)
inlineexplicit

Definition at line 89 of file V0Validator.h.

References assert(), edm::Ref< C, T, F >::key(), one, and two.

90  {
91  one = first_daughter.key() < second_daughter.key() ? first_daughter
92  : second_daughter;
93  two = first_daughter.key() > second_daughter.key() ? first_daughter
94  : second_daughter;
95  assert(one != two);
96  }
assert(m_qm.get())
key_type key() const
Accessor for product key.
Definition: Ref.h:264
reco::TrackRef two
Definition: V0Validator.h:88
reco::TrackRef one
Definition: V0Validator.h:87

Member Function Documentation

bool V0Validator::V0Couple::operator< ( const V0Couple rh) const
inline

Definition at line 97 of file V0Validator.h.

References edm::Ref< C, T, F >::key(), and one.

97  {
98  return one.key() < rh.one.key();
99  }
key_type key() const
Accessor for product key.
Definition: Ref.h:264
reco::TrackRef one
Definition: V0Validator.h:87
bool V0Validator::V0Couple::operator== ( const V0Couple rh) const
inline

Definition at line 100 of file V0Validator.h.

References edm::Ref< C, T, F >::key(), one, and two.

100  {
101  return ((one.key() == rh.one.key()) && (two.key() == rh.two.key()));
102  }
key_type key() const
Accessor for product key.
Definition: Ref.h:264
reco::TrackRef two
Definition: V0Validator.h:88
reco::TrackRef one
Definition: V0Validator.h:87

Member Data Documentation

reco::TrackRef V0Validator::V0Couple::one
reco::TrackRef V0Validator::V0Couple::two

Definition at line 88 of file V0Validator.h.

Referenced by runEdmFileComparison.EdmObject::label(), operator==(), and V0Couple().