Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-05 08:18:18

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 PHG4TpcCylinderGeomContainer;
0018 class TNtuple;
0019 
0020 class PHG4TpcPadPlane : public SubsysReco, public PHParameterInterface
0021 {
0022  public:
0023   PHG4TpcPadPlane(const std::string &name = "PHG4TpcPadPlane");
0024 
0025   int process_event(PHCompositeNode *) final
0026   { return 0; }
0027 
0028   virtual void SetDriftVelocity(double /*vd*/) {return;}
0029   virtual void SetReadoutTime(float) { return; }
0030   int InitRun(PHCompositeNode *topNode) override;
0031   virtual void UpdateInternalParameters() { return; }
0032   //  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*/) {}
0033   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 {}; }
0034   void Detector(const std::string &name) { detector = name; }
0035 
0036  protected:
0037   std::string detector;
0038 };
0039 
0040 #endif