Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-12-17 09:22:13

0001 #ifndef G4TPC_PHG4TPCPADPLANE_H
0002 #define G4TPC_PHG4TPCPADPLANE_H
0003 
0004 #include <fun4all/SubsysReco.h>
0005 
0006 #include <g4main/PHG4HitContainer.h>
0007 #include "TpcClusterBuilder.h"
0008 
0009 #include <phparameter/PHParameterInterface.h>
0010 
0011 #include <string>  // for string
0012 
0013 class TrkrHitSetContainer;
0014 class TrkrHitTruthAssoc;
0015 
0016 class PHCompositeNode;
0017 class TNtuple;
0018 
0019 class PHG4TpcPadPlane : public SubsysReco, public PHParameterInterface
0020 {
0021  public:
0022   PHG4TpcPadPlane(const std::string &name = "PHG4TpcPadPlane");
0023 
0024   int process_event(PHCompositeNode *) final
0025   {
0026     return 0;
0027   }
0028 
0029   virtual void SetDriftVelocity(double /*vd*/) { return; }
0030   virtual void SetReadoutTime(float) { return; }
0031   int InitRun(PHCompositeNode *topNode) override;
0032   virtual void UpdateInternalParameters() { return; }
0033   //  virtual void MapToPadPlane(PHG4CellContainer * /*g4cells*/, const double /*x_gem*/, const double /*y_gem*/, const double /*t_gem*/, const unsigned int /*side*/, PHG4HitContainer::ConstIterator /*hiter*/, TNtuple * /*ntpad*/, TNtuple * /*nthit*/) {}
0034   virtual void MapToPadPlane(TpcClusterBuilder & /*builder*/, TrkrHitSetContainer * /*single_hitsetcontainer*/, TrkrHitSetContainer * /*hitsetcontainer*/, TrkrHitTruthAssoc * /*hittruthassoc*/, const double /*x_gem*/, const double /*y_gem*/, const double /*t_gem*/, const unsigned int /*side*/, PHG4HitContainer::ConstIterator /*hiter*/, TNtuple * /*ntpad*/, TNtuple * /*nthit*/) = 0;  // { return {}; }
0035   void Detector(const std::string &name) { detector = name; }
0036 
0037  protected:
0038   std::string detector;
0039 };
0040 
0041 #endif