File indexing completed on 2024-04-06 12:29:41
0001 #include "SimDataFormats/Forward/interface/LHCTransportLink.h"
0002 #include <iomanip>
0003
0004 void LHCTransportLink::fill(int& afterHector, int& beforeHector) {
0005 afterHector_ = afterHector;
0006 beforeHector_ = beforeHector;
0007 }
0008
0009 int LHCTransportLink::beforeHector() const { return beforeHector_; }
0010
0011 int LHCTransportLink::afterHector() const { return afterHector_; }
0012
0013 void LHCTransportLink::clear() {
0014 afterHector_ = 0;
0015 beforeHector_ = 0;
0016 }
0017
0018 std::ostream& operator<<(std::ostream& o, const LHCTransportLink& t) {
0019 o << "before Hector " << t.beforeHector() << " after Hector " << t.afterHector();
0020 return o;
0021 }