AliPhysics  e59a9ba (e59a9ba)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliAnalysisTaskTracksInJet.cxx File Reference
#include <TChain.h>
#include <TDatabasePDG.h>
#include <TFile.h>
#include <THashList.h>
#include <THistManager.h>
#include <TKey.h>
#include <TList.h>
#include <TMath.h>
#include <TParticlePDG.h>
#include <TPDGCode.h>
#include <TProfile.h>
#include <TSystem.h>
#include <TTree.h>
#include "AliAnalysisManager.h"
#include "AliAnalysisUtils.h"
#include "AliAODHeader.h"
#include "AliAODMCHeader.h"
#include "AliAODMCParticle.h"
#include "AliAODTrack.h"
#include "AliESDtrack.h"
#include "AliESDtrackCuts.h"
#include "AliExternalTrackParam.h"
#include "AliGenPythiaEventHeader.h"
#include "AliLog.h"
#include "AliMCEvent.h"
#include "AliMCParticle.h"
#include "AliVParticle.h"
#include "AliVTrack.h"
#include "AliVEvent.h"
#include "fastjet/PseudoJet.hh"
#include "fastjet/ClusterSequence.hh"
#include "fastjet/JetDefinition.hh"
#include "AliAnalysisTaskTracksInJet.h"
Include dependency graph for AliAnalysisTaskTracksInJet.cxx:

Go to the source code of this file.

Functions

 ClassImp (EMCalTriggerPtAnalysis::AliAnalysisTaskTracksInJet) namespace EMCalTriggerPtAnalysis
 

Function Documentation

Constructor

Perform actions when giles change

Returns

Event loop

Parameters
Runtrack selection for ESD tracks. Does hybrid track selection. Remember to do this on a copy
trackThe track to check
Returns
True if the track is selected, false otherwise

Run track selection for ESD tracks. Does the default track selection.

Parameters
trackThe track to check
Returns
True if the track is selected, false otherwise

Run hybrid track selection for AOD tracks

Parameters
trackThe track to check
Returns
True if the track is selected, false otherwise

Run default track selection for AOD tracks

Parameters
trackThe track to check
Returns
True if the track is selected, false otherwise

Get the cross section and the trails either from pyxsec.root or from pysec_hists.root Get the pt hard bin from the file path This is to called in Notify and should provide the path to the AOD/ESD file (Partially copied from AliAnalysisHelperJetTasks) From AliAnalysisTaskEmcal

Parameters
currFileFile name with PYTHIA hard cross section
fXsecOutput storage for the cross section
fTrialsOutput storage for the number of trials
pthardOutput storage of the pthardbin
Returns
True if reading was successful, false in case of errors

Check in a transparent way for ESDs and AODs whether the particle is physical primary or not

  1. AOD: Information stored in the AliAODMCParticle
  2. ESD: Information needs to be retrieved from the stack via the label of the MC particle
    Parameters
    partThe particle to check
    mceventThe MC event containing the stack (ESD only)
    Returns
    True if particle is a physical primary particle, false otherwise
    Access PYTHIA event header
    Returns
    pythia event header (if existing)
    Find outlier jets compared to the pt hard
    Parameters
    headerPYTHIA header with trigger jets and pt hard
    Returns
    True if event has at least one outlier, false otherwise

Definition at line 52 of file AliAnalysisTaskTracksInJet.cxx.