Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-06 08:17:31

0001 // Tell emacs that this is a C++ source
0002 //  -*- C++ -*-.
0003 #ifndef CALOEMBEDDING_HEPMCCOLLISIONVERTEX_H
0004 #define CALOEMBEDDING_HEPMCCOLLISIONVERTEX_H
0005 
0006 #include <fun4all/SubsysReco.h>
0007 
0008 #include <string>
0009 
0010 class PHCompositeNode;
0011 
0012 class HepMCCollisionVertex : public SubsysReco
0013 {
0014  public:
0015   HepMCCollisionVertex(const std::string &name = "HepMCCollisionVertex");
0016 
0017   ~HepMCCollisionVertex() override = default;
0018 
0019   /** Called for first event when run number is known.
0020       Typically this is where you may want to fetch data from
0021       database, because you know the run number. A place
0022       to book histograms which have to know the run number.
0023    */
0024   int InitRun(PHCompositeNode *topNode) override;
0025 
0026   /** Called for each event.
0027       This is where you do the real work.
0028    */
0029   int process_event(PHCompositeNode *topNode) override;
0030 
0031  private:
0032 };
0033 
0034 #endif  // CALOEMBEDDING_HEPMCCOLLISIONVERTEX_H