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

#include <analysis/blob/master/JS-Jet/JetUESize-v2Psi2Centrality/src/UEvsEtaCentrality.h>

+ Inheritance diagram for UEvsEtaCentrality:
+ Collaboration diagram for UEvsEtaCentrality:

Public Member Functions

 UEvsEtaCentrality (const std::string &name="UEvsEtaCentrality", const std::string &outputfilename="UEvsEtaCentrality.root")
 
 ~UEvsEtaCentrality () override
 
int Init (PHCompositeNode *topNode) override
 
int InitRun (PHCompositeNode *topNode) override
 
int process_event (PHCompositeNode *topNode) override
 
int ResetEvent (PHCompositeNode *topNode) override
 Clean up internals after each event.
 
int EndRun (const int runnumber) override
 Called at the end of each run.
 
int End (PHCompositeNode *topNode) override
 Called at the end of all processing.
 
int Reset (PHCompositeNode *) override
 Reset.
 
void Print (const std::string &what="ALL") const override
 
- Public Member Functions inherited from SubsysReco
 ~SubsysReco () override
 
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 Attributes

std::string m_outputFileName
 
TH2F * hv2_cent = nullptr
 
TH2F * hPsi2_cent = nullptr
 
TH2F * hUEiHcalEta_Cent0_20 = nullptr
 
TH2F * hUEoHcalEta_Cent0_20 = nullptr
 
TH2F * hUEemcalEta_Cent0_20 = nullptr
 
TH2F * hUEiHcalEta_Cent20_50 = nullptr
 
TH2F * hUEoHcalEta_Cent20_50 = nullptr
 
TH2F * hUEemcalEta_Cent20_50 = nullptr
 
TH2F * hUEiHcalEta_Cent50_100 = nullptr
 
TH2F * hUEoHcalEta_Cent50_100 = nullptr
 
TH2F * hUEemcalEta_Cent50_100 = nullptr
 

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 14 of file UEvsEtaCentrality.h.

View newest version in sPHENIX GitHub at line 14 of file UEvsEtaCentrality.h

Constructor & Destructor Documentation

UEvsEtaCentrality::UEvsEtaCentrality ( const std::string &  name = "UEvsEtaCentrality",
const std::string &  outputfilename = "UEvsEtaCentrality.root" 
)

Definition at line 92 of file UEvsEtaCentrality.cc.

View newest version in sPHENIX GitHub at line 92 of file UEvsEtaCentrality.cc

UEvsEtaCentrality::~UEvsEtaCentrality ( )
override

Definition at line 100 of file UEvsEtaCentrality.cc.

View newest version in sPHENIX GitHub at line 100 of file UEvsEtaCentrality.cc

Member Function Documentation

int UEvsEtaCentrality::End ( PHCompositeNode topNode)
overridevirtual

Called at the end of all processing.

Reimplemented from SubsysReco.

Definition at line 248 of file UEvsEtaCentrality.cc.

View newest version in sPHENIX GitHub at line 248 of file UEvsEtaCentrality.cc

References PHTFileServer::cd(), Fun4AllReturnCodes::EVENT_OK, PHTFileServer::get(), hPsi2_cent, hUEemcalEta_Cent0_20, hUEemcalEta_Cent20_50, hUEemcalEta_Cent50_100, hUEiHcalEta_Cent0_20, hUEiHcalEta_Cent20_50, hUEiHcalEta_Cent50_100, hUEoHcalEta_Cent0_20, hUEoHcalEta_Cent20_50, hUEoHcalEta_Cent50_100, hv2_cent, and m_outputFileName.

+ Here is the call graph for this function:

int UEvsEtaCentrality::EndRun ( const int  runnumber)
overridevirtual

Called at the end of each run.

Reimplemented from SubsysReco.

Definition at line 241 of file UEvsEtaCentrality.cc.

View newest version in sPHENIX GitHub at line 241 of file UEvsEtaCentrality.cc

References Fun4AllReturnCodes::EVENT_OK.

int UEvsEtaCentrality::Init ( PHCompositeNode topNode)
overridevirtual

Called during initialization. Typically this is where you can book histograms, and e.g. register them to Fun4AllServer (so they can be output to file using Fun4AllServer::dumpHistos() method).

Reimplemented from SubsysReco.

Definition at line 106 of file UEvsEtaCentrality.cc.

View newest version in sPHENIX GitHub at line 106 of file UEvsEtaCentrality.cc

References Fun4AllReturnCodes::EVENT_OK, PHTFileServer::get(), hPsi2_cent, hUEemcalEta_Cent0_20, hUEemcalEta_Cent20_50, hUEemcalEta_Cent50_100, hUEiHcalEta_Cent0_20, hUEiHcalEta_Cent20_50, hUEiHcalEta_Cent50_100, hUEoHcalEta_Cent0_20, hUEoHcalEta_Cent20_50, hUEoHcalEta_Cent50_100, hv2_cent, m_outputFileName, PHTFileServer::open(), Fun4AllBase::Verbosity(), and Fun4AllBase::VERBOSITY_SOME.

+ Here is the call graph for this function:

int UEvsEtaCentrality::InitRun ( PHCompositeNode topNode)
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. A place to book histograms which have to know the run number.

Reimplemented from SubsysReco.

Definition at line 133 of file UEvsEtaCentrality.cc.

View newest version in sPHENIX GitHub at line 133 of file UEvsEtaCentrality.cc

References Fun4AllReturnCodes::EVENT_OK.

void UEvsEtaCentrality::Print ( const std::string &  what = "ALL") const
overridevirtual

Print out some info about this module.

Parameters
whatcan be used to specify what to print exactly.

Reimplemented from Fun4AllBase.

Definition at line 276 of file UEvsEtaCentrality.cc.

View newest version in sPHENIX GitHub at line 276 of file UEvsEtaCentrality.cc

int UEvsEtaCentrality::process_event ( PHCompositeNode topNode)
overridevirtual

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

Reimplemented from SubsysReco.

Definition at line 140 of file UEvsEtaCentrality.cc.

View newest version in sPHENIX GitHub at line 140 of file UEvsEtaCentrality.cc

References eta, Fun4AllReturnCodes::EVENT_OK, CentralityInfo::get_centile(), TowerBackground::get_Psi2(), TowerBackground::get_UE(), TowerBackground::get_v2(), hPsi2_cent, hUEemcalEta_Cent0_20, hUEemcalEta_Cent20_50, hUEemcalEta_Cent50_100, hUEiHcalEta_Cent0_20, hUEiHcalEta_Cent20_50, hUEiHcalEta_Cent50_100, hUEoHcalEta_Cent0_20, hUEoHcalEta_Cent20_50, hUEoHcalEta_Cent50_100, hv2_cent, and i.

+ Here is the call graph for this function:

int UEvsEtaCentrality::Reset ( PHCompositeNode topNode)
overridevirtual

Reset.

Reimplemented from SubsysReco.

Definition at line 269 of file UEvsEtaCentrality.cc.

View newest version in sPHENIX GitHub at line 269 of file UEvsEtaCentrality.cc

References Fun4AllReturnCodes::EVENT_OK.

int UEvsEtaCentrality::ResetEvent ( PHCompositeNode topNode)
overridevirtual

Clean up internals after each event.

Reimplemented from SubsysReco.

Definition at line 231 of file UEvsEtaCentrality.cc.

View newest version in sPHENIX GitHub at line 231 of file UEvsEtaCentrality.cc

References Fun4AllReturnCodes::EVENT_OK.

Member Data Documentation

TH2F* UEvsEtaCentrality::hPsi2_cent = nullptr
private

Definition at line 60 of file UEvsEtaCentrality.h.

View newest version in sPHENIX GitHub at line 60 of file UEvsEtaCentrality.h

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

TH2F* UEvsEtaCentrality::hUEemcalEta_Cent0_20 = nullptr
private

Definition at line 64 of file UEvsEtaCentrality.h.

View newest version in sPHENIX GitHub at line 64 of file UEvsEtaCentrality.h

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

TH2F* UEvsEtaCentrality::hUEemcalEta_Cent20_50 = nullptr
private

Definition at line 68 of file UEvsEtaCentrality.h.

View newest version in sPHENIX GitHub at line 68 of file UEvsEtaCentrality.h

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

TH2F* UEvsEtaCentrality::hUEemcalEta_Cent50_100 = nullptr
private

Definition at line 72 of file UEvsEtaCentrality.h.

View newest version in sPHENIX GitHub at line 72 of file UEvsEtaCentrality.h

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

TH2F* UEvsEtaCentrality::hUEiHcalEta_Cent0_20 = nullptr
private

Definition at line 62 of file UEvsEtaCentrality.h.

View newest version in sPHENIX GitHub at line 62 of file UEvsEtaCentrality.h

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

TH2F* UEvsEtaCentrality::hUEiHcalEta_Cent20_50 = nullptr
private

Definition at line 66 of file UEvsEtaCentrality.h.

View newest version in sPHENIX GitHub at line 66 of file UEvsEtaCentrality.h

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

TH2F* UEvsEtaCentrality::hUEiHcalEta_Cent50_100 = nullptr
private

Definition at line 70 of file UEvsEtaCentrality.h.

View newest version in sPHENIX GitHub at line 70 of file UEvsEtaCentrality.h

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

TH2F* UEvsEtaCentrality::hUEoHcalEta_Cent0_20 = nullptr
private

Definition at line 63 of file UEvsEtaCentrality.h.

View newest version in sPHENIX GitHub at line 63 of file UEvsEtaCentrality.h

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

TH2F* UEvsEtaCentrality::hUEoHcalEta_Cent20_50 = nullptr
private

Definition at line 67 of file UEvsEtaCentrality.h.

View newest version in sPHENIX GitHub at line 67 of file UEvsEtaCentrality.h

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

TH2F* UEvsEtaCentrality::hUEoHcalEta_Cent50_100 = nullptr
private

Definition at line 71 of file UEvsEtaCentrality.h.

View newest version in sPHENIX GitHub at line 71 of file UEvsEtaCentrality.h

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

TH2F* UEvsEtaCentrality::hv2_cent = nullptr
private

Definition at line 59 of file UEvsEtaCentrality.h.

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

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

std::string UEvsEtaCentrality::m_outputFileName
private

Definition at line 57 of file UEvsEtaCentrality.h.

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

Referenced by End(), and Init().


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