![]() |
AliPhysics
e34b7ac (e34b7ac)
|
#include <AliFMDSharingFilter.h>
Classes | |
struct | RingHistos |
Public Types | |
enum | Status { kNone = 1, kCandidate = 2, kMergedWithOther = 3, kMergedInto = 4 } |
Public Member Functions | |
virtual | ~AliFMDSharingFilter () |
AliFMDSharingFilter () | |
AliFMDSharingFilter (const char *title) | |
virtual void | Print (Option_t *option="") const |
Parameters etc. | |
virtual void | SetMergingDisabled (Bool_t disable) |
virtual void | SetDebug (Int_t dbg=1) |
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) |
Processing | |
void | SetupForData (const TAxis &axis) |
Bool_t | Filter (const AliESDFMD &input, Bool_t lowFlux, AliESDFMD &output, Double_t zvtx) |
virtual void | Terminate (const TList *dir, TList *output, Int_t nEvents) |
virtual void | CreateOutputObjects (TList *dir) |
Cuts | |
AliFMDMultCuts & | GetLCuts () |
AliFMDMultCuts & | GetHCuts () |
const AliFMDMultCuts & | GetLCuts () const |
const AliFMDMultCuts & | GetHCuts () const |
void | SetLCuts (const AliFMDMultCuts &c) |
void | SetHCuts (const AliFMDMultCuts &c) |
Protected Member Functions | |
AliFMDSharingFilter (const AliFMDSharingFilter &o) | |
AliFMDSharingFilter & | operator= (const AliFMDSharingFilter &) |
RingHistos * | GetRingHistos (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) | |
Class to do the sharing correction. That is, a filter that merges adjacent strip signals presumably originating from a single particle that impinges on the detector in such a way that it deposite energy into two or more strips.
Definition at line 56 of file AliFMDSharingFilter.h.
Status of a strip
Enumerator | |
---|---|
kNone |
Nothing yet |
kCandidate |
Candidate for merging |
kMergedWithOther |
This was merged into other strip |
kMergedInto |
Other strips was merged into this |
Definition at line 63 of file AliFMDSharingFilter.h.
|
virtual |
Destructor
Definition at line 111 of file AliFMDSharingFilter.cxx.
AliFMDSharingFilter::AliFMDSharingFilter | ( | ) |
Default Constructor - do not use
AliFMDSharingFilter::AliFMDSharingFilter | ( | const char * | title | ) |
Constructor
title | Title of object - not significant |
Definition at line 77 of file AliFMDSharingFilter.cxx.
|
inlineprotected |
Copy constructor - not implemented
Definition at line 236 of file AliFMDSharingFilter.h.
Angle correct the signal
mult | Angle Un-corrected Signal |
eta | Pseudo-rapidity |
Definition at line 520 of file AliFMDSharingFilter.cxx.
Referenced by Filter(), and SignalInStrip().
|
protected |
|
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
dir | Directory to add to |
Reimplemented in AliFMDMCSharingFilter.
Definition at line 637 of file AliFMDSharingFilter.cxx.
Referenced by AliForwardQATask::Book(), AliForwardMultiplicityBase::Book(), and AliFMDMCSharingFilter::CreateOutputObjects().
Angle de-correct the signal
mult | Angle corrected Signal |
eta | Pseudo-rapidity |
Definition at line 538 of file AliFMDSharingFilter.cxx.
Referenced by SignalInStrip().
Bool_t AliFMDSharingFilter::Filter | ( | const AliESDFMD & | input, |
Bool_t | lowFlux, | ||
AliESDFMD & | output, | ||
Double_t | zvtx | ||
) |
Filter the input AliESDFMD object
input | Input |
lowFlux | If this is a low-flux event |
output | Output AliESDFMD object |
zvtx | Vertex position |
Definition at line 192 of file AliFMDSharingFilter.cxx.
Referenced by AliForwardMultiplicityTask::Event(), AliForwardMCMultiplicityTask::Event(), and AliForwardQATask::Event().
|
inline |
Get the high cuts
Definition at line 206 of file AliFMDSharingFilter.h.
Referenced by AliForwardQATask::PreData().
|
inline |
Get the high cuts
Definition at line 218 of file AliFMDSharingFilter.h.
|
protectedvirtual |
Get the high cut. The high cut is defined as the most-probably-value peak found from the energy distributions, minus 2 times the width of the corresponding Landau.
d | Detector |
r | Ring |
eta | Eta value |
errors | If false, do not show errors |
Definition at line 506 of file AliFMDSharingFilter.cxx.
Referenced by Filter().
|
inline |
Get the low cuts
Definition at line 200 of file AliFMDSharingFilter.h.
Referenced by AliForwardQATask::PreData().
|
inline |
|
protectedvirtual |
Get the low cut. Normally, the low cut is taken to be the lower value of the fit range used when generating the energy loss fits. However, if fLowCut is set (using SetLowCit) to a value greater than 0, then that value is used.
d | Detector |
r | Ring |
eta | Eta value |
Definition at line 492 of file AliFMDSharingFilter.cxx.
Referenced by Filter().
|
protected |
Get the ring histogram container
d | Detector |
r | Ring |
Definition at line 122 of file AliFMDSharingFilter.cxx.
Referenced by Filter().
|
inlineprotected |
Assignment operator - not implemented
Definition at line 242 of file AliFMDSharingFilter.h.
Referenced by AliFMDMCSharingFilter::operator=().
|
virtual |
Print information
option | Not used |
Reimplemented in AliFMDMCSharingFilter.
Definition at line 720 of file AliFMDSharingFilter.cxx.
Referenced by AliForwardMultiplicityBase::Print(), AliFMDMCSharingFilter::Print(), and AliForwardQATask::Print().
|
inline |
In case of a simpler merging algorithm allow 3 strips to be merged
use | allow three strips |
Definition at line 133 of file AliFMDSharingFilter.h.
Referenced by AddTaskForwardQA(), ForwardAODConfig(), and TunedConfig().
|
inlinevirtual |
Set the debug level. The higher the value the more output
dbg | Debug level |
Reimplemented in AliFMDMCSharingFilter.
Definition at line 103 of file AliFMDSharingFilter.h.
Referenced by AliFMDMCSharingFilter::SetDebug(), AliForwardQATask::SetDebug(), and AliForwardMultiplicityBase::SetDebug().
|
inline |
Set the high cuts
c | Cuts object |
Definition at line 230 of file AliFMDSharingFilter.h.
Referenced by AddTaskForwardQA(), ForwardAODConfig(), and TunedConfig().
|
inline |
Set whether to ignore the ESD info when angle correcting, this is to counter a known issue where the info in the ESD is incorrect
use | ignore the ESD info |
Definition at line 140 of file AliFMDSharingFilter.h.
Referenced by ForwardAODConfig(), and TunedConfig().
|
inline |
Set the low cuts
c | Cuts object |
Definition at line 224 of file AliFMDSharingFilter.h.
Referenced by AddTaskForwardQA(), ForwardAODConfig(), and TunedConfig().
|
inlinevirtual |
If called with a true argument, then merging is wholy disabled
disable | If true, disable merging altogether |
Definition at line 97 of file AliFMDSharingFilter.h.
void AliFMDSharingFilter::SetupForData | ( | const TAxis & | axis | ) |
Initialize
axis | Default eta axis from parent task |
Definition at line 147 of file AliFMDSharingFilter.cxx.
Referenced by AliForwardQATask::PreData(), and AliForwardMultiplicityBase::PreData().
|
inline |
Enable use of angle corrected signals in the algorithm
use | If true, use angle corrected signals, otherwise use de-corrected signals. In the final output, the signals are always angle corrected. |
Definition at line 111 of file AliFMDSharingFilter.h.
Referenced by AddTaskForwardQA(), ForwardAODConfig(), and TunedConfig().
|
inline |
Enable a simpler merging algorithm
use | use the simpler algorithm |
Definition at line 125 of file AliFMDSharingFilter.h.
Referenced by AddTaskForwardQA(), ForwardAODConfig(), and TunedConfig().
|
inline |
Enable zeroing of signals if below high cut
use | zero the signals if below sharing cut |
Definition at line 118 of file AliFMDSharingFilter.h.
Referenced by AddTaskForwardQA(), ForwardAODConfig(), and TunedConfig().
|
protected |
Get the signal in a strip
fmd | ESD object |
d | Detector |
r | Ring |
s | Sector |
t | Strip |
Definition at line 435 of file AliFMDSharingFilter.cxx.
Referenced by Filter().
Scale the histograms to the total number of events
dir | Where the output is |
output | Output list |
nEvents | Number of events |
Reimplemented in AliFMDMCSharingFilter.
Definition at line 557 of file AliFMDSharingFilter.cxx.
Referenced by AliForwardQATask::Finalize(), AliForwardMultiplicityBase::Finalize(), and AliFMDMCSharingFilter::Terminate().
|
protected |
Definition at line 390 of file AliFMDSharingFilter.h.
Referenced by CreateOutputObjects(), Filter(), Print(), SetUseAngleCorrectedSignals(), and SignalInStrip().
|
protected |
Definition at line 393 of file AliFMDSharingFilter.h.
Referenced by AliFMDSharingFilter(), CreateOutputObjects(), Filter(), SetDebug(), SetupForData(), Terminate(), and ~AliFMDSharingFilter().
|
protected |
Definition at line 396 of file AliFMDSharingFilter.h.
Referenced by AliFMDSharingFilter(), CreateOutputObjects(), GetHCuts(), Print(), SetHCuts(), and SetupForData().
|
protected |
Definition at line 391 of file AliFMDSharingFilter.h.
Referenced by CreateOutputObjects(), GetHighCut(), and SetupForData().
|
protected |
Definition at line 400 of file AliFMDSharingFilter.h.
Referenced by SetIgnoreESDWhenAngleCorrecting(), and SignalInStrip().
|
protected |
Definition at line 395 of file AliFMDSharingFilter.h.
Referenced by AliFMDSharingFilter(), CreateOutputObjects(), GetLCuts(), Print(), SetLCuts(), and SetupForData().
|
protected |
Definition at line 392 of file AliFMDSharingFilter.h.
Referenced by CreateOutputObjects(), GetLowCut(), and SetupForData().
|
protected |
Definition at line 399 of file AliFMDSharingFilter.h.
Referenced by CreateOutputObjects(), Filter(), and SetMergingDisabled().
|
protected |
Definition at line 389 of file AliFMDSharingFilter.h.
Referenced by AliFMDSharingFilter(), CreateOutputObjects(), Filter(), GetRingHistos(), and Terminate().
|
protected |
Definition at line 398 of file AliFMDSharingFilter.h.
Referenced by CreateOutputObjects(), Filter(), Print(), and SetAllow3Strips().
|
protected |
Definition at line 397 of file AliFMDSharingFilter.h.
Referenced by CreateOutputObjects(), Print(), and SetUseSimpleSharing().
|
protected |
Definition at line 394 of file AliFMDSharingFilter.h.
Referenced by CreateOutputObjects(), Print(), and SetZeroSharedHitsBelowThreshold().