Macros

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
#ifndef FastSimulation_Particle_makeParticle_h
#define FastSimulation_Particle_makeParticle_h
// -*- C++ -*-
//
// Package:     FastSimulation/Particle
// Class  :     makeParticle
//
/**\class makeParticle makeParticle.h "FastSimulation/Particle/interface/makeParticle.h"

 Description: functions to create RawParticle from PDG ids

 Usage:
    <usage>

*/
//
// Original Author:  Christopher Jones
//         Created:  Mon, 04 Mar 2019 17:15:34 GMT
//

// system include files
#include "DataFormats/Math/interface/LorentzVector.h"
#include "SimGeneral/HepPDTRecord/interface/ParticleDataTable.h"

// user include files

// forward declarations
class RawParticle;

RawParticle makeParticle(HepPDT::ParticleDataTable const*, int id, const math::XYZTLorentzVector& p);
RawParticle makeParticle(HepPDT::ParticleDataTable const*,
                         int id,
                         const math::XYZTLorentzVector& p,
                         const math::XYZTLorentzVector& xStart);

#endif