// Character string representation of mask
static TString trg;
trg = "";
- if ((mask & kInel) != 0x0) AppendAnd(trg, "INEL");
+ if ((mask & kInel) != 0x0) AppendAnd(trg, "MBOR");
if ((mask & kInelGt0) != 0x0) AppendAnd(trg, "INEL>0");
- if ((mask & kNSD) != 0x0) AppendAnd(trg, "NSD");
+ if ((mask & kNSD) != 0x0) AppendAnd(trg, "MBAND");
if ((mask & kV0AND) != 0x0) AppendAnd(trg, "V0AND");
if ((mask & kA) != 0x0) AppendAnd(trg, "A");
if ((mask & kB) != 0x0) AppendAnd(trg, "B");
if ((mask & kMCNSD) != 0x0) AppendAnd(trg, "MCNSD");
if ((mask & kNClusterGt0) != 0x0) AppendAnd(trg, "NCluster>0");
if ((mask & kSatellite) != 0x0) AppendAnd(trg, "Satellite");
+ if ((mask & kOffline) != 0x0) AppendAnd(trg, "Offline");
return trg.Data();
}
ret->GetXaxis()->SetBinLabel(kBinA, Form("A%s", andSel.Data()));
ret->GetXaxis()->SetBinLabel(kBinC, Form("C%s", andSel.Data()));
ret->GetXaxis()->SetBinLabel(kBinE, Form("E%s", andSel.Data()));
- ret->GetXaxis()->SetBinLabel(kBinInel, "Coll. & INEL");
- ret->GetXaxis()->SetBinLabel(kBinInelGt0, "Coll. & INEL>0");
- ret->GetXaxis()->SetBinLabel(kBinNSD, "Coll. & NSD");
+ ret->GetXaxis()->SetBinLabel(kBinInel, "Coll. & MBOR");
+ ret->GetXaxis()->SetBinLabel(kBinInelGt0, "Coll. & MBOR&&nTracklet>0");
+ ret->GetXaxis()->SetBinLabel(kBinNSD, "Coll. & V0AND||FASTOR>5");
ret->GetXaxis()->SetBinLabel(kBinV0AND, "Coll. & V0AND");
ret->GetXaxis()->SetBinLabel(kBinMCNSD, "NSD (MC truth)");
ret->GetXaxis()->SetBinLabel(kBinSatellite, "Satellite");
s.ToUpper();
if (s.IsNull()) continue;
if (s.CompareTo("INEL") == 0) trgMask |= kInel;
+ else if (s.CompareTo("MBOR") == 0) trgMask |= kInel;
else if (s.CompareTo("INEL>0") == 0) trgMask |= kInelGt0;
else if (s.CompareTo("INELGT0") == 0) trgMask |= kInelGt0;
- else if (s.CompareTo("NSD") == 0) trgMask |= kNSD;
+ else if (s.CompareTo("MBAND") == 0) trgMask |= kNSD;
+ else if (s.CompareTo("NSD") == 0) trgMask |= kV0AND;
else if (s.CompareTo("V0AND") == 0) trgMask |= kV0AND;
else if (s.CompareTo("MCNSD") == 0) trgMask |= kMCNSD;
else if (s.CompareTo("B") == 0) trgMask |= kB;
else if (s.CompareTo("E") == 0) trgMask |= kE;
else if (s.CompareTo("NCLUSTER>0") == 0) trgMask |= kNClusterGt0;
else if (s.CompareTo("CENT") == 0) trgMask |= kInel;
+ else if (s.CompareTo("OFFLINE") == 0) trgMask |= kOffline;
// trgMask &= ~(kInel|kInelGt0|kNSD|kV0AND|kMCNSD);
else
AliWarningGeneral("MakeTriggerMask",
* Bits of the trigger pattern
*/
enum {
- /** In-elastic collision */
+ /** In-elastic collision - really MBOR*/
kInel = 0x0001,
/** In-elastic collision with at least one SPD tracklet */
kInelGt0 = 0x0002,
- /** Non-single diffractive collision */
+ /** Non-single diffractive collision - (V0AND||FASTOR>5) */
kNSD = 0x0004,
/** Empty bunch crossing */
kEmpty = 0x0008,
* @return Always true
*/
Bool_t IsFolder() const { return kTRUE; } // Always true
-
+ /**
+ * Check if the data has been secondary corrected by MC maps
+ *
+ * @return true if secondary corrected via MC maps
+ */
Bool_t IsSecondaryCorrected() const { return TestBit(kSecondary); }
+ /**
+ * Check if vertex bias correction was applied
+ *
+ * @return true if MC based vertex bias was applied
+ */
Bool_t IsVertexBiasCorrected() const { return TestBit(kVertexBias); }
+ /**
+ * Check if acceptance correction (from dead strips) was applied
+ *
+ * @return true if acceptance correction was applied
+ */
Bool_t IsAcceptanceCorrected() const { return TestBit(kAcceptance); }
+ /**
+ * Check if merging efficiency (from MC) was applied
+ *
+ * @return true if merging efficiency was applied
+ */
Bool_t IsMergingEfficiencyCorrected() const {
return TestBit(kMergingEfficiency); }
+ /**
+ * Check if an empirical correction was applied in the event level.
+ *
+ * @return True if the empirical correction was applied per event.
+ */
Bool_t IsEmpiricalCorrected() const { return TestBit(kEmpirical); }
+ /**
+ * Check if the output is the sum (not average) in regions of
+ * overlap between detectors.
+ *
+ *
+ * @return true if the sum (not average) is stored in overlap
+ * regions.
+ */
Bool_t IsSumSignal() const { return TestBit(kSum); }
/**
* Print content
/**
* Get the event centrality
*
- *
- * @return
+ * @return Centrality
*/
Float_t GetCentrality() const { return fCentrality; }
/**
* Check if we have a valid centrality
*
- *
- * @return
+ * @return true if the centrality information is valid
*/
Bool_t HasCentrality() const { return !(fCentrality < 0); }
/**