*/\r
void Initialize();\r
\r
+ /*\r
+ * Returns AliESDEvent\r
+ */ \r
+ AliESDEvent* GetESDEvent() const{return fESDEvent;} \r
+\r
/*\r
*Returns the number of v0s in the event, no cuts applied.\r
*/\r
*/\r
Double_t GetMotherCandidatePhi() const;\r
\r
+ /*\r
+ * Gets the Rapidity of the mother candidate.\r
+ */\r
+ Double_t GetMotherCandidateRapidity() const;\r
+\r
+\r
/*\r
* Update data which need to be updated every event.\r
*/\r
*/\r
Double_t GetPtCut() const{return fPtCut;}\r
\r
+ /*\r
+ * Gets the line cut values.\r
+ */\r
+ Double_t GetLineCutZRSlope() const{return fLineCutZRSlope;}\r
+ Double_t GetLineCutZValue() const{return fLineCutZValue;}\r
+ \r
/*\r
* Gets the Chi2 cut value for the conversions.\r
*/\r
*/\r
Double_t GetChi2CutMeson() const{return fChi2CutMeson;}\r
\r
+ Double_t GetPositiveTrackLength() const{return fCurrentPositiveESDTrack->GetIntegratedLength();}\r
+ Double_t GetNegativeTrackLength() const{return fCurrentNegativeESDTrack->GetIntegratedLength();}\r
+\r
+ Double_t GetPositiveNTPCClusters() const{return fCurrentPositiveESDTrack->GetTPCNcls();}\r
+ Double_t GetNegativeNTPCClusters() const{return fCurrentNegativeESDTrack->GetTPCNcls();}\r
+\r
/*\r
* Sets the MaxRCut value.\r
*/\r
*/\r
void SetPtCut(Double_t ptCut){fPtCut=ptCut;}\r
\r
+ /*\r
+ * Sets the LineCut values.\r
+ */\r
+ void SetLineCutZRSlope(Double_t LineCutZRSlope){fLineCutZRSlope=LineCutZRSlope;}\r
+ void SetLineCutZValue(Double_t LineCutZValue){fLineCutZValue=LineCutZValue;}\r
+\r
/*\r
* Sets the Chi2Cut value for conversions.\r
*/\r
/*\r
* Updates the V0 information of the current V0.\r
*/\r
- void UpdateV0Information();\r
+ Bool_t UpdateV0Information();\r
\r
/*\r
* Resets the V0 index.\r
AliESDInputHandler* fESDHandler; //! pointer to esd object\r
AliESDEvent *fESDEvent; //! pointer to esd object\r
\r
- AliGammaConversionHistograms *fHistograms;\r
+ AliGammaConversionHistograms *fHistograms; //! pointer to histogram handling class\r
\r
Int_t fCurrentV0IndexNumber;\r
AliESDv0 * fCurrentV0; //! pointer to the current v0\r
TLorentzVector * fPositiveTrackLorentzVector; //! pointer to the positive Track Lorentz Vector\r
TLorentzVector * fMotherCandidateLorentzVector; //! pointer to the mother candidate Track Lorentz Vector\r
\r
- Double_t fCurrentXValue;\r
- Double_t fCurrentYValue;\r
- Double_t fCurrentZValue;\r
+ Double_t fCurrentXValue; // current x value\r
+ Double_t fCurrentYValue; // current y value\r
+ Double_t fCurrentZValue; // current z value\r
\r
- Int_t fPositiveTrackPID;\r
- Int_t fNegativeTrackPID;\r
+ Int_t fPositiveTrackPID; // positive track pid\r
+ Int_t fNegativeTrackPID; // negative track pid\r
\r
TParticle *fNegativeMCParticle; //!\r
TParticle *fPositiveMCParticle; //!\r
TParticle *fMotherMCParticle; //!\r
\r
- Double_t fMotherCandidateKFMass;\r
- Double_t fMotherCandidateKFWidth;\r
+ Double_t fMotherCandidateKFMass; // mass of mother candidate KF particle\r
+ Double_t fMotherCandidateKFWidth; // width of mother candidate KF particle\r
\r
- Bool_t fUseKFParticle;\r
- Bool_t fUseESDTrack;\r
- Bool_t fDoMC;\r
+ Bool_t fUseKFParticle; // flag \r
+ Bool_t fUseESDTrack; // flag \r
+ Bool_t fDoMC; // flag \r
\r
//cuts\r
- Double_t fMaxR;\r
- Double_t fEtaCut;\r
- Double_t fPtCut;\r
- Double_t fChi2CutConversion;\r
- Double_t fChi2CutMeson;\r
- Double_t fPIDProbabilityCutNegativeParticle;\r
- Double_t fPIDProbabilityCutPositiveParticle;\r
- Double_t fXVertexCut;\r
- Double_t fYVertexCut;\r
- Double_t fZVertexCut;\r
+ Double_t fMaxR; //r cut\r
+ Double_t fEtaCut; //eta cut\r
+ Double_t fPtCut; // pt cut\r
+ Double_t fLineCutZRSlope; //linecut\r
+ Double_t fLineCutZValue; //linecut\r
+ Double_t fChi2CutConversion; //chi2cut\r
+ Double_t fChi2CutMeson; //chi2cut\r
+ Double_t fPIDProbabilityCutNegativeParticle; //pid cut\r
+ Double_t fPIDProbabilityCutPositiveParticle; //pid cut\r
+ Double_t fXVertexCut; //vertex cut\r
+ Double_t fYVertexCut; //vertex cut\r
+ Double_t fZVertexCut; // vertexcut\r
\r
- Double_t fNSigmaMass;\r
+ Double_t fNSigmaMass; //nsigma cut\r
\r
- Bool_t fUseImprovedVertex;\r
+ Bool_t fUseImprovedVertex; //flag\r
\r
- vector<AliKFParticle> fCurrentEventGoodV0s;\r
- vector<AliKFParticle> fPreviousEventGoodV0s;\r
+ vector<AliKFParticle> fCurrentEventGoodV0s; //vector of good v0s\r
+ vector<AliKFParticle> fPreviousEventGoodV0s; // vector of good v0s from prevous events\r
\r
- ClassDef(AliV0Reader,0)\r
+ ClassDef(AliV0Reader,2)\r
};\r
\r
\r