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) {}
PFRecTrackRefVector pfSecTracks_
NuclearInteractionRef nuclInterRef_

Member Function Documentation

◆ likelihood()

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

Definition at line 41 of file PFNuclearInteraction.h.

References nuclInterRef_.

41 { return nuclInterRef_->likelihood(); }
NuclearInteractionRef nuclInterRef_

◆ nuclInterRef()

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

Definition at line 44 of file PFNuclearInteraction.h.

References nuclInterRef_.

44 { return nuclInterRef_; }
NuclearInteractionRef 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.

References nuclInterRef_.

26 { return nuclInterRef_->primaryTrack(); }
NuclearInteractionRef 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.

References nuclInterRef_.

29 { return nuclInterRef_->secondaryTracks_begin(); }
NuclearInteractionRef 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.

References nuclInterRef_.

32 { return nuclInterRef_->secondaryTracks_end(); }
NuclearInteractionRef nuclInterRef_

◆ secondaryTracksSize()

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

Definition at line 46 of file PFNuclearInteraction.h.

References nuclInterRef_.

46 { return nuclInterRef_->secondaryTracksSize(); }
NuclearInteractionRef 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.

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

35 { return pfSecTracks_.begin(); }
PFRecTrackRefVector pfSecTracks_
const_iterator begin() const
Initialize an iterator over the RefVector.
Definition: RefVector.h:223

◆ secPFRecTracks_end()

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

Definition at line 38 of file PFNuclearInteraction.h.

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

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

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().