AliPhysics  c923f52 (c923f52)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliFMDMCSharingFilter Class Reference

#include <AliFMDMCSharingFilter.h>

Inheritance diagram for AliFMDMCSharingFilter:

Public Member Functions

virtual ~AliFMDMCSharingFilter ()
 
 AliFMDMCSharingFilter ()
 
 AliFMDMCSharingFilter (const char *title)
 
 AliFMDMCSharingFilter (const AliFMDMCSharingFilter &o)
 
AliFMDMCSharingFilteroperator= (const AliFMDMCSharingFilter &o)
 
const AliFMDMCTrackDensityGetTrackDensity () const
 
AliFMDMCTrackDensityGetTrackDensity ()
 
Bool_t FilterMC (const AliESDFMD &input, const AliMCEvent &event, const TVector3 &ip, AliESDFMD &output, TH2D *primary)
 
void CompareResults (const AliESDFMD &esd, const AliESDFMD &mc)
 
void CreateOutputObjects (TList *dir)
 
void Terminate (const TList *dir, TList *output, Int_t nEvents)
 
void Print (Option_t *option="") const
 
virtual void SetDebug (Int_t dbg=1)
 
- Public Member Functions inherited from AliFMDSharingFilter
virtual ~AliFMDSharingFilter ()
 
 AliFMDSharingFilter ()
 
 AliFMDSharingFilter (const char *title)
 
virtual void SetMergingDisabled (Bool_t disable)
 
void SetUseAngleCorrectedSignals (Bool_t use)
 
void SetZeroSharedHitsBelowThreshold (Bool_t use)
 
void SetUseSimpleSharing (Bool_t use)
 
void SetAllow3Strips (Bool_t use)
 
void SetIgnoreESDWhenAngleCorrecting (Bool_t use)
 
void SetupForData (const TAxis &axis)
 
Bool_t Filter (const AliESDFMD &input, Bool_t lowFlux, AliESDFMD &output, Double_t zvtx)
 
AliFMDMultCutsGetLCuts ()
 
AliFMDMultCutsGetHCuts ()
 
const AliFMDMultCutsGetLCuts () const
 
const AliFMDMultCutsGetHCuts () const
 
void SetLCuts (const AliFMDMultCuts &c)
 
void SetHCuts (const AliFMDMultCuts &c)
 

Protected Member Functions

 ClassDef (AliFMDMCSharingFilter, 3)
 
- Protected Member Functions inherited from AliFMDSharingFilter
 AliFMDSharingFilter (const AliFMDSharingFilter &o)
 
AliFMDSharingFilteroperator= (const AliFMDSharingFilter &)
 
RingHistosGetRingHistos (UShort_t d, Char_t r) const
 
Double_t SignalInStrip (const AliESDFMD &fmd, UShort_t d, Char_t r, UShort_t s, UShort_t t) const
 
Double_t AngleCorrect (Double_t mult, Double_t eta) const
 
Double_t DeAngleCorrect (Double_t mult, Double_t eta) const
 
virtual Double_t GetHighCut (UShort_t d, Char_t r, Double_t eta, Bool_t errors=true) const
 
virtual Double_t GetLowCut (UShort_t d, Char_t r, Double_t eta) const
 
 ClassDef (AliFMDSharingFilter, 11)
 

Protected Attributes

AliFMDMCTrackDensity fTrackDensity
 
TH2DfFMD1i
 
TH2DfFMD2i
 
TH2DfFMD2o
 
TH2DfFMD3i
 
TH2DfFMD3o
 
- Protected Attributes inherited from AliFMDSharingFilter
TList fRingHistos
 
Bool_t fCorrectAngles
 
TH2fHighCuts
 
TH2fLowCuts
 
Int_t fDebug
 
Bool_t fZeroSharedHitsBelowThreshold
 
AliFMDMultCuts fLCuts
 
AliFMDMultCuts fHCuts
 
Bool_t fUseSimpleMerging
 
Bool_t fThreeStripSharing
 
Bool_t fMergingDisabled
 
Bool_t fIgnoreESDForAngleCorrection
 

Additional Inherited Members

- Public Types inherited from AliFMDSharingFilter
enum  Status { kNone = 1, kCandidate = 2, kMergedWithOther = 3, kMergedInto = 4 }
 

Detailed Description

Class to do the sharing correction for MC data.

Input:
  • AliESDFMD object - from reconstruction
  • Kinematics
  • Track-References
Output:
  • AliESDFMD object - copy of input, but with signals merged
Corrections used:
  • None
Histograms:
  • For each ring (FMD1i, FMD2i, FMD2o, FMD3i, FMD3o) the distribution of signals before and after the filter.
  • For each ring (see above), an array of distributions of number of hit strips for each vertex bin (if enabled - see SetupForData method)

Definition at line 44 of file AliFMDMCSharingFilter.h.

Constructor & Destructor Documentation

AliFMDMCSharingFilter::~AliFMDMCSharingFilter ( )
virtual

Destructor

Definition at line 114 of file AliFMDMCSharingFilter.cxx.

AliFMDMCSharingFilter::AliFMDMCSharingFilter ( )
inline

Default Constructor - do not use

Definition at line 54 of file AliFMDMCSharingFilter.h.

AliFMDMCSharingFilter::AliFMDMCSharingFilter ( const char *  title)

Constructor

Parameters
titleTitle of object - not significant
AliFMDMCSharingFilter::AliFMDMCSharingFilter ( const AliFMDMCSharingFilter o)

Copy constructor

Parameters
oObject to copy from

Definition at line 96 of file AliFMDMCSharingFilter.cxx.

Member Function Documentation

AliFMDMCSharingFilter::ClassDef ( AliFMDMCSharingFilter  ,
 
)
protected
void AliFMDMCSharingFilter::CompareResults ( const AliESDFMD esd,
const AliESDFMD mc 
)

Compare the result of merging to the monte-carlo truth. This fills the correlation histograms

Parameters
esdESD after sharing correction
mcMC ESD

Definition at line 172 of file AliFMDMCSharingFilter.cxx.

Referenced by AliForwardMCMultiplicityTask::Event().

void AliFMDMCSharingFilter::CreateOutputObjects ( TList dir)
virtual

Define the output histograms. These are put in a sub list of the passed list. The histograms are merged before the parent task calls AliAnalysisTaskSE::Terminate

Parameters
dirDirectory to add to

Reimplemented from AliFMDSharingFilter.

Definition at line 212 of file AliFMDMCSharingFilter.cxx.

Bool_t AliFMDMCSharingFilter::FilterMC ( const AliESDFMD input,
const AliMCEvent &  event,
const TVector3 &  ip,
AliESDFMD output,
TH2D primary 
)

Filter the input kinematics and track references, using some of the ESD information

Parameters
inputInput ESD event
eventInput MC event
ipVertex position
outputOutput ESD-like object
primaryPer-event histogram of primaries
Returns
True on succes, false otherwise

Definition at line 142 of file AliFMDMCSharingFilter.cxx.

Referenced by AliForwardMCMultiplicityTask::Event().

const AliFMDMCTrackDensity& AliFMDMCSharingFilter::GetTrackDensity ( ) const
inline

Return the track density calculator

Returns
Track density calculator

Definition at line 90 of file AliFMDMCSharingFilter.h.

Referenced by AliForwardMCMultiplicityTask::GetTrackDensity(), and AliForwardMCMultiplicityTask::SetOnlyPrimary().

AliFMDMCTrackDensity& AliFMDMCSharingFilter::GetTrackDensity ( )
inline

Return the track density calculator

Returns
Track density calculator

Definition at line 96 of file AliFMDMCSharingFilter.h.

AliFMDMCSharingFilter & AliFMDMCSharingFilter::operator= ( const AliFMDMCSharingFilter o)

Assignment operator

Parameters
oObject to assign from
Returns
Reference to this

Definition at line 123 of file AliFMDMCSharingFilter.cxx.

void AliFMDMCSharingFilter::Print ( Option_t option = "") const
virtual

Print information

Parameters
optionNot used

Reimplemented from AliFMDSharingFilter.

Definition at line 261 of file AliFMDMCSharingFilter.cxx.

void AliFMDMCSharingFilter::SetDebug ( Int_t  dbg = 1)
virtual

Set the debug level. The higher the value the more output

Parameters
dbgDebug level

Reimplemented from AliFMDSharingFilter.

Definition at line 253 of file AliFMDMCSharingFilter.cxx.

void AliFMDMCSharingFilter::Terminate ( const TList dir,
TList output,
Int_t  nEvents 
)
virtual

Scale the histograms to the total number of events

Parameters
dirWhere the output is
outputOutput list
nEventsNumber of events

Reimplemented from AliFMDSharingFilter.

Definition at line 239 of file AliFMDMCSharingFilter.cxx.

Member Data Documentation

TH2D* AliFMDMCSharingFilter::fFMD1i
protected

Definition at line 150 of file AliFMDMCSharingFilter.h.

Referenced by CompareResults(), and CreateOutputObjects().

TH2D* AliFMDMCSharingFilter::fFMD2i
protected

Definition at line 151 of file AliFMDMCSharingFilter.h.

Referenced by CompareResults(), and CreateOutputObjects().

TH2D* AliFMDMCSharingFilter::fFMD2o
protected

Definition at line 152 of file AliFMDMCSharingFilter.h.

Referenced by CompareResults(), and CreateOutputObjects().

TH2D* AliFMDMCSharingFilter::fFMD3i
protected

Definition at line 153 of file AliFMDMCSharingFilter.h.

Referenced by CompareResults(), and CreateOutputObjects().

TH2D* AliFMDMCSharingFilter::fFMD3o
protected

Definition at line 154 of file AliFMDMCSharingFilter.h.

Referenced by CompareResults(), and CreateOutputObjects().

AliFMDMCTrackDensity AliFMDMCSharingFilter::fTrackDensity
protected

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