ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHG4TpcPadPlane Class Reference

#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")
 
 ~PHG4TpcPadPlane () override
 
int process_event (PHCompositeNode *) final
 
int InitRun (PHCompositeNode *topNode) override
 
virtual int CreateReadoutGeometry (PHCompositeNode *, PHG4CylinderCellGeomContainer *)
 
virtual void UpdateInternalParameters ()
 
virtual void MapToPadPlane (PHG4CellContainer *, const double, const double, const double, PHG4HitContainer::ConstIterator, TNtuple *, TNtuple *)
 
virtual void MapToPadPlane (TrkrHitSetContainer *, TrkrHitSetContainer *, TrkrHitTruthAssoc *, const double, const double, const double, PHG4HitContainer::ConstIterator, TNtuple *, TNtuple *)
 
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
 
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)
 

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 = 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

PHG4TpcPadPlane::~PHG4TpcPadPlane ( )
inlineoverride

Definition at line 25 of file PHG4TpcPadPlane.h.

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

Member Function Documentation

virtual int PHG4TpcPadPlane::CreateReadoutGeometry ( PHCompositeNode ,
PHG4CylinderCellGeomContainer  
)
inlinevirtual

Reimplemented in PHG4TpcPadPlaneReadout.

Definition at line 32 of file PHG4TpcPadPlane.h.

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

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

Definition at line 36 of file PHG4TpcPadPlane.h.

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

References detector.

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.

Definition at line 21 of file PHG4TpcPadPlane.cc.

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

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

+ Here is the call graph for this function:

virtual void PHG4TpcPadPlane::MapToPadPlane ( PHG4CellContainer ,
const double  ,
const double  ,
const double  ,
PHG4HitContainer::ConstIterator  ,
TNtuple *  ,
TNtuple *   
)
inlinevirtual

Reimplemented in PHG4TpcPadPlaneReadout.

Definition at line 34 of file PHG4TpcPadPlane.h.

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

virtual void PHG4TpcPadPlane::MapToPadPlane ( TrkrHitSetContainer ,
TrkrHitSetContainer ,
TrkrHitTruthAssoc ,
const double  ,
const double  ,
const double  ,
PHG4HitContainer::ConstIterator  ,
TNtuple *  ,
TNtuple *   
)
inlinevirtual

Reimplemented in PHG4TpcPadPlaneReadout.

Definition at line 35 of file PHG4TpcPadPlane.h.

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

int PHG4TpcPadPlane::process_event ( PHCompositeNode )
inlinefinalvirtual

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

Reimplemented from SubsysReco.

Definition at line 27 of file PHG4TpcPadPlane.h.

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

virtual void PHG4TpcPadPlane::UpdateInternalParameters ( )
inlinevirtual

Reimplemented in PHG4TpcPadPlaneReadout.

Definition at line 33 of file PHG4TpcPadPlane.h.

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

Referenced by InitRun().

+ Here is the caller graph for this function:

Member Data Documentation

std::string PHG4TpcPadPlane::detector
protected

Definition at line 39 of file PHG4TpcPadPlane.h.

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

Referenced by Detector(), and InitRun().


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