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

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

+ Inheritance diagram for JetRhoMedian:
+ Collaboration diagram for JetRhoMedian:

Public Member Functions

 JetRhoMedian (const std::string &outputfilename="JetRhoMedian.root", const float _jet_R=0.4, const std::string &truthjetname="AntiKt_Truth_r04", const std::string &sub1jetname="AntiKt_Truth_r04", const float min_lead_truth_pt=10.)
 
virtual ~JetRhoMedian ()
 
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 ()
 
void add_input (JetInput *input)
 
- 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.
 

Private Attributes

long long int nevent { 0 }
 
long long int outevent { 0 }
 
const std::string m_outputfilename
 
const float jet_R
 
const std::string m_truthJetName
 
const std::string m_sub1JetName
 
const float m_min_lead_truth_pt
 
int i_truthset = 0
 
std::string m_recoJetName
 
TTree * m_T
 Output Tree variables.
 
float m_rho
 
float m_rho_sigma
 
float m_cent_mdb { -1. }
 
float m_cent { -1. }
 
float m_cent_epd { -1. }
 
float m_impactparam { -1. }
 
std::vector< float > m_CaloJetEta {}
 
std::vector< float > m_CaloJetPhi {}
 
std::vector< float > m_CaloJetPt {}
 
std::vector< float > m_CaloJetPtLessRhoA {}
 
std::vector< float > m_CaloJetArea {}
 
std::vector< float > m_TruthJetEta {}
 
std::vector< float > m_TruthJetPhi {}
 
std::vector< float > m_TruthJetPt {}
 
std::vector< float > m_Sub1JetEta {}
 
std::vector< float > m_Sub1JetPhi {}
 
std::vector< float > m_Sub1JetPt {}
 
float mBGE_mean_area { 0 }
 
float mBGE_empty_area { 0 }
 
float mBGE_n_empty_jets { 0 }
 
unsigned int mBGE_n_jets_used { 0 }
 
std::vector< JetInput * > m_inputs
 

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 20 of file JetRhoMedian.h.

View newest version in sPHENIX GitHub at line 20 of file JetRhoMedian.h

Constructor & Destructor Documentation

JetRhoMedian::JetRhoMedian ( const std::string &  outputfilename = "JetRhoMedian.root",
const float  _jet_R = 0.4,
const std::string &  truthjetname = "AntiKt_Truth_r04",
const std::string &  sub1jetname = "AntiKt_Truth_r04",
const float  min_lead_truth_pt = 10. 
)

Definition at line 41 of file JetRhoMedian.cc.

View newest version in sPHENIX GitHub at line 41 of file JetRhoMedian.cc

virtual JetRhoMedian::~JetRhoMedian ( )
virtual

Member Function Documentation

void JetRhoMedian::add_input ( JetInput input)
inline

Definition at line 39 of file JetRhoMedian.h.

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

References m_inputs.

Referenced by Fun4All_JetRhoMedian().

+ Here is the caller graph for this function:

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

Called at the end of all processing.

Reimplemented from SubsysReco.

int JetRhoMedian::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 JetRhoMedian::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 JetRhoMedian::process_event ( PHCompositeNode )
virtual

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

Reimplemented from SubsysReco.

Member Data Documentation

int JetRhoMedian::i_truthset = 0
private

Definition at line 50 of file JetRhoMedian.h.

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

const float JetRhoMedian::jet_R
private

Definition at line 45 of file JetRhoMedian.h.

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

std::vector<float> JetRhoMedian::m_CaloJetArea {}
private

Definition at line 69 of file JetRhoMedian.h.

View newest version in sPHENIX GitHub at line 69 of file JetRhoMedian.h

std::vector<float> JetRhoMedian::m_CaloJetEta {}
private

Definition at line 65 of file JetRhoMedian.h.

View newest version in sPHENIX GitHub at line 65 of file JetRhoMedian.h

std::vector<float> JetRhoMedian::m_CaloJetPhi {}
private

Definition at line 66 of file JetRhoMedian.h.

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

std::vector<float> JetRhoMedian::m_CaloJetPt {}
private

Definition at line 67 of file JetRhoMedian.h.

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

std::vector<float> JetRhoMedian::m_CaloJetPtLessRhoA {}
private

Definition at line 68 of file JetRhoMedian.h.

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

float JetRhoMedian::m_cent { -1. }
private

Definition at line 60 of file JetRhoMedian.h.

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

float JetRhoMedian::m_cent_epd { -1. }
private

Definition at line 61 of file JetRhoMedian.h.

View newest version in sPHENIX GitHub at line 61 of file JetRhoMedian.h

float JetRhoMedian::m_cent_mdb { -1. }
private

Definition at line 59 of file JetRhoMedian.h.

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

float JetRhoMedian::m_impactparam { -1. }
private

Definition at line 62 of file JetRhoMedian.h.

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

std::vector<JetInput *> JetRhoMedian::m_inputs
private

Definition at line 87 of file JetRhoMedian.h.

View newest version in sPHENIX GitHub at line 87 of file JetRhoMedian.h

Referenced by add_input().

const float JetRhoMedian::m_min_lead_truth_pt
private

Definition at line 48 of file JetRhoMedian.h.

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

const std::string JetRhoMedian::m_outputfilename
private

Definition at line 44 of file JetRhoMedian.h.

View newest version in sPHENIX GitHub at line 44 of file JetRhoMedian.h

std::string JetRhoMedian::m_recoJetName
private

Definition at line 52 of file JetRhoMedian.h.

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

float JetRhoMedian::m_rho
private

Definition at line 57 of file JetRhoMedian.h.

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

float JetRhoMedian::m_rho_sigma
private

Definition at line 58 of file JetRhoMedian.h.

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

std::vector<float> JetRhoMedian::m_Sub1JetEta {}
private

Definition at line 77 of file JetRhoMedian.h.

View newest version in sPHENIX GitHub at line 77 of file JetRhoMedian.h

const std::string JetRhoMedian::m_sub1JetName
private

Definition at line 47 of file JetRhoMedian.h.

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

std::vector<float> JetRhoMedian::m_Sub1JetPhi {}
private

Definition at line 78 of file JetRhoMedian.h.

View newest version in sPHENIX GitHub at line 78 of file JetRhoMedian.h

std::vector<float> JetRhoMedian::m_Sub1JetPt {}
private

Definition at line 79 of file JetRhoMedian.h.

View newest version in sPHENIX GitHub at line 79 of file JetRhoMedian.h

TTree* JetRhoMedian::m_T
private

Output Tree variables.

Definition at line 54 of file JetRhoMedian.h.

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

std::vector<float> JetRhoMedian::m_TruthJetEta {}
private

Definition at line 72 of file JetRhoMedian.h.

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

const std::string JetRhoMedian::m_truthJetName
private

Definition at line 46 of file JetRhoMedian.h.

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

std::vector<float> JetRhoMedian::m_TruthJetPhi {}
private

Definition at line 73 of file JetRhoMedian.h.

View newest version in sPHENIX GitHub at line 73 of file JetRhoMedian.h

std::vector<float> JetRhoMedian::m_TruthJetPt {}
private

Definition at line 74 of file JetRhoMedian.h.

View newest version in sPHENIX GitHub at line 74 of file JetRhoMedian.h

float JetRhoMedian::mBGE_empty_area { 0 }
private

Definition at line 83 of file JetRhoMedian.h.

View newest version in sPHENIX GitHub at line 83 of file JetRhoMedian.h

float JetRhoMedian::mBGE_mean_area { 0 }
private

Definition at line 82 of file JetRhoMedian.h.

View newest version in sPHENIX GitHub at line 82 of file JetRhoMedian.h

float JetRhoMedian::mBGE_n_empty_jets { 0 }
private

Definition at line 84 of file JetRhoMedian.h.

View newest version in sPHENIX GitHub at line 84 of file JetRhoMedian.h

unsigned int JetRhoMedian::mBGE_n_jets_used { 0 }
private

Definition at line 85 of file JetRhoMedian.h.

View newest version in sPHENIX GitHub at line 85 of file JetRhoMedian.h

long long int JetRhoMedian::nevent { 0 }
private

Definition at line 42 of file JetRhoMedian.h.

View newest version in sPHENIX GitHub at line 42 of file JetRhoMedian.h

long long int JetRhoMedian::outevent { 0 }
private

Definition at line 43 of file JetRhoMedian.h.

View newest version in sPHENIX GitHub at line 43 of file JetRhoMedian.h


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