CMS 3D CMS Logo

Classes | Public Types | Public Member Functions | Private Types | Private Attributes | Static Private Attributes

AddTvTrack Class Reference

#include <AddTvTrack.h>

List of all members.

Classes

struct  TrackInfo

Public Types

typedef std::vector< TrackInfoTrackInfoVector

Public Member Functions

 AddTvTrack (std::vector< TransientVertex > *, std::vector< TransientVertex > *, double)
double getMaxSigOnDistTrackToB () const
std::vector< TransientVertex > * getPrimaryVertices () const
std::vector< TransientVertex > * getSecondaryVertices () const
std::vector< TransientVertexgetSecondaryVertices (const std::vector< reco::TransientTrack > &)
TrackInfoVector getTrackInfo ()
void setMaxSigOnDistTrackToB (double maxSigOnDistTrackToB)
void setPrimaryVertices (std::vector< TransientVertex > &ThePrimaryVertices)
void setSecondaryVertices (std::vector< TransientVertex > &TheSecondaryVertices)
 ~AddTvTrack ()

Private Types

typedef std::map
< reco::TransientTrack, float > 
TransientTrackToFloatMap

Private Attributes

double MaxSigOnDistTrackToB
double theIPSig
std::vector< TransientVertex > * thePrimaryVertices
std::vector< TransientVertex > * theSecondaryVertices
TrackInfoVector theTrackInfoVector

Static Private Attributes

static const bool debug = false

Detailed Description

Definition at line 13 of file AddTvTrack.h.


Member Typedef Documentation

typedef std::vector<TrackInfo> AddTvTrack::TrackInfoVector

Definition at line 48 of file AddTvTrack.h.

typedef std::map<reco::TransientTrack, float> AddTvTrack::TransientTrackToFloatMap [private]

Definition at line 76 of file AddTvTrack.h.


Constructor & Destructor Documentation

AddTvTrack::AddTvTrack ( std::vector< TransientVertex > *  ,
std::vector< TransientVertex > *  ,
double   
)

Definition at line 14 of file AddTvTrack.cc.

{
  thePrimaryVertices    = PrimaryVertices;
  theSecondaryVertices  = SecondaryVertices;

  MaxSigOnDistTrackToB  = maxSigOnDistTrackToB; 

 // why is the argument passed in the ctor overwritten here ???
  MaxSigOnDistTrackToB = 10.0;

  // min. transverse impact parameter significance
  theIPSig = 1.5; // should this be 2 or 1.5 ???

}
AddTvTrack::~AddTvTrack ( ) [inline]

Definition at line 22 of file AddTvTrack.h.

{} 

Member Function Documentation

double AddTvTrack::getMaxSigOnDistTrackToB ( ) const [inline]

Definition at line 35 of file AddTvTrack.h.

References MaxSigOnDistTrackToB.

                                                { 
    return MaxSigOnDistTrackToB; 
  }  
std::vector<TransientVertex>* AddTvTrack::getPrimaryVertices ( ) const [inline]

Definition at line 29 of file AddTvTrack.h.

References thePrimaryVertices.

                                                                { 
    return thePrimaryVertices; 
  }
std::vector<TransientVertex> AddTvTrack::getSecondaryVertices ( const std::vector< reco::TransientTrack > &  )
std::vector<TransientVertex>* AddTvTrack::getSecondaryVertices ( ) const [inline]

Definition at line 32 of file AddTvTrack.h.

References theSecondaryVertices.

                                                                  { 
    return theSecondaryVertices; 
  }
TrackInfoVector AddTvTrack::getTrackInfo ( ) [inline]

Definition at line 50 of file AddTvTrack.h.

References theTrackInfoVector.

Referenced by ConfigurableTertiaryTracksVertexFinder::reconstruct().

{ return theTrackInfoVector; }
void AddTvTrack::setMaxSigOnDistTrackToB ( double  maxSigOnDistTrackToB) [inline]

Definition at line 69 of file AddTvTrack.h.

References MaxSigOnDistTrackToB.

                                                                   { 
    MaxSigOnDistTrackToB  = maxSigOnDistTrackToB; 
  }
void AddTvTrack::setPrimaryVertices ( std::vector< TransientVertex > &  ThePrimaryVertices) [inline]

Definition at line 61 of file AddTvTrack.h.

References thePrimaryVertices.

                                                     { 
    thePrimaryVertices = thePrimaryVertices; // TYPO ?!?!?!?!?!?!?!
  }
void AddTvTrack::setSecondaryVertices ( std::vector< TransientVertex > &  TheSecondaryVertices) [inline]

Definition at line 65 of file AddTvTrack.h.

References theSecondaryVertices.

                                                         { 
    theSecondaryVertices = theSecondaryVertices; // TYPO ?!?!?!?!?!?
  }

Member Data Documentation

const bool AddTvTrack::debug = false [static, private]

Definition at line 91 of file AddTvTrack.h.

Definition at line 80 of file AddTvTrack.h.

Referenced by getMaxSigOnDistTrackToB(), and setMaxSigOnDistTrackToB().

double AddTvTrack::theIPSig [private]

Definition at line 81 of file AddTvTrack.h.

Definition at line 78 of file AddTvTrack.h.

Referenced by getPrimaryVertices(), and setPrimaryVertices().

Definition at line 79 of file AddTvTrack.h.

Referenced by getSecondaryVertices(), and setSecondaryVertices().

Definition at line 89 of file AddTvTrack.h.

Referenced by getTrackInfo().