CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/TrackingTools/TransientTrack/src/TransientTrack.cc

Go to the documentation of this file.
00001 #include "TrackingTools/TransientTrack/interface/TransientTrack.h"
00002 #include "TrackingTools/TransientTrack/interface/TrackTransientTrack.h"
00003 
00004 #include <iostream>
00005 
00006 using namespace reco;
00007 
00008 typedef TrackTransientTrack                              TTT;
00009 
00010 TransientTrack::TransientTrack() : 
00011   Base() {}
00012 
00013 TransientTrack::TransientTrack( const Track & tk , const MagneticField* field) : 
00014   Base( new TTT(tk, field)) {}
00015 
00016 
00017 TransientTrack::TransientTrack( const TrackRef & tk , const MagneticField* field) : 
00018   Base( new TTT(tk, field)) {}
00019 
00020 TransientTrack::TransientTrack( const Track & tk , const MagneticField* field,
00021                                 const edm::ESHandle<GlobalTrackingGeometry>& tg) :
00022   Base( new TTT(tk, field, tg)) {}
00023 
00024 TransientTrack::TransientTrack( const TrackRef & tk , const MagneticField* field,
00025                                 const edm::ESHandle<GlobalTrackingGeometry>& tg) :
00026   Base( new TTT(tk, field, tg)) {}
00027 
00028 
00029 // TransientTrack::TransientTrack( const TransientTrack & tt ) :
00030 //   Base( new TTT(tt)) {}
00031 
00032 
00033 // TransientTrack& TransientTrack::operator=(const TransientTrack & tt) {
00034 // //   std::cout << "assign op." << std::endl;
00035 //   if (this == &tt) return *this;
00036 //   //
00037 //   //  std::cout << tt.tk_ << std::endl;
00038 // //   std::cout << "assign base." << std::endl;
00039 //   Track::operator=(tt);
00040 // //   std::cout << "done assign base." << std::endl;
00041 //   //  tk_ = &(tt.persistentTrack());
00042 //   //  tk_ = tt.tk_;
00043 // //   std::cout << "assign ref." << std::endl;
00044 //   tkr_ = tt.persistentTrackRef();
00045 //   initialTSOSAvailable =  tt.initialTSOSAvailable;
00046 //   initialTSCPAvailable = tt.initialTSCPAvailable;
00047 //   initialTSCP = tt.initialTSCP;
00048 //   initialTSOS = tt.initialTSOS;
00049 //   theField = tt.field();
00050 //   initialFTS = tt.initialFreeState();
00051 // //   std::cout << "assign op. OK" << std::endl;
00052 //   
00053 //   return *this;
00054 // }