/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Namespaces | Classes | Enumerations | Functions | Variables
HepMC Namespace Reference

All classes in the HepMC packages are in the HepMC namespace. More...

Namespaces

namespace  detail

Classes

class  CommonIO
class  Flow
 The flow object. More...
class  GenEvent
 The GenEvent class is the core of HepMC. More...
class  GenParticle
 The GenParticle class contains information about generated particles. More...
class  GenVertex
 GenVertex contains information about decay vertices. More...
class  HeavyIon
 The HeavyIon class stores information about heavy ions. More...
class  HEPEVT_Wrapper
 Generic Wrapper for the fortran HEPEVT common block. More...
class  IO_Ascii
 IO_Ascii is used to read or write from an ascii file. More...
class  IO_AsciiParticles
 event input/output in ascii format for eye and machine reading More...
class  IO_BaseClass
 all input/output classes inherit from IO_BaseClass More...
class  IO_ExtendedAscii
 IO_ExtendedAscii also deals with HeavyIon and PdfInfo. More...
class  IO_GenEvent
 IO_GenEvent also deals with HeavyIon and PdfInfo. More...
class  IO_HEPEVT
 HEPEVT IO class. More...
class  IO_HERWIG
 IO_HERWIG is used to get Herwig information. More...
class  IO_PDG_ParticleDataTable
 an example ParticleDataTable IO method More...
class  ParticleData
 an example ParticleData class More...
class  ParticleDataTable
 an example ParticleDataTable class More...
class  PdfInfo
 The PdfInfo class stores PDF information. More...
class  Polarization
 The Polarization class stores theta and phi for a GenParticle. More...
class  FourVector
 FourVector is a simple representation of a physics 4 vector. More...
class  ThreeVector
 ThreeVector is a simple representation of a position or displacement 3 vector. More...
class  TempParticleMap
 TempParticleMap is a temporary GenParticle* container used during input. More...
class  WeightContainer
 Container for the Weights associated with an event or vertex. More...

Enumerations

enum  known_io {
  gen = 1, ascii, extascii, ascii_pdt,
  extascii_pdt
}
 The known_io enum is used to track which type of input is being read. More...
enum  IteratorRange {
  parents, children, family, ancestors,
  descendants, relatives
}
 type of iteration More...

Functions

bool compareGenEvent (GenEvent *, GenEvent *)
bool compareSignalProcessVertex (GenEvent *, GenEvent *)
bool compareBeamParticles (GenEvent *, GenEvent *)
bool compareWeights (GenEvent *, GenEvent *)
bool compareVertices (GenEvent *, GenEvent *)
bool compareParticles (GenEvent *, GenEvent *)
bool compareVertex (GenVertex *v1, GenVertex *v2)
template<class InputIterator , class OutputIterator , class Predicate >
void copy_if (InputIterator first, InputIterator last, OutputIterator out, Predicate pred)
 define the type of iterator to use
double clifetime_from_width (double width)
 set lifetime from width
bool not_in_vector (std::vector< HepMC::GenParticle * > *, GenParticle *)
 returns true if it cannot find GenParticle* in the vector
std::vector
< HepMC::GenParticle * >
::iterator 
already_in_vector (std::vector< HepMC::GenParticle * > *, GenParticle *)
 Returns the index of a GenParticle* within a vector.
void version ()
 print HepMC version
void writeVersion (std::ostream &os)
 write HepMC version to os
std::string versionName ()
 return HepMC version

Variables

static const double HepMC_hbarc
 hbar * c --> calculated with units of [mm*GeV]
static const double HepMC_pi = 3.14159265358979323846

Detailed Description

All classes in the HepMC packages are in the HepMC namespace.


Enumeration Type Documentation

The known_io enum is used to track which type of input is being read.

Enumerator:
gen 
ascii 
extascii 
ascii_pdt 
extascii_pdt 

Definition at line 22 of file CommonIO.h.

type of iteration

Enumerator:
parents 
children 
family 
ancestors 
descendants 
relatives 

Definition at line 35 of file GenVertex.h.


Function Documentation

bool HepMC::compareGenEvent ( GenEvent *  ,
GenEvent *   
)
bool HepMC::compareSignalProcessVertex ( GenEvent *  ,
GenEvent *   
)
bool HepMC::compareBeamParticles ( GenEvent *  ,
GenEvent *   
)
bool HepMC::compareWeights ( GenEvent *  ,
GenEvent *   
)
bool HepMC::compareVertices ( GenEvent *  ,
GenEvent *   
)
bool HepMC::compareParticles ( GenEvent *  ,
GenEvent *   
)
bool HepMC::compareVertex ( GenVertex *  v1,
GenVertex *  v2 
)
template<class InputIterator , class OutputIterator , class Predicate >
void HepMC::copy_if ( InputIterator  first,
InputIterator  last,
OutputIterator  out,
Predicate  pred 
)

define the type of iterator to use

Definition at line 50 of file GenEvent.h.

                                   {
        for ( ; first != last; ++first ) { if ( pred(*first) ) out = *first; }
    }
double HepMC::clifetime_from_width ( double  width)

set lifetime from width

bool HepMC::not_in_vector ( std::vector< HepMC::GenParticle * > *  ,
GenParticle *   
)

returns true if it cannot find GenParticle* in the vector

std::vector<HepMC::GenParticle*>::iterator HepMC::already_in_vector ( std::vector< HepMC::GenParticle * > *  ,
GenParticle *   
)

Returns the index of a GenParticle* within a vector.

Returns -1 if GenParticle* is not in the vector.

void HepMC::version ( ) [inline]

print HepMC version

Definition at line 26 of file Version.h.

{
    std::cout << " --------------- HepMC Version " << versionName()
              << " --------------- " << std::endl;
}
void HepMC::writeVersion ( std::ostream &  os) [inline]

write HepMC version to os

Definition at line 32 of file Version.h.

{
    os << "             HepMC Version: " << versionName() << std::endl;
}
std::string HepMC::versionName ( ) [inline]

return HepMC version

Definition at line 21 of file Version.h.

{
    return "2.03.09";
}

Variable Documentation

const double HepMC::HepMC_hbarc [static]
Initial value:
 (6.6260755e-34 * (1.e-6/1.60217733e-19) / (2*3.14159265358979323846))
                                        * (2.99792458e+8 * 1000.) * 1.e+3

hbar * c --> calculated with units of [mm*GeV]

Definition at line 56 of file ParticleData.h.

const double HepMC::HepMC_pi = 3.14159265358979323846 [static]

Definition at line 19 of file Polarization.h.

| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 09:49:37 for HepMC by doxygen 1.7.4