All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
CLICPfoSelectorAnalysis Class Reference

CLICPfoSelectorAnalysis processor. More...

#include <CLICPfoSelectorAnalysis.h>

Inheritance diagram for CLICPfoSelectorAnalysis:
[legend]

Public Member Functions

 CLICPfoSelectorAnalysis (const CLICPfoSelectorAnalysis &)=delete
 
CLICPfoSelectorAnalysisoperator= (const CLICPfoSelectorAnalysis &)=delete
 
virtual ProcessornewProcessor ()
 
 CLICPfoSelectorAnalysis ()
 
virtual void init ()
 
virtual void processRunHeader (LCRunHeader *run)
 
virtual void processEvent (LCEvent *evt)
 
virtual void end ()
 
void fillTree (LCEvent *evt, string collName)
 
void fillPlots ()
 

Protected Attributes

string colNamePFOs {}
 
string treeName {}
 
float cutCosTheta = 0.975
 
int minECalHits = 5
 
int minHcalEndcapHits = 5
 
float forwardCosThetaForHighEnergyNeutralHadrons = 0.95
 
float forwardHighEnergyNeutralHadronsEnergy = 10.0
 
bool analyzePhotons = true
 
bool analyzeChargedPfos = true
 
bool analyzeNeutralHadrons = true
 
bool analyzeAll = true
 
bool analyzeSignal = true
 
bool analyzeOverlay = true
 
int _nRun {}
 
int _nEvt {}
 
TTree * pfo_tree = NULL
 
int eventNumber = 0
 
int runNumber = 0
 
int type = 0
 
double p = 0.0
 
double px = 0.0
 
double py = 0.0
 
double pz = 0.0
 
double pT = 0.0
 
double costheta = 0.0
 
double energy = 0.0
 
double mass = 0.0
 
double charge = 0.0
 
int nTracks = 0
 
int nClusters = 0
 
double clusterTime = 0.0
 
double clusterTimeEcal = 0.0
 
double clusterTimeHcalEndcap = 0.0
 
int nCaloHits = 0
 
int nEcalHits = 0
 
int nHcalEndCapHits = 0
 
int trk_clu_sameMCPart = 0
 
int atLeastOneSignal = 0
 
vector< string > particleCategories {}
 
vector< string > generationCategories {}
 
map< string, TGraph * > g_timeVsPt {}
 
map< string, TGraph * > g_timeVsPt_central {}
 
map< string, TGraph * > g_timeVsPt_forward {}
 
TH1F * h_energy_tot {}
 
TH1F * h_energy_tot_signal {}
 
TH1F * h_energy_tot_background {}
 
map< string, TH1F * > h_energy {}
 
map< string, TH1F * > h_energy_central {}
 
map< string, TH1F * > h_energy_forward {}
 
map< string, double > energy_tot {}
 
map< string, double > energy_tot_central {}
 
map< string, double > energy_tot_forward {}
 
float en_min = 0.0
 
float en_max = 500
 
string m_inputPhysicsParticleCollection {}
 
string m_recoMCTruthLink {}
 
string m_SiTracksMCTruthLink {}
 
string m_ClusterMCTruthLink {}
 
vector< MCParticle * > physicsParticles {}
 

Detailed Description

CLICPfoSelectorAnalysis processor.

Run on the PFO input collection and create:

  • a TTree with the PFO variables used in the CLICPfoSelector
  • cluster time vs pT graphs for each particle category and region
  • PFO energy sum histos for each particle category and region Possibility to detect if the PFO belongs to signal/overlay Possibility to check if the track and the cluster belonging to the same PFO were produced by at least one common MCParticle

    Input - Prerequisites

    Needs the collection of ReconstructedParticles. Needs the collection of MCParticles. Needs the collection of LCRelations - to do the match track/cluster.

    Output

    A TTree. Time vs pT graphs. Energy histos.

Definition at line 44 of file CLICPfoSelectorAnalysis.h.

Constructor & Destructor Documentation

CLICPfoSelectorAnalysis::CLICPfoSelectorAnalysis ( const CLICPfoSelectorAnalysis )
delete
CLICPfoSelectorAnalysis::CLICPfoSelectorAnalysis ( )

Definition at line 23 of file CLICPfoSelectorAnalysis.cc.

Member Function Documentation

void CLICPfoSelectorAnalysis::end ( )
virtual

Definition at line 243 of file CLICPfoSelectorAnalysis.cc.

void CLICPfoSelectorAnalysis::fillPlots ( )

Definition at line 517 of file CLICPfoSelectorAnalysis.cc.

void CLICPfoSelectorAnalysis::fillTree ( LCEvent *  evt,
string  collName 
)

Definition at line 262 of file CLICPfoSelectorAnalysis.cc.

void CLICPfoSelectorAnalysis::init ( )
virtual

Definition at line 90 of file CLICPfoSelectorAnalysis.cc.

virtual Processor* CLICPfoSelectorAnalysis::newProcessor ( )
inlinevirtual

Definition at line 50 of file CLICPfoSelectorAnalysis.h.

CLICPfoSelectorAnalysis& CLICPfoSelectorAnalysis::operator= ( const CLICPfoSelectorAnalysis )
delete
void CLICPfoSelectorAnalysis::processEvent ( LCEvent *  evt)
virtual

Definition at line 179 of file CLICPfoSelectorAnalysis.cc.

void CLICPfoSelectorAnalysis::processRunHeader ( LCRunHeader *  run)
virtual

Definition at line 171 of file CLICPfoSelectorAnalysis.cc.

Member Data Documentation

int CLICPfoSelectorAnalysis::_nEvt {}
protected

Definition at line 81 of file CLICPfoSelectorAnalysis.h.

int CLICPfoSelectorAnalysis::_nRun {}
protected

Definition at line 80 of file CLICPfoSelectorAnalysis.h.

bool CLICPfoSelectorAnalysis::analyzeAll = true
protected

Definition at line 78 of file CLICPfoSelectorAnalysis.h.

bool CLICPfoSelectorAnalysis::analyzeChargedPfos = true
protected

Definition at line 77 of file CLICPfoSelectorAnalysis.h.

bool CLICPfoSelectorAnalysis::analyzeNeutralHadrons = true
protected

Definition at line 77 of file CLICPfoSelectorAnalysis.h.

bool CLICPfoSelectorAnalysis::analyzeOverlay = true
protected

Definition at line 78 of file CLICPfoSelectorAnalysis.h.

bool CLICPfoSelectorAnalysis::analyzePhotons = true
protected

Definition at line 77 of file CLICPfoSelectorAnalysis.h.

bool CLICPfoSelectorAnalysis::analyzeSignal = true
protected

Definition at line 78 of file CLICPfoSelectorAnalysis.h.

int CLICPfoSelectorAnalysis::atLeastOneSignal = 0
protected

Definition at line 92 of file CLICPfoSelectorAnalysis.h.

double CLICPfoSelectorAnalysis::charge = 0.0
protected

Definition at line 88 of file CLICPfoSelectorAnalysis.h.

double CLICPfoSelectorAnalysis::clusterTime = 0.0
protected

Definition at line 90 of file CLICPfoSelectorAnalysis.h.

double CLICPfoSelectorAnalysis::clusterTimeEcal = 0.0
protected

Definition at line 90 of file CLICPfoSelectorAnalysis.h.

double CLICPfoSelectorAnalysis::clusterTimeHcalEndcap = 0.0
protected

Definition at line 90 of file CLICPfoSelectorAnalysis.h.

string CLICPfoSelectorAnalysis::colNamePFOs {}
protected

Definition at line 71 of file CLICPfoSelectorAnalysis.h.

double CLICPfoSelectorAnalysis::costheta = 0.0
protected

Definition at line 88 of file CLICPfoSelectorAnalysis.h.

float CLICPfoSelectorAnalysis::cutCosTheta = 0.975
protected

Definition at line 73 of file CLICPfoSelectorAnalysis.h.

float CLICPfoSelectorAnalysis::en_max = 500
protected

Definition at line 109 of file CLICPfoSelectorAnalysis.h.

float CLICPfoSelectorAnalysis::en_min = 0.0
protected

Definition at line 109 of file CLICPfoSelectorAnalysis.h.

double CLICPfoSelectorAnalysis::energy = 0.0
protected

Definition at line 88 of file CLICPfoSelectorAnalysis.h.

map<string, double> CLICPfoSelectorAnalysis::energy_tot {}
protected

Definition at line 106 of file CLICPfoSelectorAnalysis.h.

map<string, double> CLICPfoSelectorAnalysis::energy_tot_central {}
protected

Definition at line 107 of file CLICPfoSelectorAnalysis.h.

map<string, double> CLICPfoSelectorAnalysis::energy_tot_forward {}
protected

Definition at line 108 of file CLICPfoSelectorAnalysis.h.

int CLICPfoSelectorAnalysis::eventNumber = 0
protected

Definition at line 85 of file CLICPfoSelectorAnalysis.h.

float CLICPfoSelectorAnalysis::forwardCosThetaForHighEnergyNeutralHadrons = 0.95
protected

Definition at line 76 of file CLICPfoSelectorAnalysis.h.

float CLICPfoSelectorAnalysis::forwardHighEnergyNeutralHadronsEnergy = 10.0
protected

Definition at line 76 of file CLICPfoSelectorAnalysis.h.

map<string, TGraph*> CLICPfoSelectorAnalysis::g_timeVsPt {}
protected

Definition at line 97 of file CLICPfoSelectorAnalysis.h.

map<string, TGraph*> CLICPfoSelectorAnalysis::g_timeVsPt_central {}
protected

Definition at line 98 of file CLICPfoSelectorAnalysis.h.

map<string, TGraph*> CLICPfoSelectorAnalysis::g_timeVsPt_forward {}
protected

Definition at line 99 of file CLICPfoSelectorAnalysis.h.

vector<string> CLICPfoSelectorAnalysis::generationCategories {}
protected

Definition at line 96 of file CLICPfoSelectorAnalysis.h.

map<string, TH1F*> CLICPfoSelectorAnalysis::h_energy {}
protected

Definition at line 103 of file CLICPfoSelectorAnalysis.h.

map<string, TH1F*> CLICPfoSelectorAnalysis::h_energy_central {}
protected

Definition at line 104 of file CLICPfoSelectorAnalysis.h.

map<string, TH1F*> CLICPfoSelectorAnalysis::h_energy_forward {}
protected

Definition at line 105 of file CLICPfoSelectorAnalysis.h.

TH1F* CLICPfoSelectorAnalysis::h_energy_tot {}
protected

Definition at line 100 of file CLICPfoSelectorAnalysis.h.

TH1F* CLICPfoSelectorAnalysis::h_energy_tot_background {}
protected

Definition at line 102 of file CLICPfoSelectorAnalysis.h.

TH1F* CLICPfoSelectorAnalysis::h_energy_tot_signal {}
protected

Definition at line 101 of file CLICPfoSelectorAnalysis.h.

string CLICPfoSelectorAnalysis::m_ClusterMCTruthLink {}
protected

Definition at line 115 of file CLICPfoSelectorAnalysis.h.

string CLICPfoSelectorAnalysis::m_inputPhysicsParticleCollection {}
protected

Definition at line 112 of file CLICPfoSelectorAnalysis.h.

string CLICPfoSelectorAnalysis::m_recoMCTruthLink {}
protected

Definition at line 113 of file CLICPfoSelectorAnalysis.h.

string CLICPfoSelectorAnalysis::m_SiTracksMCTruthLink {}
protected

Definition at line 114 of file CLICPfoSelectorAnalysis.h.

double CLICPfoSelectorAnalysis::mass = 0.0
protected

Definition at line 88 of file CLICPfoSelectorAnalysis.h.

int CLICPfoSelectorAnalysis::minECalHits = 5
protected

Definition at line 74 of file CLICPfoSelectorAnalysis.h.

int CLICPfoSelectorAnalysis::minHcalEndcapHits = 5
protected

Definition at line 75 of file CLICPfoSelectorAnalysis.h.

int CLICPfoSelectorAnalysis::nCaloHits = 0
protected

Definition at line 91 of file CLICPfoSelectorAnalysis.h.

int CLICPfoSelectorAnalysis::nClusters = 0
protected

Definition at line 89 of file CLICPfoSelectorAnalysis.h.

int CLICPfoSelectorAnalysis::nEcalHits = 0
protected

Definition at line 91 of file CLICPfoSelectorAnalysis.h.

int CLICPfoSelectorAnalysis::nHcalEndCapHits = 0
protected

Definition at line 91 of file CLICPfoSelectorAnalysis.h.

int CLICPfoSelectorAnalysis::nTracks = 0
protected

Definition at line 89 of file CLICPfoSelectorAnalysis.h.

double CLICPfoSelectorAnalysis::p = 0.0
protected

Definition at line 87 of file CLICPfoSelectorAnalysis.h.

vector<string> CLICPfoSelectorAnalysis::particleCategories {}
protected

Definition at line 95 of file CLICPfoSelectorAnalysis.h.

TTree* CLICPfoSelectorAnalysis::pfo_tree = NULL
protected

Definition at line 84 of file CLICPfoSelectorAnalysis.h.

vector<MCParticle*> CLICPfoSelectorAnalysis::physicsParticles {}
protected

Definition at line 116 of file CLICPfoSelectorAnalysis.h.

double CLICPfoSelectorAnalysis::pT = 0.0
protected

Definition at line 87 of file CLICPfoSelectorAnalysis.h.

double CLICPfoSelectorAnalysis::px = 0.0
protected

Definition at line 87 of file CLICPfoSelectorAnalysis.h.

double CLICPfoSelectorAnalysis::py = 0.0
protected

Definition at line 87 of file CLICPfoSelectorAnalysis.h.

double CLICPfoSelectorAnalysis::pz = 0.0
protected

Definition at line 87 of file CLICPfoSelectorAnalysis.h.

int CLICPfoSelectorAnalysis::runNumber = 0
protected

Definition at line 85 of file CLICPfoSelectorAnalysis.h.

string CLICPfoSelectorAnalysis::treeName {}
protected

Definition at line 72 of file CLICPfoSelectorAnalysis.h.

int CLICPfoSelectorAnalysis::trk_clu_sameMCPart = 0
protected

Definition at line 92 of file CLICPfoSelectorAnalysis.h.

int CLICPfoSelectorAnalysis::type = 0
protected

Definition at line 86 of file CLICPfoSelectorAnalysis.h.


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