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

#include <analysis/blob/master/AntiSigma/src/HijingShowerSize.h>

+ Inheritance diagram for HijingShowerSize:
+ Collaboration diagram for HijingShowerSize:

Public Member Functions

 HijingShowerSize (const std::string &name="HijingShowerSize", const std::string &filename="HijingShowerSize.root")
 constructor
 
virtual ~HijingShowerSize ()
 destructor
 
int Init (PHCompositeNode *)
 full initialization
 
int process_event (PHCompositeNode *)
 event processing method
 
int End (PHCompositeNode *)
 end of run method
 
void AddNode (const std::string &name, const int detid=0)
 
- Public Member Functions inherited from SubsysReco
 ~SubsysReco () override
 
virtual int EndRun (const int)
 Called at the end of each run.
 
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.
 

Protected Attributes

int nblocks
 
Fun4AllHistoManagerhm
 
std::vector< TH1 * > nhits
 
std::vector< TH1 * > eloss
 
std::string _filename
 
std::set< std::string > _node_postfix
 
std::map< std::string, int > _detid
 
TNtuple * ntups
 
TNtuple * ntupe
 
TNtuple * ntup
 
TFile * outfile
 
unsigned int seed
 
gsl_rng * RandomGenerator
 

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 23 of file HijingShowerSize.h.

View newest version in sPHENIX GitHub at line 23 of file HijingShowerSize.h

Constructor & Destructor Documentation

HijingShowerSize::HijingShowerSize ( const std::string &  name = "HijingShowerSize",
const std::string &  filename = "HijingShowerSize.root" 
)

constructor

Definition at line 26 of file HijingShowerSize.cc.

View newest version in sPHENIX GitHub at line 26 of file HijingShowerSize.cc

References gsl_rng_set(), Fun4AllBase::Name(), RandomGenerator, and seed.

+ Here is the call graph for this function:

HijingShowerSize::~HijingShowerSize ( )
virtual

destructor

Definition at line 43 of file HijingShowerSize.cc.

View newest version in sPHENIX GitHub at line 43 of file HijingShowerSize.cc

References hm, and RandomGenerator.

Member Function Documentation

void HijingShowerSize::AddNode ( const std::string &  name,
const int  detid = 0 
)

Definition at line 416 of file HijingShowerSize.cc.

View newest version in sPHENIX GitHub at line 416 of file HijingShowerSize.cc

References _detid, _node_postfix, and perf_headwind::name.

int HijingShowerSize::End ( PHCompositeNode topNode)
virtual

end of run method

Reimplemented from SubsysReco.

Definition at line 402 of file HijingShowerSize.cc.

View newest version in sPHENIX GitHub at line 402 of file HijingShowerSize.cc

References _filename, Fun4AllHistoManager::dumpHistos(), hm, ntupe, ntups, and outfile.

+ Here is the call graph for this function:

int HijingShowerSize::Init ( PHCompositeNode )
virtual

full initialization

Reimplemented from SubsysReco.

Definition at line 52 of file HijingShowerSize.cc.

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

References _filename, hm, Fun4AllBase::Name(), ntup, ntupe, ntups, and outfile.

+ Here is the call graph for this function:

int HijingShowerSize::process_event ( PHCompositeNode topNode)
virtual

event processing method

Reimplemented from SubsysReco.

Definition at line 64 of file HijingShowerSize.cc.

View newest version in sPHENIX GitHub at line 64 of file HijingShowerSize.cc

References PHG4HitContainer::getHits(), i, j, ntup, ntupe, ntups, ActsTests::PropagationDatasets::phi, RandomGenerator, and ActsTests::PropagationDatasets::theta.

+ Here is the call graph for this function:

Member Data Documentation

std::map<std::string, int> HijingShowerSize::_detid
protected

Definition at line 52 of file HijingShowerSize.h.

View newest version in sPHENIX GitHub at line 52 of file HijingShowerSize.h

Referenced by AddNode().

std::string HijingShowerSize::_filename
protected

Definition at line 50 of file HijingShowerSize.h.

View newest version in sPHENIX GitHub at line 50 of file HijingShowerSize.h

Referenced by End(), and Init().

std::set<std::string> HijingShowerSize::_node_postfix
protected

Definition at line 51 of file HijingShowerSize.h.

View newest version in sPHENIX GitHub at line 51 of file HijingShowerSize.h

Referenced by AddNode().

std::vector<TH1 *> HijingShowerSize::eloss
protected

Definition at line 48 of file HijingShowerSize.h.

View newest version in sPHENIX GitHub at line 48 of file HijingShowerSize.h

Fun4AllHistoManager* HijingShowerSize::hm
protected

Definition at line 46 of file HijingShowerSize.h.

View newest version in sPHENIX GitHub at line 46 of file HijingShowerSize.h

Referenced by End(), Init(), and ~HijingShowerSize().

int HijingShowerSize::nblocks
protected

Definition at line 45 of file HijingShowerSize.h.

View newest version in sPHENIX GitHub at line 45 of file HijingShowerSize.h

std::vector<TH1 *> HijingShowerSize::nhits
protected

Definition at line 47 of file HijingShowerSize.h.

View newest version in sPHENIX GitHub at line 47 of file HijingShowerSize.h

TNtuple* HijingShowerSize::ntup
protected

Definition at line 55 of file HijingShowerSize.h.

View newest version in sPHENIX GitHub at line 55 of file HijingShowerSize.h

Referenced by Init(), and process_event().

TNtuple* HijingShowerSize::ntupe
protected

Definition at line 54 of file HijingShowerSize.h.

View newest version in sPHENIX GitHub at line 54 of file HijingShowerSize.h

Referenced by End(), Init(), and process_event().

TNtuple* HijingShowerSize::ntups
protected

Definition at line 53 of file HijingShowerSize.h.

View newest version in sPHENIX GitHub at line 53 of file HijingShowerSize.h

Referenced by End(), Init(), and process_event().

TFile* HijingShowerSize::outfile
protected

Definition at line 56 of file HijingShowerSize.h.

View newest version in sPHENIX GitHub at line 56 of file HijingShowerSize.h

Referenced by End(), and Init().

gsl_rng* HijingShowerSize::RandomGenerator
protected

Definition at line 59 of file HijingShowerSize.h.

View newest version in sPHENIX GitHub at line 59 of file HijingShowerSize.h

Referenced by HijingShowerSize(), process_event(), and ~HijingShowerSize().

unsigned int HijingShowerSize::seed
protected

Definition at line 57 of file HijingShowerSize.h.

View newest version in sPHENIX GitHub at line 57 of file HijingShowerSize.h

Referenced by HijingShowerSize().


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