Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-03 08:16:17

0001 // Tell emacs that this is a C++ source
0002 //  -*- C++ -*-.
0003 #ifndef FERMIMOTIONAFTERBURNER_H
0004 #define FERMIMOTIONAFTERBURNER_H
0005 
0006 #include <fun4all/SubsysReco.h>
0007 
0008 #include <gsl/gsl_rng.h>
0009 
0010 #include <string>
0011 
0012 class PHCompositeNode;
0013 
0014 class FermimotionAfterburner : public SubsysReco
0015 {
0016  public:
0017   FermimotionAfterburner(const std::string &name = "FermimotionAfterburner", const double pTspec = 0.05);
0018 
0019   virtual ~FermimotionAfterburner();
0020 
0021   /** Called during initialization.
0022       Typically this is where you can book histograms, and e.g.
0023       register them to Fun4AllServer (so they can be output to file
0024       using Fun4AllServer::dumpHistos() method).
0025    */
0026   int Init(PHCompositeNode *topNode) override;
0027 
0028   /** Called for each event.
0029       This is where you do the real work.
0030    */
0031   int process_event(PHCompositeNode *topNode) override;
0032 
0033  private:
0034   void AddpF(PHCompositeNode *);
0035 
0036   gsl_rng *RandomGenerator;
0037   double m_pTspec;
0038 };
0039 
0040 #endif  // FERMIMOTIONAFTERBURNER_H