Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHG4TpcPadPlane Class Referenceabstract

#include <coresoftware/blob/master/simulation/g4simulation/g4tpc/PHG4TpcPadPlane.h>

+ Inheritance diagram for PHG4TpcPadPlane:
+ Collaboration diagram for PHG4TpcPadPlane:

Public Member Functions

 PHG4TpcPadPlane (const std::string &name="PHG4TpcPadPlane")
 
int process_event (PHCompositeNode *) final
 
virtual void SetDriftVelocity (double)
 
virtual void SetReadoutTime (float)
 
int InitRun (PHCompositeNode *topNode) override
 
virtual void UpdateInternalParameters ()
 
virtual void MapToPadPlane (TpcClusterBuilder &, TrkrHitSetContainer *, TrkrHitSetContainer *, TrkrHitTruthAssoc *, const double, const double, const double, const unsigned int, PHG4HitContainer::ConstIterator, TNtuple *, TNtuple *)=0
 
void Detector (const std::string &name)
 
- Public Member Functions inherited from SubsysReco
 ~SubsysReco () override
 
virtual int End (PHCompositeNode *)
 Called at the end of all processing.
 
virtual int EndRun (const int)
 Called at the end of each run.
 
virtual int Init (PHCompositeNode *)
 
virtual int Reset (PHCompositeNode *)
 Reset.
 
virtual int ResetEvent (PHCompositeNode *)
 Clean up after each event.
 
void Print (const std::string &="ALL") const override
 
- Public Member Functions inherited from Fun4AllBase
virtual ~Fun4AllBase ()
 
virtual const std::string Name () const
 Returns the name of this module.
 
virtual void Name (const std::string &name)
 Sets the name of this module.
 
virtual void Verbosity (const int ival)
 Sets the verbosity of this module (0 by default=quiet).
 
virtual void Verbosity (enu_Verbosity ival)
 Sets the verbosity of this module (0 by default=quiet).
 
virtual int Verbosity () const
 Gets the verbosity of this module.
 
- Public Member Functions inherited from PHParameterInterface
 PHParameterInterface (const std::string &name)
 
 PHParameterInterface (const PHParameterInterface &)=delete
 
PHParameterInterfaceoperator= (PHParameterInterface const &)=delete
 
virtual ~PHParameterInterface ()
 
void set_paramname (const std::string &name)
 
virtual void SetDefaultParameters ()=0
 
void set_double_param (const std::string &name, const double dval)
 
double get_double_param (const std::string &name) const
 
void set_int_param (const std::string &name, const int ival)
 
int get_int_param (const std::string &name) const
 
void set_string_param (const std::string &name, const std::string &sval)
 
std::string get_string_param (const std::string &name) const
 
void UpdateParametersWithMacro ()
 
void SaveToNodeTree (PHCompositeNode *runNode, const std::string &nodename)
 
void PutOnParNode (PHCompositeNode *parNode, const std::string &nodename)
 
void Print () const
 

Protected Attributes

std::string detector
 

Additional Inherited Members

- Public Types inherited from Fun4AllBase
enum  enu_Verbosity {
  VERBOSITY_QUIET = 0, VERBOSITY_SOME = 1, VERBOSITY_MORE = 2, VERBOSITY_EVEN_MORE = 3,
  VERBOSITY_A_LOT = 4, VERBOSITY_MAX = std::numeric_limits<int>::max() - 10
}
 
- Protected Member Functions inherited from SubsysReco
 SubsysReco (const std::string &name="NONAME")
 
- Protected Member Functions inherited from PHParameterInterface
void set_default_double_param (const std::string &name, const double dval)
 
void set_default_int_param (const std::string &name, const int ival)
 
void set_default_string_param (const std::string &name, const std::string &sval)
 
void InitializeParameters ()
 

Detailed Description

Definition at line 20 of file PHG4TpcPadPlane.h.

View newest version in sPHENIX GitHub at line 20 of file PHG4TpcPadPlane.h

Constructor & Destructor Documentation

PHG4TpcPadPlane::PHG4TpcPadPlane ( const std::string &  name = "PHG4TpcPadPlane")

Definition at line 14 of file PHG4TpcPadPlane.cc.

View newest version in sPHENIX GitHub at line 14 of file PHG4TpcPadPlane.cc

Member Function Documentation

void PHG4TpcPadPlane::Detector ( const std::string &  name)
inline

Definition at line 34 of file PHG4TpcPadPlane.h.

View newest version in sPHENIX GitHub at line 34 of file PHG4TpcPadPlane.h

References perf_headwind::name.

Referenced by TpcPrototypeUnpacker::registerPadPlane().

+ Here is the caller graph for this function:

int PHG4TpcPadPlane::InitRun ( PHCompositeNode )
overridevirtual

Called for first event when run number is known. Typically this is where you may want to fetch data from database, because you know the run number.

Reimplemented from SubsysReco.

Reimplemented in PHG4TpcPadPlaneReadout.

Definition at line 21 of file PHG4TpcPadPlane.cc.

View newest version in sPHENIX GitHub at line 21 of file PHG4TpcPadPlane.cc

References PHCompositeNode::addNode(), Fun4AllReturnCodes::EVENT_OK, PHNodeIterator::findFirst(), PHParameterInterface::PutOnParNode(), PHParameterInterface::SaveToNodeTree(), UpdateInternalParameters(), and PHParameterInterface::UpdateParametersWithMacro().

Referenced by PHG4TpcPadPlaneReadout::InitRun(), and TpcPrototypeUnpacker::InitRun().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

virtual void PHG4TpcPadPlane::MapToPadPlane ( TpcClusterBuilder ,
TrkrHitSetContainer ,
TrkrHitSetContainer ,
TrkrHitTruthAssoc ,
const double  ,
const double  ,
const double  ,
const unsigned  int,
PHG4HitContainer::ConstIterator  ,
TNtuple *  ,
TNtuple *   
)
pure virtual

Implemented in PHG4TpcPadPlaneReadout.

int PHG4TpcPadPlane::process_event ( PHCompositeNode )
inlinefinalvirtual

Called for each event. This is where you do the real work.

Reimplemented from SubsysReco.

Definition at line 25 of file PHG4TpcPadPlane.h.

View newest version in sPHENIX GitHub at line 25 of file PHG4TpcPadPlane.h

virtual void PHG4TpcPadPlane::SetDriftVelocity ( double  )
inlinevirtual

Reimplemented in PHG4TpcPadPlaneReadout.

Definition at line 28 of file PHG4TpcPadPlane.h.

View newest version in sPHENIX GitHub at line 28 of file PHG4TpcPadPlane.h

virtual void PHG4TpcPadPlane::SetReadoutTime ( float  )
inlinevirtual

Reimplemented in PHG4TpcPadPlaneReadout.

Definition at line 29 of file PHG4TpcPadPlane.h.

View newest version in sPHENIX GitHub at line 29 of file PHG4TpcPadPlane.h

virtual void PHG4TpcPadPlane::UpdateInternalParameters ( )
inlinevirtual

Reimplemented in PHG4TpcPadPlaneReadout.

Definition at line 31 of file PHG4TpcPadPlane.h.

View newest version in sPHENIX GitHub at line 31 of file PHG4TpcPadPlane.h

Referenced by InitRun(), and TpcPrototypeUnpacker::registerPadPlane().

+ Here is the caller graph for this function:

Member Data Documentation

std::string PHG4TpcPadPlane::detector
protected

Definition at line 37 of file PHG4TpcPadPlane.h.

View newest version in sPHENIX GitHub at line 37 of file PHG4TpcPadPlane.h


The documentation for this class was generated from the following files: