AliPhysics  32e057f (32e057f)
AliAnalysisHelperJetTasks Class Reference

#include <AliAnalysisHelperJetTasks.h>

Inheritance diagram for AliAnalysisHelperJetTasks:

Public Types

enum  { kMaxJets = 6 }
 
enum  {
  kNone = 1<<0, kBunchBunch = 1<<1, kBunchEmpty = 1<<2, kEmptyEmpty = 1<<3,
  kV0A =1<<4, kV0C =1<<5, kNoV0BG =1<<6, kSPDFO =1<<7,
  kPhysicsSelection = 1<<8, kVertexIn = 1<<9, kIsCosmic = 1<<10, kIsPileUp = 1<<11,
  kIsMCND =1<<12, kIsMCDD =1<<13, kIsMCSD =1<<14, kTotalSelections = (1<<15) - 1
}
 
enum  Trigger {
  kAcceptAll = 0, kMB1, kMB2, kMB3,
  kSPDGFO, kTrigger
}
 
enum  MCProcessType {
  kInvalidProcess = -1, kND = 0x1, kDD = 0x2, kSD = 0x4,
  kOnePart = 0x8
}
 

Public Member Functions

 AliAnalysisHelperJetTasks ()
 
virtual ~AliAnalysisHelperJetTasks ()
 

Static Public Member Functions

static AliGenPythiaEventHeader * GetPythiaEventHeader (const AliMCEvent *mcEvent)
 
static void PrintStack (AliMCEvent *mcEvent, Int_t iFirst=0, Int_t iLast=0, Int_t iMaxPrint=10)
 
static void GetClosestJets (const AliAODJet *genJets, const Int_t &kGenJets, const AliAODJet *recJets, const Int_t &kRecJets, Int_t *iGenIndex, Int_t *iRecIndex, Int_t iDebug=0, Float_t maxDist=0.3)
 
static void GetClosestJets (const TList *genJetsList, const Int_t &kGenJets, const TList *recJetsList, const Int_t &kRecJets, TArrayI &iGenIndex, TArrayI &iRecIndex, Int_t iDebug=0, Float_t maxDist=0.3)
 
static void GetJetMatching (const TList *genJetsList, const Int_t &kGenJets, const TList *recJetsList, const Int_t &kRecJets, TArrayI &iMatchIndex, TArrayF &fPtFraction, Int_t iDebug=0, Float_t maxDist=0.3, Int_t mode=1)
 
static Double_t GetFractionOfJet (const AliAODJet *recJet, const AliAODJet *genJet, Int_t mode=1)
 
static void MergeOutputDirs (const char *cFiles, const char *cPattern, const char *cOutFile, Bool_t bUpdate=false)
 
static void MergeOutput (const char *cFiles, const char *cDir="", const char *cList="", const char *cOutFile="allpt.root", Bool_t bUpdate=false)
 
static Bool_t PythiaInfoFromFile (const char *currFile, Float_t &fXsec, Float_t &fTrials)
 
static Bool_t PrintDirectorySize (const char *currFile, Int_t iDetail=-1)
 
static Bool_t GetEventShapes (TVector3 &n01, const TVector3 *pTrack, Int_t nTracks, Double_t *eventShapes)
 
static MCProcessType GetPythiaEventProcessType (AliGenEventHeader *aHeader, Bool_t adebug=kFALSE)
 
static MCProcessType GetDPMjetEventProcessType (AliGenEventHeader *aHeader, Bool_t adebug=kFALSE)
 
static Int_t GetLastProcessType ()
 
static Bool_t Selected (Bool_t bSet=kFALSE, Bool_t bNew=kTRUE)
 
static Double_t ReactionPlane (Bool_t bSet=kFALSE, Double_t fNew=0)
 
static Int_t GetPhiBin (Double_t phi, Int_t fNRPbins)
 
static Bool_t IsPileUp ()
 
static Bool_t IsCosmic ()
 
static Bool_t TestSelectInfo (UInt_t iMask)
 
static Bool_t TestEventClass (Int_t iClass)
 
static UInt_t SelectInfo (Bool_t bSet=kFALSE, UInt_t iNew=0)
 
static Int_t EventClass (Bool_t bSet=kFALSE, Int_t iNew=0)
 
static Bool_t IsTriggerFired (const AliVEvent *aEsd, Trigger trigger)
 

Static Private Attributes

static Int_t fgLastProcessType = -1
 

Detailed Description

Definition at line 19 of file AliAnalysisHelperJetTasks.h.

Member Enumeration Documentation

anonymous enum
Enumerator
kMaxJets 

Definition at line 25 of file AliAnalysisHelperJetTasks.h.

anonymous enum
Enumerator
kNone 
kBunchBunch 
kBunchEmpty 
kEmptyEmpty 
kV0A 
kV0C 
kNoV0BG 
kSPDFO 
kPhysicsSelection 
kVertexIn 
kIsCosmic 
kIsPileUp 
kIsMCND 
kIsMCDD 
kIsMCSD 
kTotalSelections 

Definition at line 28 of file AliAnalysisHelperJetTasks.h.

Enumerator
kInvalidProcess 
kND 
kDD 
kSD 
kOnePart 

Definition at line 47 of file AliAnalysisHelperJetTasks.h.

Enumerator
kAcceptAll 
kMB1 
kMB2 
kMB3 
kSPDGFO 
kTrigger 

Definition at line 45 of file AliAnalysisHelperJetTasks.h.

Constructor & Destructor Documentation

AliAnalysisHelperJetTasks::AliAnalysisHelperJetTasks ( )
inline

Definition at line 21 of file AliAnalysisHelperJetTasks.h.

virtual AliAnalysisHelperJetTasks::~AliAnalysisHelperJetTasks ( )
inlinevirtual

Definition at line 22 of file AliAnalysisHelperJetTasks.h.

Member Function Documentation

Int_t AliAnalysisHelperJetTasks::EventClass ( Bool_t  bSet = kFALSE,
Int_t  iNew = 0 
)
static
void AliAnalysisHelperJetTasks::GetClosestJets ( const AliAODJet *  genJets,
const Int_t kGenJets,
const AliAODJet *  recJets,
const Int_t kRecJets,
Int_t iGenIndex,
Int_t iRecIndex,
Int_t  iDebug = 0,
Float_t  maxDist = 0.3 
)
static

Definition at line 126 of file AliAnalysisHelperJetTasks.cxx.

Referenced by AliAnalysisTaskJetChem::UserExec().

void AliAnalysisHelperJetTasks::GetClosestJets ( const TList genJetsList,
const Int_t kGenJets,
const TList recJetsList,
const Int_t kRecJets,
TArrayI iGenIndex,
TArrayI iRecIndex,
Int_t  iDebug = 0,
Float_t  maxDist = 0.3 
)
static

Definition at line 255 of file AliAnalysisHelperJetTasks.cxx.

AliAnalysisHelperJetTasks::MCProcessType AliAnalysisHelperJetTasks::GetDPMjetEventProcessType ( AliGenEventHeader *  aHeader,
Bool_t  adebug = kFALSE 
)
static

Definition at line 1322 of file AliAnalysisHelperJetTasks.cxx.

Bool_t AliAnalysisHelperJetTasks::GetEventShapes ( TVector3 &  n01,
const TVector3 *  pTrack,
Int_t  nTracks,
Double_t eventShapes 
)
static

Definition at line 947 of file AliAnalysisHelperJetTasks.cxx.

Double_t AliAnalysisHelperJetTasks::GetFractionOfJet ( const AliAODJet *  recJet,
const AliAODJet *  genJet,
Int_t  mode = 1 
)
static
void AliAnalysisHelperJetTasks::GetJetMatching ( const TList genJetsList,
const Int_t kGenJets,
const TList recJetsList,
const Int_t kRecJets,
TArrayI iMatchIndex,
TArrayF &  fPtFraction,
Int_t  iDebug = 0,
Float_t  maxDist = 0.3,
Int_t  mode = 1 
)
static

Definition at line 382 of file AliAnalysisHelperJetTasks.cxx.

static Int_t AliAnalysisHelperJetTasks::GetLastProcessType ( )
inlinestatic

Definition at line 81 of file AliAnalysisHelperJetTasks.h.

Int_t AliAnalysisHelperJetTasks::GetPhiBin ( Double_t  phi,
Int_t  fNRPbins 
)
static

Definition at line 1358 of file AliAnalysisHelperJetTasks.cxx.

Referenced by GetLastProcessType().

AliGenPythiaEventHeader * AliAnalysisHelperJetTasks::GetPythiaEventHeader ( const AliMCEvent *  mcEvent)
static

Definition at line 61 of file AliAnalysisHelperJetTasks.cxx.

AliAnalysisHelperJetTasks::MCProcessType AliAnalysisHelperJetTasks::GetPythiaEventProcessType ( AliGenEventHeader *  aHeader,
Bool_t  adebug = kFALSE 
)
static

Definition at line 1284 of file AliAnalysisHelperJetTasks.cxx.

Bool_t AliAnalysisHelperJetTasks::IsCosmic ( )
static

Definition at line 897 of file AliAnalysisHelperJetTasks.cxx.

Referenced by GetLastProcessType().

Bool_t AliAnalysisHelperJetTasks::IsPileUp ( )
static

Definition at line 901 of file AliAnalysisHelperJetTasks.cxx.

Referenced by GetLastProcessType().

Bool_t AliAnalysisHelperJetTasks::IsTriggerFired ( const AliVEvent *  aEsd,
Trigger  trigger 
)
static

Definition at line 1187 of file AliAnalysisHelperJetTasks.cxx.

Referenced by GetLastProcessType().

void AliAnalysisHelperJetTasks::MergeOutput ( const char *  cFiles,
const char *  cDir = "",
const char *  cList = "",
const char *  cOutFile = "allpt.root",
Bool_t  bUpdate = false 
)
static

Definition at line 641 of file AliAnalysisHelperJetTasks.cxx.

void AliAnalysisHelperJetTasks::MergeOutputDirs ( const char *  cFiles,
const char *  cPattern,
const char *  cOutFile,
Bool_t  bUpdate = false 
)
static

Definition at line 548 of file AliAnalysisHelperJetTasks.cxx.

Bool_t AliAnalysisHelperJetTasks::PrintDirectorySize ( const char *  currFile,
Int_t  iDetail = -1 
)
static

Definition at line 822 of file AliAnalysisHelperJetTasks.cxx.

void AliAnalysisHelperJetTasks::PrintStack ( AliMCEvent *  mcEvent,
Int_t  iFirst = 0,
Int_t  iLast = 0,
Int_t  iMaxPrint = 10 
)
static

Definition at line 93 of file AliAnalysisHelperJetTasks.cxx.

Bool_t AliAnalysisHelperJetTasks::PythiaInfoFromFile ( const char *  currFile,
Float_t fXsec,
Float_t fTrials 
)
static
Double_t AliAnalysisHelperJetTasks::ReactionPlane ( Bool_t  bSet = kFALSE,
Double_t  fNew = 0 
)
static

Definition at line 1370 of file AliAnalysisHelperJetTasks.cxx.

Referenced by GetLastProcessType().

Bool_t AliAnalysisHelperJetTasks::Selected ( Bool_t  bSet = kFALSE,
Bool_t  bNew = kTRUE 
)
static
UInt_t AliAnalysisHelperJetTasks::SelectInfo ( Bool_t  bSet = kFALSE,
UInt_t  iNew = 0 
)
static
Bool_t AliAnalysisHelperJetTasks::TestEventClass ( Int_t  iClass)
static

Definition at line 911 of file AliAnalysisHelperJetTasks.cxx.

Referenced by GetLastProcessType().

Bool_t AliAnalysisHelperJetTasks::TestSelectInfo ( UInt_t  iMask)
static

Definition at line 906 of file AliAnalysisHelperJetTasks.cxx.

Referenced by GetLastProcessType().

Member Data Documentation

Int_t AliAnalysisHelperJetTasks::fgLastProcessType = -1
staticprivate

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