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

#include <coresoftware/blob/master/generators/HIJINGFlipAfterburner/HIJINGFlipAfterburner.h>

+ Inheritance diagram for HIJINGFlipAfterburner:
+ Collaboration diagram for HIJINGFlipAfterburner:

Public Member Functions

 HIJINGFlipAfterburner (const std::string &name="HIJINGFlipAfterburner")
 
 ~HIJINGFlipAfterburner () override=default
 
int process_event (PHCompositeNode *topNode) override
 
- 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 InitRun (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.
 

Private Member Functions

void flipZDirection (HepMC::GenEvent *event)
 

Private Attributes

bool doFlip true
 

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")
 

Detailed Description

Definition at line 16 of file HIJINGFlipAfterburner.h.

View newest version in sPHENIX GitHub at line 16 of file HIJINGFlipAfterburner.h

Constructor & Destructor Documentation

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

Definition at line 24 of file HIJINGFlipAfterburner.cc.

View newest version in sPHENIX GitHub at line 24 of file HIJINGFlipAfterburner.cc

HIJINGFlipAfterburner::~HIJINGFlipAfterburner ( )
overridedefault

Member Function Documentation

void HIJINGFlipAfterburner::flipZDirection ( HepMC::GenEvent *  event)
private

Definition at line 52 of file HIJINGFlipAfterburner.cc.

View newest version in sPHENIX GitHub at line 52 of file HIJINGFlipAfterburner.cc

References assert, momentum, merge_hashes::p, position, and testSigmaEff::v.

Referenced by process_event().

+ Here is the caller graph for this function:

int HIJINGFlipAfterburner::process_event ( PHCompositeNode )
overridevirtual

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

Reimplemented from SubsysReco.

Definition at line 30 of file HIJINGFlipAfterburner.cc.

View newest version in sPHENIX GitHub at line 30 of file HIJINGFlipAfterburner.cc

References assert, Fun4AllReturnCodes::EVENT_OK, flipZDirection(), and PHHepMCGenEvent::getEvent().

+ Here is the call graph for this function:

Member Data Documentation

bool doFlip HIJINGFlipAfterburner::true
private

Definition at line 27 of file HIJINGFlipAfterburner.h.

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


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