CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
ConversionInfo Class Reference

#include <ConversionInfo.h>

Public Member Functions

 ConversionInfo ()
 
 ConversionInfo (double dist, double dcot, double radiusOfConversion, math::XYZPoint pointOfConversion, reco::TrackRef conversionPartnerCtfTk, reco::GsfTrackRef conversionPartnerGsfTk, int deltaMissingHits, int flag)
 
reco::TrackRef conversionPartnerCtfTk () const
 
reco::GsfTrackRef conversionPartnerGsfTk () const
 
reco::TrackRef conversionPartnerTk () const
 
double dcot () const
 
int deltaMissingHits () const
 
double dist () const
 
int flag () const
 
math::XYZPoint pointOfConversion () const
 
double radiusOfConversion () const
 
 ~ConversionInfo ()
 

Private Attributes

reco::TrackRef conversionPartnerCtfTk_
 
reco::GsfTrackRef conversionPartnerGsfTk_
 
double dcot_
 
int deltaMissingHits_
 
double dist_
 
int flag_
 
math::XYZPoint pointOfConversion_
 
double radiusOfConversion_
 

Detailed Description

Definition at line 12 of file ConversionInfo.h.

Constructor & Destructor Documentation

ConversionInfo::ConversionInfo ( )
inline

Definition at line 16 of file ConversionInfo.h.

References conversionPartnerCtfTk_, conversionPartnerGsfTk_, dcot_, deltaMissingHits_, dist_, flag_, pointOfConversion_, and radiusOfConversion_.

Referenced by ~ConversionInfo().

17  {
18  dist_ = -9999.;
19  dcot_ = -9999.;
20  radiusOfConversion_ = -9999.;
21  pointOfConversion_ = math::XYZPoint(-9999.,-9999.,-9999);
24  deltaMissingHits_ = -9999;
25  flag_ = -9999;
26  }
edm::Ref< GsfTrackCollection > GsfTrackRef
persistent reference to a GsfTrack
Definition: GsfTrackFwd.h:13
reco::TrackRef conversionPartnerCtfTk_
math::XYZPoint pointOfConversion_
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:12
edm::Ref< TrackCollection > TrackRef
persistent reference to a Track
Definition: TrackFwd.h:20
reco::GsfTrackRef conversionPartnerGsfTk_
double radiusOfConversion_
ConversionInfo::~ConversionInfo ( )
inline

Definition at line 27 of file ConversionInfo.h.

References ConversionInfo().

27 {}
ConversionInfo::ConversionInfo ( double  dist,
double  dcot,
double  radiusOfConversion,
math::XYZPoint  pointOfConversion,
reco::TrackRef  conversionPartnerCtfTk,
reco::GsfTrackRef  conversionPartnerGsfTk,
int  deltaMissingHits,
int  flag 
)
inline

Definition at line 29 of file ConversionInfo.h.

References conversionPartnerCtfTk(), conversionPartnerCtfTk_, conversionPartnerGsfTk(), conversionPartnerGsfTk_, dcot(), dcot_, deltaMissingHits(), deltaMissingHits_, dist(), dist_, flag(), flag_, pointOfConversion(), pointOfConversion_, radiusOfConversion(), and radiusOfConversion_.

35  {
36  dist_ = dist;
37  dcot_ = dcot;
43  flag_ = flag;
44  }
reco::TrackRef conversionPartnerCtfTk_
reco::GsfTrackRef conversionPartnerGsfTk() const
double radiusOfConversion() const
double dist() const
reco::TrackRef conversionPartnerCtfTk() const
math::XYZPoint pointOfConversion_
math::XYZPoint pointOfConversion() const
int deltaMissingHits() const
int flag() const
reco::GsfTrackRef conversionPartnerGsfTk_
double radiusOfConversion_
double dcot() const

Member Function Documentation

reco::TrackRef ConversionInfo::conversionPartnerCtfTk ( ) const
inline

Definition at line 49 of file ConversionInfo.h.

References conversionPartnerCtfTk_.

Referenced by ConversionInfo(), and GsfElectronAlgo::createElectron().

49 { return conversionPartnerCtfTk_ ; }
reco::TrackRef conversionPartnerCtfTk_
reco::GsfTrackRef ConversionInfo::conversionPartnerGsfTk ( ) const
inline

Definition at line 53 of file ConversionInfo.h.

References conversionPartnerGsfTk_.

Referenced by ConversionInfo(), and GsfElectronAlgo::createElectron().

53 { return conversionPartnerGsfTk_ ; }
reco::GsfTrackRef conversionPartnerGsfTk_
reco::TrackRef ConversionInfo::conversionPartnerTk ( ) const
inline

Definition at line 66 of file ConversionInfo.h.

References conversionPartnerCtfTk_.

66  {
67  edm::LogWarning("ConversionInfo") << "The conversionPartnerTk() function is deprecated, but still returns the CTF partner track if found! \n"
68  << "Please use either conversionPartnerCtfTk() and conversionPartnerGsfTk() instead. \n";
70  }
reco::TrackRef conversionPartnerCtfTk_
double ConversionInfo::dcot ( ) const
inline
int ConversionInfo::deltaMissingHits ( ) const
inline

Definition at line 57 of file ConversionInfo.h.

References deltaMissingHits_.

Referenced by ConversionInfo(), and ConversionFinder::findBestConversionMatch().

57 { return deltaMissingHits_ ; }
double ConversionInfo::dist ( ) const
inline
int ConversionInfo::flag ( void  ) const
inline

Definition at line 64 of file ConversionInfo.h.

References flag_.

Referenced by ConversionInfo(), GsfElectronAlgo::createElectron(), and ConversionFinder::findBestConversionMatch().

64 { return flag_ ; }
math::XYZPoint ConversionInfo::pointOfConversion ( ) const
inline

Definition at line 48 of file ConversionInfo.h.

References pointOfConversion_.

Referenced by ConversionInfo(), and ConversionFinder::getConversionInfos().

48 { return pointOfConversion_ ; }
math::XYZPoint pointOfConversion_
double ConversionInfo::radiusOfConversion ( ) const
inline

Member Data Documentation

reco::TrackRef ConversionInfo::conversionPartnerCtfTk_
private

Definition at line 78 of file ConversionInfo.h.

Referenced by ConversionInfo(), conversionPartnerCtfTk(), and conversionPartnerTk().

reco::GsfTrackRef ConversionInfo::conversionPartnerGsfTk_
private

Definition at line 79 of file ConversionInfo.h.

Referenced by ConversionInfo(), and conversionPartnerGsfTk().

double ConversionInfo::dcot_
private

Definition at line 75 of file ConversionInfo.h.

Referenced by ConversionInfo(), and dcot().

int ConversionInfo::deltaMissingHits_
private

Definition at line 80 of file ConversionInfo.h.

Referenced by ConversionInfo(), and deltaMissingHits().

double ConversionInfo::dist_
private

Definition at line 74 of file ConversionInfo.h.

Referenced by ConversionInfo(), and dist().

int ConversionInfo::flag_
private

Definition at line 81 of file ConversionInfo.h.

Referenced by ConversionInfo(), and flag().

math::XYZPoint ConversionInfo::pointOfConversion_
private

Definition at line 77 of file ConversionInfo.h.

Referenced by ConversionInfo(), and pointOfConversion().

double ConversionInfo::radiusOfConversion_
private

Definition at line 76 of file ConversionInfo.h.

Referenced by ConversionInfo(), and radiusOfConversion().