![]() |
AliPhysics
a56b849 (a56b849)
|
#include <AliFMDHistCollector.h>
Public Member Functions | |
VtxBin (Int_t index=0, Double_t minIpZ=999, Double_t maxIpZ=-999, Int_t nCut=0) | |
VtxBin (const VtxBin &o) | |
VtxBin & | operator= (const VtxBin &o) |
const Char_t * | GetName () const |
void | SetupForData (TH2 *coverage, UShort_t skip, FiducialMethod fiducial, Double_t cut, TList *l, const TAxis &etaAxis, Bool_t doHitMap, Bool_t storeSecMap) |
Bool_t | Collect (const AliForwardUtil::Histos &hists, AliForwardUtil::Histos &sums, TH2D &out, TH2D *sumRings, TH1D *skipped, Double_t cent, MergeMethod m, UShort_t skips, TList *byCent, Bool_t eta2phi, Bool_t add) |
Int_t | GetOverlap (UShort_t d, Char_t r, Int_t bin) const |
void | GetFirstAndLast (UShort_t d, UShort_t r, Int_t &first, Int_t &last) const |
void | GetFirstAndLast (Int_t idx, Int_t &first, Int_t &last) const |
Int_t | GetFirst (Int_t idx) const |
Int_t | GetLast (Int_t idx) const |
Int_t | GetFirst (UShort_t d, Char_t r) const |
Int_t | GetLast (UShort_t d, Char_t r) const |
Public Attributes | |
Int_t | fIndex |
Double_t | fLow |
Double_t | fHigh |
AliForwardUtil::Histos * | fHitMap |
TArrayI | fFirstBin |
TArrayI | fLastBin |
Int_t | fNCutBins |
Structure to hold per-vertex bin cache of per-ring histograms
Definition at line 324 of file AliFMDHistCollector.h.
AliFMDHistCollector::VtxBin::VtxBin | ( | Int_t | index = 0 , |
Double_t | minIpZ = 999 , |
||
Double_t | maxIpZ = -999 , |
||
Int_t | nCut = 0 |
||
) |
Constructor
index | Index number |
minIpZ | Least \(IP_{z}\) |
maxIpZ | Largest \(IP_{z}\) |
nCut | Cut on n |
Definition at line 579 of file AliFMDHistCollector.cxx.
AliFMDHistCollector::VtxBin::VtxBin | ( | const VtxBin & | o | ) |
Copy constructor
o | Object to copy from |
Definition at line 591 of file AliFMDHistCollector.cxx.
Bool_t AliFMDHistCollector::VtxBin::Collect | ( | const AliForwardUtil::Histos & | hists, |
AliForwardUtil::Histos & | sums, | ||
TH2D & | out, | ||
TH2D * | sumRings, | ||
TH1D * | skipped, | ||
Double_t | cent, | ||
MergeMethod | m, | ||
UShort_t | skips, | ||
TList * | byCent, | ||
Bool_t | eta2phi, | ||
Bool_t | add | ||
) |
Process one event in this vertex bin
hists | Histograms |
sums | Sum histograms |
out | Per-event output histogram |
sumRings | Sum per ring |
skipped | Histogram of skipped rings |
cent | Event centrality |
m | Merging method |
skips | Which rings to skip |
byCent | List (or null) of per centrality sums |
eta2phi | Copy eta coverage to phi acceptance |
add | If true, add to internal caches |
Definition at line 767 of file AliFMDHistCollector.cxx.
Referenced by AliFMDHistCollector::Collect().
Get the first \(\eta\) bin
idx | Ring index (0-4) |
Definition at line 737 of file AliFMDHistCollector.cxx.
Get the first \(\eta\) bin
d | Detector |
r | Ring |
Definition at line 460 of file AliFMDHistCollector.h.
Referenced by GetFirst().
|
inline |
Get the first and last \(\eta\) bin for a detector
d | Current detector |
r | Current ring |
first | On return, the first \(\eta\) bin |
last | On return, the last \(\eta\) bin |
Definition at line 424 of file AliFMDHistCollector.h.
Referenced by AliFMDHistCollector::Print().
Get the first and last \(\eta\) bin for a detector
idx | Current ring index |
first | On return, the first \(\eta\) bin |
last | On return, the last \(\eta\) bin |
Definition at line 716 of file AliFMDHistCollector.cxx.
Get the last \(\eta\) bin
idx | Ring index (0-4) |
Definition at line 745 of file AliFMDHistCollector.cxx.
Get the last \(\eta\) bin
d | Detector |
r | Ring |
Definition at line 469 of file AliFMDHistCollector.h.
Referenced by GetLast().
const Char_t * AliFMDHistCollector::VtxBin::GetName | ( | ) | const |
Override to give name based on cuts
Definition at line 618 of file AliFMDHistCollector.cxx.
Check if there's an overlap between detector d, ring r and some other ring for the given \(\eta\) bin. If so, return the ring index. If not, return -1.
d | Current detector |
r | Current ring |
bin | Current \(\eta\) bin |
Definition at line 967 of file AliFMDHistCollector.cxx.
AliFMDHistCollector::VtxBin & AliFMDHistCollector::VtxBin::operator= | ( | const VtxBin & | o | ) |
Assignment operator
o | Object to assign from |
Definition at line 604 of file AliFMDHistCollector.cxx.
void AliFMDHistCollector::VtxBin::SetupForData | ( | TH2 * | coverage, |
UShort_t | skip, | ||
FiducialMethod | fiducial, | ||
Double_t | cut, | ||
TList * | l, | ||
const TAxis & | etaAxis, | ||
Bool_t | doHitMap, | ||
Bool_t | storeSecMap | ||
) |
Set up for data
coverage | Diagnostics histogram to be filled |
skip | Skip flags |
fiducial | Fiducial cut method |
cut | Fiducial cut |
l | Parent output list |
etaAxis | \(\eta\) axis used |
doHitMap | If true, also do a per-ring sum |
storeSecMap | If true, store used secondary map |
Definition at line 626 of file AliFMDHistCollector.cxx.
Referenced by AliFMDHistCollector::SetupForData().
TArrayI AliFMDHistCollector::VtxBin::fFirstBin |
Definition at line 475 of file AliFMDHistCollector.h.
Referenced by operator=().
Double_t AliFMDHistCollector::VtxBin::fHigh |
Definition at line 473 of file AliFMDHistCollector.h.
Referenced by operator=(), and AliFMDHistCollector::Print().
AliForwardUtil::Histos* AliFMDHistCollector::VtxBin::fHitMap |
Definition at line 474 of file AliFMDHistCollector.h.
Referenced by operator=().
Int_t AliFMDHistCollector::VtxBin::fIndex |
Definition at line 471 of file AliFMDHistCollector.h.
Referenced by operator=().
TArrayI AliFMDHistCollector::VtxBin::fLastBin |
Definition at line 476 of file AliFMDHistCollector.h.
Referenced by operator=().
Double_t AliFMDHistCollector::VtxBin::fLow |
Definition at line 472 of file AliFMDHistCollector.h.
Referenced by operator=(), and AliFMDHistCollector::Print().
Int_t AliFMDHistCollector::VtxBin::fNCutBins |
Definition at line 477 of file AliFMDHistCollector.h.
Referenced by operator=().