/search.css" rel="stylesheet" type="text/css"/> /search.js">
00001 #include "PerGenEvent/PerGenVertex.h" 00002 00003 PerGenVertex::PerGenVertex() 00004 : position() 00005 , particlesIn() 00006 , particlesOut() 00007 , id(0) 00008 , weights() 00009 , barcode(0) 00010 { 00011 } 00012 PerGenVertex::PerGenVertex(CLHEP::HepLorentzVector in_position, 00013 int in_id, int in_barcode, 00014 const HepMC::WeightContainer &in_weights) 00015 : position(in_position) 00016 , particlesIn() // must be set later 00017 , particlesOut() // must be set later 00018 , id(in_id) 00019 , weights(in_weights.begin(),in_weights.end()) 00020 , barcode(in_barcode) 00021 { 00022 } 00023 00024 PerGenVertex::~PerGenVertex() 00025 { 00026 // everything owned by value, nothing to delete here. 00027 }