/**
* Tasks to determine @f$ dN/d\eta@f$ in the forward regions
*
+ * @image html alice-int-2012-040-performance_spdfmdvzero.png "dN/deta in PbPb"
+ *
* @ingroup pwglf_forward_tasks_dndeta
* @ingroup pwglf_forward_dndeta
*/
protected:
/**
* Copy constructor
+ *
+ * @param o object to copy from
*/
AliForwarddNdetaTask(const AliForwarddNdetaTask& o);
/**
*
* @return Reference to this
*/
- AliForwarddNdetaTask& operator=(const AliForwarddNdetaTask&) { return *this; }
+ AliForwarddNdetaTask& operator=(const AliForwarddNdetaTask&);
/**
* Retrieve the histogram
*
* @return Retrieved histogram or null
*/
- TH2D* GetHistogram(const AliAODEvent* aod, Bool_t mc);
+ TH2D* GetHistogram(const AliAODEvent& aod, Bool_t mc);
/**
* Get the colour to use for markers (only pp - in PbPb we use a rainbow)
*
* @return Marker colour
*/
virtual Int_t GetColor() const { return kRed+2; }
+ /**
+ * Massage data histograms for certain vertices in the satellite analysis
+ *
+ * @param vtx
+ * @param data
+ * @param mcData
+ */
+ virtual void CheckEventData(Double_t vtx,
+ TH2* data,
+ TH2* mcData);
/**
* Make a new centrality bin
*
AliBasedNdetaTask::CentralityBin*
MakeCentralityBin(const char* name, Short_t l, Short_t h) const;
+ /**
+ * A structure holding the per-centrality bin information
+ *
+ */
class CentralityBin : public AliBasedNdetaTask::CentralityBin
{
public:
*
* @param other Object to copy from
*/
- CentralityBin(const CentralityBin& other)
- : AliBasedNdetaTask::CentralityBin(other)
- {}
+ CentralityBin(const CentralityBin& other);
/**
* Destructor
*/
*
* @return
*/
- CentralityBin& operator=(const CentralityBin&) { return *this; }
+ CentralityBin& operator=(const CentralityBin&);
/**
* End of processing
*
* @param scheme Normalisation scheme options
* @param shapeCorr Shape correction or nil
* @param trigEff Trigger efficiency
+ * @param trigEff0 0-bin trigger efficiency
* @param symmetrice Whether to symmetrice the results
* @param rebin Whether to rebin the results
* @param rootProj If true, use TH2::ProjectionX
UShort_t scheme,
const TH2F* shapeCorr,
Double_t trigEff,
+ Double_t trigEff0,
Bool_t symmetrice,
Int_t rebin,
Bool_t rootProj,
TList* mclist,
TList* truthlist);
protected:
- ClassDef(CentralityBin,2); // A centrality bin
+ ClassDef(CentralityBin,3); // A centrality bin
};
- ClassDef(AliForwarddNdetaTask,2); // Determine multiplicity in forward region
+ ClassDef(AliForwarddNdetaTask,3); // Determine multiplicity in forward region
};
#endif