CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Attributes
reco::PFNuclearInteraction Class Reference

#include <PFNuclearInteraction.h>

Public Types

typedef PFRecTrackRefVector::const_iterator pfTrackref_iterator
 
typedef NuclearInteraction::trackRef_iterator trackRef_iterator
 

Public Member Functions

double likelihood () const
 
const NuclearInteractionRefnuclInterRef () const
 
 PFNuclearInteraction ()
 
 PFNuclearInteraction (const NuclearInteractionRef &nuclref, const PFRecTrackRefVector &pfSeconds)
 
const edm::RefToBase< reco::Track > & primaryTrack () const
 
trackRef_iterator secondaryTracks_begin () const
 
trackRef_iterator secondaryTracks_end () const
 
int secondaryTracksSize () const
 
pfTrackref_iterator secPFRecTracks_begin () const
 
pfTrackref_iterator secPFRecTracks_end () const
 

Private Attributes

NuclearInteractionRef nuclInterRef_
 
PFRecTrackRefVector pfSecTracks_
 

Detailed Description

Definition at line 15 of file PFNuclearInteraction.h.

Member Typedef Documentation

Definition at line 19 of file PFNuclearInteraction.h.

Definition at line 18 of file PFNuclearInteraction.h.

Constructor & Destructor Documentation

reco::PFNuclearInteraction::PFNuclearInteraction ( )
inline

Definition at line 23 of file PFNuclearInteraction.h.

23 {}
reco::PFNuclearInteraction::PFNuclearInteraction ( const NuclearInteractionRef nuclref,
const PFRecTrackRefVector pfSeconds 
)
inline

Definition at line 24 of file PFNuclearInteraction.h.

24 : nuclInterRef_(nuclref), pfSecTracks_(pfSeconds) {}
PFRecTrackRefVector pfSecTracks_
NuclearInteractionRef nuclInterRef_

Member Function Documentation

double reco::PFNuclearInteraction::likelihood ( ) const
inline
Returns
the likelihood

Definition at line 42 of file PFNuclearInteraction.h.

References nuclInterRef_.

42 { return nuclInterRef_->likelihood(); }
NuclearInteractionRef nuclInterRef_
const NuclearInteractionRef& reco::PFNuclearInteraction::nuclInterRef ( ) const
inline
Returns
the initial nuclear interaction

Definition at line 45 of file PFNuclearInteraction.h.

References nuclInterRef_.

45 { return nuclInterRef_; }
NuclearInteractionRef nuclInterRef_
const edm::RefToBase<reco::Track>& reco::PFNuclearInteraction::primaryTrack ( ) const
inline
Returns
the base reference to the primary track

Definition at line 27 of file PFNuclearInteraction.h.

References nuclInterRef_.

27 { return nuclInterRef_->primaryTrack(); }
NuclearInteractionRef nuclInterRef_
trackRef_iterator reco::PFNuclearInteraction::secondaryTracks_begin ( ) const
inline
Returns
first iterator over secondary tracks

Definition at line 30 of file PFNuclearInteraction.h.

References nuclInterRef_.

30 { return nuclInterRef_->secondaryTracks_begin(); }
NuclearInteractionRef nuclInterRef_
trackRef_iterator reco::PFNuclearInteraction::secondaryTracks_end ( ) const
inline
Returns
last iterator over secondary tracks

Definition at line 33 of file PFNuclearInteraction.h.

References nuclInterRef_.

33 { return nuclInterRef_->secondaryTracks_end(); }
NuclearInteractionRef nuclInterRef_
int reco::PFNuclearInteraction::secondaryTracksSize ( ) const
inline

Definition at line 47 of file PFNuclearInteraction.h.

References nuclInterRef_.

47 { return nuclInterRef_->secondaryTracksSize(); }
NuclearInteractionRef nuclInterRef_
pfTrackref_iterator reco::PFNuclearInteraction::secPFRecTracks_begin ( ) const
inline
Returns
first iterator over secondary PFRecTracks

Definition at line 36 of file PFNuclearInteraction.h.

References edm::RefVector< C, T, F >::begin(), and pfSecTracks_.

36 { return pfSecTracks_.begin(); }
PFRecTrackRefVector pfSecTracks_
const_iterator begin() const
Initialize an iterator over the RefVector.
Definition: RefVector.h:248
pfTrackref_iterator reco::PFNuclearInteraction::secPFRecTracks_end ( ) const
inline
Returns
last iterator over secondary PFRecTracks

Definition at line 39 of file PFNuclearInteraction.h.

References edm::RefVector< C, T, F >::end(), and pfSecTracks_.

39 { return pfSecTracks_.end(); }
PFRecTrackRefVector pfSecTracks_
const_iterator end() const
Termination of iteration.
Definition: RefVector.h:253

Member Data Documentation

NuclearInteractionRef reco::PFNuclearInteraction::nuclInterRef_
private
PFRecTrackRefVector reco::PFNuclearInteraction::pfSecTracks_
private

Definition at line 53 of file PFNuclearInteraction.h.

Referenced by secPFRecTracks_begin(), and secPFRecTracks_end().