CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_4_5_patch3/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 
00011 TransientTrack::TransientTrack( const Track & tk , const MagneticField* field) : 
00012   Base( new TTT(tk, field)) {}
00013 
00014 
00015 TransientTrack::TransientTrack( const TrackRef & tk , const MagneticField* field) : 
00016   Base( new TTT(tk, field)) {}
00017 
00018 TransientTrack::TransientTrack( const Track & tk , const MagneticField* field,
00019                                 const edm::ESHandle<GlobalTrackingGeometry>& tg) :
00020   Base( new TTT(tk, field, tg)) {}
00021 
00022 TransientTrack::TransientTrack( const TrackRef & tk , const MagneticField* field,
00023                                 const edm::ESHandle<GlobalTrackingGeometry>& tg) :
00024   Base( new TTT(tk, field, tg)) {}
00025 
00026 
00027 // TransientTrack::TransientTrack( const TransientTrack & tt ) :
00028 //   Base( new TTT(tt)) {}
00029 
00030 
00031 // TransientTrack& TransientTrack::operator=(const TransientTrack & tt) {
00032 // //   std::cout << "assign op." << std::endl;
00033 //   if (this == &tt) return *this;
00034 //   //
00035 //   //  std::cout << tt.tk_ << std::endl;
00036 // //   std::cout << "assign base." << std::endl;
00037 //   Track::operator=(tt);
00038 // //   std::cout << "done assign base." << std::endl;
00039 //   //  tk_ = &(tt.persistentTrack());
00040 //   //  tk_ = tt.tk_;
00041 // //   std::cout << "assign ref." << std::endl;
00042 //   tkr_ = tt.persistentTrackRef();
00043 //   initialTSOSAvailable =  tt.initialTSOSAvailable;
00044 //   initialTSCPAvailable = tt.initialTSCPAvailable;
00045 //   initialTSCP = tt.initialTSCP;
00046 //   initialTSOS = tt.initialTSOS;
00047 //   theField = tt.field();
00048 //   initialFTS = tt.initialFreeState();
00049 // //   std::cout << "assign op. OK" << std::endl;
00050 //   
00051 //   return *this;
00052 // }