CMS 3D CMS Logo

ProtonTransport.h
Go to the documentation of this file.
1 #ifndef PROTONTRANSPORT
2 #define PROTONTRANSPORT
5 #include "HepMC/GenEvent.h"
9 
10 #include <vector>
11 
13 public:
14  ProtonTransport(const edm::ParameterSet& iConfig);
16  if (instance_)
17  delete instance_;
18  };
19 
20  std::vector<LHCTransportLink>& getCorrespondenceMap() { return instance_->getCorrespondenceMap(); }
21  void process(const HepMC::GenEvent* ev, const edm::EventSetup& es, CLHEP::HepRandomEngine* engine) {
22  instance_->process(ev, es, engine);
23  }
25 
26 private:
28 };
29 #endif
ProtonTransport::ProtonTransport
ProtonTransport(const edm::ParameterSet &iConfig)
Definition: ProtonTransport.cc:11
MessageLogger.h
iev
const HitContainer *__restrict__ const TkSoA *__restrict__ const Quality *__restrict__ const CAHitNtupletGeneratorKernelsGPU::HitToTuple *__restrict__ int32_t int iev
Definition: CAHitNtupletGeneratorKernelsImpl.h:862
BaseProtonTransport::process
virtual void process(const HepMC::GenEvent *ev, const edm::EventSetup &es, CLHEP::HepRandomEngine *engine)=0
BaseProtonTransport::addPartToHepMC
void addPartToHepMC(const HepMC::GenEvent *, HepMC::GenEvent *)
Definition: BaseProtonTransport.cc:55
HepMC::GenEvent
Definition: hepmc_rootio.cc:9
ProtonTransport
Definition: ProtonTransport.h:12
edm::ParameterSet
Definition: ParameterSet.h:47
ProtonTransport::instance_
BaseProtonTransport * instance_
Definition: ProtonTransport.h:27
ProtonTransport::getCorrespondenceMap
std::vector< LHCTransportLink > & getCorrespondenceMap()
Definition: ProtonTransport.h:20
BaseProtonTransport.h
BaseProtonTransport
Definition: BaseProtonTransport.h:17
edm::EventSetup
Definition: EventSetup.h:58
ProtonTransport::~ProtonTransport
~ProtonTransport()
Definition: ProtonTransport.h:15
ProtonTransport::process
void process(const HepMC::GenEvent *ev, const edm::EventSetup &es, CLHEP::HepRandomEngine *engine)
Definition: ProtonTransport.h:21
ProtonTransport::addPartToHepMC
void addPartToHepMC(const HepMC::GenEvent *iev, HepMC::GenEvent *ev)
Definition: ProtonTransport.h:24
ev
bool ev
Definition: Hydjet2Hadronizer.cc:97
EventSetup.h
BaseProtonTransport::getCorrespondenceMap
std::vector< LHCTransportLink > & getCorrespondenceMap()
Definition: BaseProtonTransport.h:22
ParameterSet.h