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

◆ pfTrackref_iterator

Definition at line 18 of file PFNuclearInteraction.h.

◆ trackRef_iterator

Definition at line 17 of file PFNuclearInteraction.h.

Constructor & Destructor Documentation

◆ PFNuclearInteraction() [1/2]

reco::PFNuclearInteraction::PFNuclearInteraction ( )
inline

Definition at line 21 of file PFNuclearInteraction.h.

21 {}

◆ PFNuclearInteraction() [2/2]

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

Definition at line 22 of file PFNuclearInteraction.h.

23  : nuclInterRef_(nuclref), pfSecTracks_(pfSeconds) {}

Member Function Documentation

◆ likelihood()

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

Definition at line 41 of file PFNuclearInteraction.h.

41 { return nuclInterRef_->likelihood(); }

References nuclInterRef_.

◆ nuclInterRef()

const NuclearInteractionRef& reco::PFNuclearInteraction::nuclInterRef ( ) const
inline
Returns
the initial nuclear interaction

Definition at line 44 of file PFNuclearInteraction.h.

44 { return nuclInterRef_; }

References nuclInterRef_.

◆ primaryTrack()

const edm::RefToBase<reco::Track>& reco::PFNuclearInteraction::primaryTrack ( ) const
inline
Returns
the base reference to the primary track

Definition at line 26 of file PFNuclearInteraction.h.

26 { return nuclInterRef_->primaryTrack(); }

References nuclInterRef_.

◆ secondaryTracks_begin()

trackRef_iterator reco::PFNuclearInteraction::secondaryTracks_begin ( ) const
inline
Returns
first iterator over secondary tracks

Definition at line 29 of file PFNuclearInteraction.h.

29 { return nuclInterRef_->secondaryTracks_begin(); }

References nuclInterRef_.

◆ secondaryTracks_end()

trackRef_iterator reco::PFNuclearInteraction::secondaryTracks_end ( ) const
inline
Returns
last iterator over secondary tracks

Definition at line 32 of file PFNuclearInteraction.h.

32 { return nuclInterRef_->secondaryTracks_end(); }

References nuclInterRef_.

◆ secondaryTracksSize()

int reco::PFNuclearInteraction::secondaryTracksSize ( ) const
inline

Definition at line 46 of file PFNuclearInteraction.h.

46 { return nuclInterRef_->secondaryTracksSize(); }

References nuclInterRef_.

◆ secPFRecTracks_begin()

pfTrackref_iterator reco::PFNuclearInteraction::secPFRecTracks_begin ( ) const
inline
Returns
first iterator over secondary PFRecTracks

Definition at line 35 of file PFNuclearInteraction.h.

35 { return pfSecTracks_.begin(); }

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

◆ secPFRecTracks_end()

pfTrackref_iterator reco::PFNuclearInteraction::secPFRecTracks_end ( ) const
inline
Returns
last iterator over secondary PFRecTracks

Definition at line 38 of file PFNuclearInteraction.h.

38 { return pfSecTracks_.end(); }

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

Member Data Documentation

◆ nuclInterRef_

NuclearInteractionRef reco::PFNuclearInteraction::nuclInterRef_
private

◆ pfSecTracks_

PFRecTrackRefVector reco::PFNuclearInteraction::pfSecTracks_
private

Definition at line 53 of file PFNuclearInteraction.h.

Referenced by secPFRecTracks_begin(), and secPFRecTracks_end().

reco::PFNuclearInteraction::nuclInterRef_
NuclearInteractionRef nuclInterRef_
Definition: PFNuclearInteraction.h:50
edm::RefVector::begin
const_iterator begin() const
Initialize an iterator over the RefVector.
Definition: RefVector.h:223
edm::RefVector::end
const_iterator end() const
Termination of iteration.
Definition: RefVector.h:228
reco::PFNuclearInteraction::pfSecTracks_
PFRecTrackRefVector pfSecTracks_
Definition: PFNuclearInteraction.h:53