6 #ifndef ALIJETEMBEDDINGFROMAODTASK_H
7 #define ALIJETEMBEDDINGFROMAODTASK_H
70 TLorentzVector
GetLeadingJet(TClonesArray *tracks, TClonesArray *clusters=0);
void SetParticlePtRange(Double_t min, Double_t max, Byte_t t=1)
void SetAttempts(Int_t n)
Bool_t FindParticleInRange(TClonesArray *array)
void SetAODMCParticlesName(const char *n)
void SetTriggerMask(UInt_t mask)
void SetJetAlgo(Byte_t t)
virtual Bool_t OpenNextFile()
virtual Bool_t IsAODEventSelected()
Int_t fEmbeddingCount
Rejected events.
TH1 * fHistAODFileError
Current file ID vs. AOD file ID (to be embedded)
TClonesArray * fAODMCParticles
AOD cell collection.
Base class for embedding into an event.
TH1 * fHistEmbeddingQA
File ID not embedded.
void SetMaxVertexDist(Double_t d)
TH2 * fHistFileMatching
Current AOD file path being embedded.
Bool_t ExecOnce()
generate a particle with random eta,phi, and correlated pt,mass values
void SetCutMaxFractionSharedTPCClusters(Double_t c=0.4)
TString fAODMCParticlesName
Bool_t fUseNegativeLabels
virtual TFile * GetNextFile()
virtual ~AliJetEmbeddingFromAODTask()
AliVHeader * fAODHeader
Current open tree.
void SetRandomAccess(Bool_t r=kTRUE)
void SetJetMinPt(Double_t pt)
Int_t fFirstAODEntry
Current entry in the AOD tree.
void SetCentralityRange(Double_t min, Double_t max)
void SetEmbedCentrality(Bool_t d)
void SetZVertexCut(Double_t z)
virtual Bool_t GetNextEntry()
void SetTrackEfficiency(TF1 *eff)
TClonesArray * fAODVertex
AOD header.
Int_t fCurrentAODEntry
AOD MC particles collection.
void SetTotalFiles(Int_t n)
TH1 * fHistNotEmbedded
AOD file ID (to be embedded) error.
Double_t fCutMaxFractionSharedTPCClusters
void SetAODCellsName(const char *n)
TFile * fCurrentAODFile
Current file ID.
void SetJetType(Byte_t t)
void SetJetConstituentMinPt(Double_t pt)
void SetAODTreeName(const char *t)
AliNamedString * fAODFilePath
Last entry in the AOD tree.
Byte_t fParticleSelection
void SetAODClusName(const char *n)
void SetIncludeNoITS(Bool_t f)
void SetJetPhiRange(Double_t pmi, Double_t pma)
void SetAODfilterBits(Int_t b0=0, Int_t b1=0)
void SetAODHeaderName(const char *t)
AliVCaloCells * fAODCaloCells
AOD cluster collection.
Int_t fLastAODEntry
First entry in the AOD tree.
Int_t fPicoTrackVersion
Current open file.
AliJetEmbeddingFromAODTask & operator=(const AliJetEmbeddingFromAODTask &)
Int_t fCurrentAODFileID
Current file being processed (via the event handler)
TClonesArray * fAODTracks
AOD vertex.
void UserCreateOutputObjects()
AliJetEmbeddingFromAODTask()
TTree * fCurrentAODTree
Version of the PicoTrack class (if any) in fCurrentAODFile.
Double_t fJetConstituentMinPt
TClonesArray * fAODClusters
AOD track collection.
Int_t fCurrentFileID
True = embed from ESD (must be a skimmed ESD!)
TLorentzVector GetLeadingJet(TClonesArray *tracks, TClonesArray *clusters=0)
void SetUseNegativeLabels(Bool_t f)
void SetJetEtaRange(Double_t emi, Double_t ema)
void SetFileList(TObjArray *list)
void SetTrackEfficiency(Double_t eff=0.95)
Class for embedding a AOD event into a data event.
void SetAODTracksName(const char *n)
TH1 * fHistRejectedEvents
Embedding QA.