CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Private Attributes
reco::NuclearInteraction Class Reference

#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 More...
 
 NuclearInteraction ()
 
 NuclearInteraction (const TrajectorySeedRefVector &tseeds, const reco::Vertex &vtx, double lkh)
 
const edm::RefToBase
< reco::Track > & 
primaryTrack () const
 return the base reference to the primary track More...
 
trackRef_iterator secondaryTracks_begin () const
 first iterator over secondary tracks More...
 
trackRef_iterator secondaryTracks_end () const
 last iterator over secondary tracks More...
 
int secondaryTracksSize () const
 return the number of secondary tracks More...
 
const TrajectorySeedRefVectorseeds ()
 return the seeds More...
 
seedRef_iterator seeds_begin () const
 first iterator over seeds More...
 
seedRef_iterator seeds_end () const
 last iterator over seeds More...
 
int seedsSize () const
 return the number of seeds More...
 
const reco::Vertexvertex () const
 return the vertex More...
 

Private Attributes

double likelihood_
 Varaible used to measure the quality of the reconstructed nuclear interaction. More...
 
TrajectorySeedRefVector seeds_
 The refitted primary track after removing eventually some outer rechits. More...
 
reco::Vertex vertex_
 The calculated vertex position. More...
 

Detailed Description

Definition at line 11 of file NuclearInteraction.h.

Member Typedef Documentation

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.

Constructor & Destructor Documentation

reco::NuclearInteraction::NuclearInteraction ( )
inline

Definition at line 20 of file NuclearInteraction.h.

20 {}
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_.

22  {
23  seeds_ = tseeds;
24  vertex_ = vtx;
25  likelihood_ = lkh;
26  }
reco::Vertex vertex_
The calculated vertex position.
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.

Member Function Documentation

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

56 { return likelihood_; }
double likelihood_
Varaible used to measure the quality of the reconstructed nuclear interaction.
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().

29 { return *(vertex_.tracks_begin()); }
reco::Vertex vertex_
The calculated vertex position.
trackRef_iterator tracks_begin() const
first iterator over tracks
Definition: Vertex.cc:39
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().

35 { return vertex_.tracks_begin()+1; }
reco::Vertex vertex_
The calculated vertex position.
trackRef_iterator tracks_begin() const
first iterator over tracks
Definition: Vertex.cc:39
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().

38 { return vertex_.tracks_end(); }
reco::Vertex vertex_
The calculated vertex position.
trackRef_iterator tracks_end() const
last iterator over tracks
Definition: Vertex.cc:44
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().

32 { return vertex_.tracksSize()-1; }
reco::Vertex vertex_
The calculated vertex position.
size_t tracksSize() const
number of tracks
Definition: Vertex.cc:34
const TrajectorySeedRefVector& reco::NuclearInteraction::seeds ( )
inline

return the seeds

Definition at line 44 of file NuclearInteraction.h.

References seeds_.

Referenced by NuclearInteractionEDProducer::findAdditionalSecondaryTracks().

44 { return seeds_; }
TrajectorySeedRefVector seeds_
The refitted primary track after removing eventually some outer rechits.
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_.

47 { return seeds_.begin(); }
const_iterator begin() const
Initialize an iterator over the RefVector.
Definition: RefVector.h:244
TrajectorySeedRefVector seeds_
The refitted primary track after removing eventually some outer rechits.
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_.

50 { return seeds_.end(); }
const_iterator end() const
Termination of iteration.
Definition: RefVector.h:249
TrajectorySeedRefVector seeds_
The refitted primary track after removing eventually some outer rechits.
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().

41 { return seeds_.size(); }
TrajectorySeedRefVector seeds_
The refitted primary track after removing eventually some outer rechits.
size_type size() const
Size of the RefVector.
Definition: RefVector.h:89
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().

53 { return vertex_; }
reco::Vertex vertex_
The calculated vertex position.

Member Data Documentation

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

TrajectorySeedRefVector reco::NuclearInteraction::seeds_
private

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

reco::Vertex reco::NuclearInteraction::vertex_
private

The calculated vertex position.

Definition at line 67 of file NuclearInteraction.h.

Referenced by NuclearInteraction(), primaryTrack(), secondaryTracks_begin(), secondaryTracks_end(), secondaryTracksSize(), and vertex().