#include <NuclearInteraction.h>
Public Types | |
typedef TrajectorySeedRefVector::iterator | seedRef_iterator |
typedef reco::Vertex::trackRef_iterator | trackRef_iterator |
typedef edm::Ref < TrajectorySeedCollection > | TrajectorySeedRef |
typedef edm::RefVector < TrajectorySeedCollection > | TrajectorySeedRefVector |
Public Member Functions | |
double | likelihood () const |
return the likelihood ~ probability that the vertex is a real nuclear interaction | |
NuclearInteraction (const TrajectorySeedRefVector &tseeds, const reco::Vertex &vtx, double lkh) | |
NuclearInteraction () | |
const edm::RefToBase < reco::Track > & | primaryTrack () const |
return the base reference to the primary track | |
trackRef_iterator | secondaryTracks_begin () const |
first iterator over secondary tracks | |
trackRef_iterator | secondaryTracks_end () const |
last iterator over secondary tracks | |
int | secondaryTracksSize () const |
return the number of secondary tracks | |
const TrajectorySeedRefVector & | seeds () |
return the seeds | |
seedRef_iterator | seeds_begin () const |
first iterator over seeds | |
seedRef_iterator | seeds_end () const |
last iterator over seeds | |
int | seedsSize () const |
return the number of seeds | |
const reco::Vertex & | vertex () const |
return the vertex | |
Private Attributes | |
double | likelihood_ |
Varaible used to measure the quality of the reconstructed nuclear interaction. | |
TrajectorySeedRefVector | seeds_ |
The refitted primary track after removing eventually some outer rechits. | |
reco::Vertex | vertex_ |
The calculated vertex position. |
Definition at line 11 of file NuclearInteraction.h.
Definition at line 18 of file NuclearInteraction.h.
Definition at line 17 of file NuclearInteraction.h.
Definition at line 16 of file NuclearInteraction.h.
Definition at line 15 of file NuclearInteraction.h.
reco::NuclearInteraction::NuclearInteraction | ( | ) | [inline] |
Definition at line 20 of file NuclearInteraction.h.
{}
reco::NuclearInteraction::NuclearInteraction | ( | const TrajectorySeedRefVector & | tseeds, |
const reco::Vertex & | vtx, | ||
double | lkh | ||
) | [inline] |
Definition at line 22 of file NuclearInteraction.h.
References likelihood_, seeds_, and vertex_.
{ seeds_ = tseeds; vertex_ = vtx; likelihood_ = lkh; }
double reco::NuclearInteraction::likelihood | ( | ) | const [inline] |
return the likelihood ~ probability that the vertex is a real nuclear interaction
Definition at line 56 of file NuclearInteraction.h.
References likelihood_.
Referenced by print(), and NuclearTrackCorrector::produce().
{ return likelihood_; }
const edm::RefToBase<reco::Track>& reco::NuclearInteraction::primaryTrack | ( | ) | const [inline] |
return the base reference to the primary track
Definition at line 29 of file NuclearInteraction.h.
References reco::Vertex::tracks_begin(), and vertex_.
Referenced by print(), and NuclearTrackCorrector::produce().
{ return *(vertex_.tracks_begin()); }
trackRef_iterator reco::NuclearInteraction::secondaryTracks_begin | ( | ) | const [inline] |
first iterator over secondary tracks
Definition at line 35 of file NuclearInteraction.h.
References reco::Vertex::tracks_begin(), and vertex_.
Referenced by print().
{ return vertex_.tracks_begin()+1; }
trackRef_iterator reco::NuclearInteraction::secondaryTracks_end | ( | ) | const [inline] |
last iterator over secondary tracks
Definition at line 38 of file NuclearInteraction.h.
References reco::Vertex::tracks_end(), and vertex_.
Referenced by print().
{ return vertex_.tracks_end(); }
int reco::NuclearInteraction::secondaryTracksSize | ( | ) | const [inline] |
return the number of secondary tracks
Definition at line 32 of file NuclearInteraction.h.
References reco::Vertex::tracksSize(), and vertex_.
Referenced by print().
{ return vertex_.tracksSize()-1; }
const TrajectorySeedRefVector& reco::NuclearInteraction::seeds | ( | ) | [inline] |
return the seeds
Definition at line 44 of file NuclearInteraction.h.
References seeds_.
Referenced by NuclearInteractionEDProducer::findAdditionalSecondaryTracks().
{ return seeds_; }
seedRef_iterator reco::NuclearInteraction::seeds_begin | ( | ) | const [inline] |
first iterator over seeds
Definition at line 47 of file NuclearInteraction.h.
References edm::RefVector< C, T, F >::begin(), and seeds_.
seedRef_iterator reco::NuclearInteraction::seeds_end | ( | ) | const [inline] |
last iterator over seeds
Definition at line 50 of file NuclearInteraction.h.
References edm::RefVector< C, T, F >::end(), and seeds_.
int reco::NuclearInteraction::seedsSize | ( | ) | const [inline] |
return the number of seeds
Definition at line 41 of file NuclearInteraction.h.
References seeds_, and edm::RefVector< C, T, F >::size().
Referenced by print().
const reco::Vertex& reco::NuclearInteraction::vertex | ( | ) | const [inline] |
return the vertex
Definition at line 53 of file NuclearInteraction.h.
References vertex_.
Referenced by NuclearTrackCorrector::newTrajNeeded(), and print().
{ return vertex_; }
double reco::NuclearInteraction::likelihood_ [private] |
Varaible used to measure the quality of the reconstructed nuclear interaction.
Definition at line 70 of file NuclearInteraction.h.
Referenced by likelihood(), and NuclearInteraction().
The refitted primary track after removing eventually some outer rechits.
Reference to the TrajectorySeeds produced by NuclearSeedGenerator
Definition at line 64 of file NuclearInteraction.h.
Referenced by NuclearInteraction(), seeds(), seeds_begin(), seeds_end(), and seedsSize().
The calculated vertex position.
Definition at line 67 of file NuclearInteraction.h.
Referenced by NuclearInteraction(), primaryTrack(), secondaryTracks_begin(), secondaryTracks_end(), secondaryTracksSize(), and vertex().