CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/SimDataFormats/Forward/src/LHCTransportLink.cc

Go to the documentation of this file.
00001 #include "SimDataFormats/Forward/interface/LHCTransportLink.h"
00002 #include <iomanip>
00003 
00004 void LHCTransportLink::fill(int & afterHector, int & beforeHector) {
00005   afterHector_ = afterHector;
00006   beforeHector_ = beforeHector;
00007 }
00008 
00009 int LHCTransportLink::beforeHector() const {
00010   return beforeHector_;
00011 }
00012 
00013 int LHCTransportLink::afterHector() const {
00014   return afterHector_;
00015 }
00016 
00017 void LHCTransportLink::clear(){
00018   afterHector_ = 0;
00019   beforeHector_ = 0;
00020 } 
00021 
00022 std::ostream & operator <<(std::ostream & o , const LHCTransportLink & t){
00023 
00024   o << "before Hector " << t.beforeHector() << " after Hector " << t.afterHector(); 
00025   return o;
00026 
00027 }
00028