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

#include <analysis/blob/master/JS-Jet/FastJetMedianBkg/src_JetMedianTree/PrintTowers.h>

+ Inheritance diagram for PrintTowers:
+ Collaboration diagram for PrintTowers:

Public Member Functions

 PrintTowers (std::vector< std::string > jet_names, std::vector< std::pair< std::string, std::string >> matchlist={}, std::vector< std::pair< Jet::SRC, std::string >> tower_sources={}, const float min_jet_pt=5., const float m_tow_tow_pt=0.01)
 
virtual ~PrintTowers ()
 
int Init (PHCompositeNode *topNode)
 
int InitRun (PHCompositeNode *topNode)
 
int process_event (PHCompositeNode *topNode)
 
int End (PHCompositeNode *topNode)
 Called at the end of all processing.
 
void clear_vectors ()
 
- Public Member Functions inherited from SubsysReco
 ~SubsysReco () override
 
virtual int EndRun (const int)
 Called at the end of each run.
 
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 Attributes

float m_max_cent = 100.
 
int nmax_jetprint = 10.
 
float m_pt_min_match = 30.
 

Private Attributes

const std::vector< std::string > m_jet_names
 
const std::vector< std::pair
< std::string, std::string > > 
m_matchlist
 
const std::vector< std::pair
< Jet::SRC, std::string > > 
m_SRC
 
const float m_min_jet_pt
 
const float m_min_tow_pt
 
int nevnt {0}
 

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 22 of file PrintTowers.h.

View newest version in sPHENIX GitHub at line 22 of file PrintTowers.h

Constructor & Destructor Documentation

PrintTowers::PrintTowers ( std::vector< std::string >  jet_names,
std::vector< std::pair< std::string, std::string >>  matchlist = {},
std::vector< std::pair< Jet::SRC, std::string >>  tower_sources = {},
const float  min_jet_pt = 5.,
const float  m_tow_tow_pt = 0.01 
)

Definition at line 43 of file PrintTowers.cc.

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

virtual PrintTowers::~PrintTowers ( )
virtual

Member Function Documentation

void PrintTowers::clear_vectors ( )
int PrintTowers::End ( PHCompositeNode )
virtual

Called at the end of all processing.

Reimplemented from SubsysReco.

int PrintTowers::Init ( PHCompositeNode )
virtual

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.

int PrintTowers::InitRun ( PHCompositeNode )
virtual

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.

int PrintTowers::process_event ( PHCompositeNode )
virtual

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

Reimplemented from SubsysReco.

Member Data Documentation

const std::vector<std::string> PrintTowers::m_jet_names
private

Definition at line 53 of file PrintTowers.h.

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

const std::vector<std::pair<std::string,std::string> > PrintTowers::m_matchlist
private

Definition at line 54 of file PrintTowers.h.

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

float PrintTowers::m_max_cent = 100.

Definition at line 39 of file PrintTowers.h.

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

const float PrintTowers::m_min_jet_pt
private

Definition at line 56 of file PrintTowers.h.

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

const float PrintTowers::m_min_tow_pt
private

Definition at line 57 of file PrintTowers.h.

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

float PrintTowers::m_pt_min_match = 30.

Definition at line 41 of file PrintTowers.h.

View newest version in sPHENIX GitHub at line 41 of file PrintTowers.h

const std::vector<std::pair<Jet::SRC,std::string> > PrintTowers::m_SRC
private

Definition at line 55 of file PrintTowers.h.

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

int PrintTowers::nevnt {0}
private

Definition at line 58 of file PrintTowers.h.

View newest version in sPHENIX GitHub at line 58 of file PrintTowers.h

int PrintTowers::nmax_jetprint = 10.

Definition at line 40 of file PrintTowers.h.

View newest version in sPHENIX GitHub at line 40 of file PrintTowers.h


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