void AliFemtoEvent::SetRunNumber(const int& runNum){fRunNumber = runNum;}
-void AliFemtoEvent::SetZDCN1Energy(const float& ZDCN1Energy){fZDCN1Energy=ZDCN1Energy;}
-void AliFemtoEvent::SetZDCP1Energy(const float& ZDCP1Energy){fZDCP1Energy=ZDCP1Energy;}
-void AliFemtoEvent::SetZDCN2Energy(const float& ZDCN2Energy){fZDCN2Energy=ZDCN2Energy;}
-void AliFemtoEvent::SetZDCP2Energy(const float& ZDCP2Energy){fZDCP2Energy=ZDCP2Energy;}
-void AliFemtoEvent::SetZDCEMEnergy(const float& ZDCEMEnergy){fZDCEMEnergy=ZDCEMEnergy;}
-void AliFemtoEvent::SetZDCParticipants(const unsigned int& ZDCParticipants){fZDCParticipants=ZDCParticipants;}
+void AliFemtoEvent::SetZDCN1Energy(const float& aZDCN1Energy){fZDCN1Energy=aZDCN1Energy;}
+void AliFemtoEvent::SetZDCP1Energy(const float& aZDCP1Energy){fZDCP1Energy=aZDCP1Energy;}
+void AliFemtoEvent::SetZDCN2Energy(const float& aZDCN2Energy){fZDCN2Energy=aZDCN2Energy;}
+void AliFemtoEvent::SetZDCP2Energy(const float& aZDCP2Energy){fZDCP2Energy=aZDCP2Energy;}
+void AliFemtoEvent::SetZDCEMEnergy(const float& aZDCEMEnergy){fZDCEMEnergy=aZDCEMEnergy;}
+void AliFemtoEvent::SetZDCParticipants(const unsigned int& aZDCParticipants){fZDCParticipants=aZDCParticipants;}
void AliFemtoEvent::SetNumberOfTracks(const unsigned short& tracks){fNumberOfTracks = tracks;}
void AliFemtoEvent::SetPrimVertPos(const AliFemtoThreeVector& vp){fPrimVertPos = vp;}
void AliFemtoEvent::SetMagneticField(const double& magF){fMagneticField = magF;}
-void AliFemtoEvent::SetTriggerMask(const unsigned long int& TriggerMask) {fTriggerMask=TriggerMask;}
-void AliFemtoEvent::SetTriggerCluster(const unsigned char& TriggerCluster) {fTriggerCluster=TriggerCluster;}
+void AliFemtoEvent::SetTriggerMask(const unsigned long int& aTriggerMask) {fTriggerMask=aTriggerMask;}
+void AliFemtoEvent::SetTriggerCluster(const unsigned char& aTriggerCluster) {fTriggerCluster=aTriggerCluster;}
unsigned short AliFemtoEvent::EventNumber() const {return fEventNumber;}
AliFemtoParticleCollection* ParticlesPassingCut1,
AliFemtoParticleCollection* ParticlesPssingCut2=0);
- AliFemtoPicoEventCollectionVectorHideAway* fPicoEventCollectionVectorHideAway; /* Mixing Buffer used for Analyses which wrap this one */
-
- AliFemtoPairCut* fPairCut; /* cut applied to pairs */
- AliFemtoCorrFctnCollection* fCorrFctnCollection; /* correlation functions of this analysis */
- AliFemtoEventCut* fEventCut; /* cut to select events */
- AliFemtoParticleCut* fFirstParticleCut; /* select particles of type #1 */
- AliFemtoParticleCut* fSecondParticleCut; /* select particles of type #2 */
- AliFemtoPicoEventCollection* fMixingBuffer; /* mixing buffer used in this simplest analysis */
- AliFemtoPicoEvent* fPicoEvent; /* The current event, in the small (pico) form */
- unsigned int fNumEventsToMix; /* How many "previous" events get mixed with this one, to make background */
- unsigned int fNeventsProcessed; /* How many events processed so far */
-
- unsigned int fMinSizePartCollection; /* Don't use event if it has fewer than this many particles passing ParticleCuts default 0*/
+ AliFemtoPicoEventCollectionVectorHideAway* fPicoEventCollectionVectorHideAway; //! Mixing Buffer used for Analyses which wrap this one
+
+ AliFemtoPairCut* fPairCut; // cut applied to pairs
+ AliFemtoCorrFctnCollection* fCorrFctnCollection; // correlation functions of this analysis
+ AliFemtoEventCut* fEventCut; // cut to select events
+ AliFemtoParticleCut* fFirstParticleCut; // select particles of type #1
+ AliFemtoParticleCut* fSecondParticleCut; // select particles of type #2
+ AliFemtoPicoEventCollection* fMixingBuffer; // mixing buffer used in this simplest analysis
+ AliFemtoPicoEvent* fPicoEvent; //! The current event, in the small (pico) form
+ unsigned int fNumEventsToMix; // How many "previous" events get mixed with this one, to make background
+ unsigned int fNeventsProcessed; // How many events processed so far
+
+ unsigned int fMinSizePartCollection; // Don't use event if it has fewer than this many particles passing ParticleCuts default 0
#ifdef __ROOT__
ClassDef(AliFemtoSimpleAnalysis, 0)
void AliFemtoTrack::SetTrackId(const short & id) { fTrackId=id;}
void AliFemtoTrack::SetFlags(const long int &flags) {fFlags=flags;}
void AliFemtoTrack::SetLabel(const int &label) {fLabel=label;}
-void AliFemtoTrack::SetImpactD(const float& ImpactD){fImpactD=ImpactD;}
-void AliFemtoTrack::SetImpactZ(const float& ImpactZ){fImpactZ=ImpactZ;}
-void AliFemtoTrack::SetCdd(const float& Cdd){fCdd=Cdd;}
-void AliFemtoTrack::SetCdz(const float& Cdz){fCdz=Cdz;}
-void AliFemtoTrack::SetCzz(const float& Czz){fCzz=Czz;}
-void AliFemtoTrack::SetITSchi2(const float& ITSchi2){fITSchi2=ITSchi2;}
-void AliFemtoTrack::SetITSncls(const int& ITSncls){fITSncls=ITSncls;}
-void AliFemtoTrack::SetTPCchi2(const float& TPCchi2){fTPCchi2=TPCchi2;}
-void AliFemtoTrack::SetTPCncls(const int& TPCncls){fTPCncls=TPCncls;}
-void AliFemtoTrack::SetTPCnclsF(const short& TPCnclsF){fTPCnclsF=TPCnclsF;}
-void AliFemtoTrack::SetTPCsignalN(const short& TPCsignalN){fTPCsignalN=TPCsignalN;}
-void AliFemtoTrack::SetTPCsignalS(const float& TPCsignalS){fTPCsignalS=TPCsignalS;}
-void AliFemtoTrack::SetSigmaToVertex(const float& Sigma){fSigmaToVertex=Sigma;}
+void AliFemtoTrack::SetImpactD(const float& aImpactD){fImpactD=aImpactD;}
+void AliFemtoTrack::SetImpactZ(const float& aImpactZ){fImpactZ=aImpactZ;}
+void AliFemtoTrack::SetCdd(const float& aCdd){fCdd=aCdd;}
+void AliFemtoTrack::SetCdz(const float& aCdz){fCdz=aCdz;}
+void AliFemtoTrack::SetCzz(const float& aCzz){fCzz=aCzz;}
+void AliFemtoTrack::SetITSchi2(const float& aITSchi2){fITSchi2=aITSchi2;}
+void AliFemtoTrack::SetITSncls(const int& aITSncls){fITSncls=aITSncls;}
+void AliFemtoTrack::SetTPCchi2(const float& aTPCchi2){fTPCchi2=aTPCchi2;}
+void AliFemtoTrack::SetTPCncls(const int& aTPCncls){fTPCncls=aTPCncls;}
+void AliFemtoTrack::SetTPCnclsF(const short& aTPCnclsF){fTPCnclsF=aTPCnclsF;}
+void AliFemtoTrack::SetTPCsignalN(const short& aTPCsignalN){fTPCsignalN=aTPCsignalN;}
+void AliFemtoTrack::SetTPCsignalS(const float& aTPCsignalS){fTPCsignalS=aTPCsignalS;}
+void AliFemtoTrack::SetSigmaToVertex(const float& aSigma){fSigmaToVertex=aSigma;}
short AliFemtoTrack::Charge() const {return fCharge;}
// Implementation of member functions
//
template<class T>
-AliFmLorentzVector<T>::AliFmLorentzVector(T x, T y, T z, T t)
- : mThreeVector(x, y, z), mX4(t) { /* nop */ }
+AliFmLorentzVector<T>::AliFmLorentzVector(T ax, T ay, T az, T at)
+ : mThreeVector(ax, ay, az), mX4(at) { /* nop */ }
template<class T>
AliFmLorentzVector<T>::~AliFmLorentzVector() { /* nopt */ }
}
template<class T>
-void AliFmLorentzVector<T>::setPx(T x) {mThreeVector.setX(x);}
+void AliFmLorentzVector<T>::setPx(T ax) {mThreeVector.setX(ax);}
template<class T>
-void AliFmLorentzVector<T>::setPy(T y) {mThreeVector.setY(y);}
+void AliFmLorentzVector<T>::setPy(T ay) {mThreeVector.setY(ay);}
template<class T>
-void AliFmLorentzVector<T>::setPz(T z) {mThreeVector.setZ(z);}
+void AliFmLorentzVector<T>::setPz(T az) {mThreeVector.setZ(az);}
template<class T>
-void AliFmLorentzVector<T>::setX(T x) {mThreeVector.setX(x);}
+void AliFmLorentzVector<T>::setX(T ax) {mThreeVector.setX(ax);}
template<class T>
-void AliFmLorentzVector<T>::setY(T y) {mThreeVector.setY(y);}
+void AliFmLorentzVector<T>::setY(T ay) {mThreeVector.setY(ay);}
template<class T>
-void AliFmLorentzVector<T>::setZ(T z) {mThreeVector.setZ(z);}
+void AliFmLorentzVector<T>::setZ(T az) {mThreeVector.setZ(az);}
template<class T>
-void AliFmLorentzVector<T>::setT(T t) {mX4 = t;}
+void AliFmLorentzVector<T>::setT(T at) {mX4 = at;}
template<class T>
-void AliFmLorentzVector<T>::setE(T e) {mX4 = e;}
+void AliFmLorentzVector<T>::setE(T ae) {mX4 = ae;}
template<class T>
T AliFmLorentzVector<T>::x() const {return mThreeVector.x();}
template<class T>
template<class X>
-AliFmLorentzVector<T>::AliFmLorentzVector(const AliFmThreeVector<X> &vec, T t)
- : mThreeVector(vec), mX4(t) { /* nop */ }
+AliFmLorentzVector<T>::AliFmLorentzVector(const AliFmThreeVector<X> &vec, T at)
+ : mThreeVector(vec), mX4(at) { /* nop */ }
template<class T>
template<class X>
-AliFmLorentzVector<T>::AliFmLorentzVector(T t, const AliFmThreeVector<X> &vec)
- : mThreeVector(vec), mX4(t) { /* nop */ }
+AliFmLorentzVector<T>::AliFmLorentzVector(T at, const AliFmThreeVector<X> &vec)
+ : mThreeVector(vec), mX4(at) { /* nop */ }
template<class T>
template<class X>
// Implementation of member functions
//
template<class T>
-inline AliFmThreeVector<T>::AliFmThreeVector(T x, T y, T z)
- : mX1(x), mX2(y), mX3(z) {/* nop */}
+inline AliFmThreeVector<T>::AliFmThreeVector(T ax, T ay, T az)
+ : mX1(ax), mX2(ay), mX3(az) {/* nop */}
template<class T>
inline AliFmThreeVector<T>::~AliFmThreeVector() {/* nop */}
template<class T>
-inline void AliFmThreeVector<T>::setX(T x) {mX1 = x;}
+inline void AliFmThreeVector<T>::setX(T ax) {mX1 = ax;}
template<class T>
-inline void AliFmThreeVector<T>::setY(T y) {mX2 = y;}
+inline void AliFmThreeVector<T>::setY(T ay) {mX2 = ay;}
template<class T>
-inline void AliFmThreeVector<T>::setZ(T z) {mX3 = z;}
+inline void AliFmThreeVector<T>::setZ(T az) {mX3 = az;}
template<class T>
-void AliFmThreeVector<T>::setPhi(T angle)
+void AliFmThreeVector<T>::setPhi(T aangle)
{
double r = magnitude();
double th = theta();
- mX1 = r*sin(th)*cos(angle);
- mX2 = r*sin(th)*sin(angle);
+ mX1 = r*sin(th)*cos(aangle);
+ mX2 = r*sin(th)*sin(aangle);
}
template <class T>
-void AliFmThreeVector<T>::setTheta(T angle)
+void AliFmThreeVector<T>::setTheta(T aangle)
{
double r = magnitude();
double ph = phi();
- mX1 = r*sin(angle)*cos(ph);
- mX2 = r*sin(angle)*sin(ph);
- mX3 = r*cos(angle);
+ mX1 = r*sin(aangle)*cos(ph);
+ mX2 = r*sin(aangle)*sin(ph);
+ mX3 = r*cos(aangle);
}
template <class T>
}
template <class T>
-void AliFmThreeVector<T>::setMag(T mag)
+void AliFmThreeVector<T>::setMag(T amag)
{
- setMagnitude(mag);
+ setMagnitude(amag);
}
template<class T>
{
// Direct copy from CLHEP--it is probably better to
// use your own dot/cross product code...
- double x = (mX1 < 0.0) ? -mX1 : mX1;
- double y = (mX2 < 0.0) ? -mX2 : mX2;
- double z = (mX3 < 0.0) ? -mX3 : mX3;
+ double ax = (mX1 < 0.0) ? -mX1 : mX1;
+ double ay = (mX2 < 0.0) ? -mX2 : mX2;
+ double az = (mX3 < 0.0) ? -mX3 : mX3;
- if(x<y)
- return x < z ? AliFmThreeVector<T>(0,mX3,-mX2) : AliFmThreeVector<T>(mX2,-mX1,0);
+ if(ax<ay)
+ return ax < az ? AliFmThreeVector<T>(0,mX3,-mX2) : AliFmThreeVector<T>(mX2,-mX1,0);
else
return mX2 < mX3 ? AliFmThreeVector<T>(-mX3,0,mX1) : AliFmThreeVector<T>(mX2,-mX1,0);
}
template <class T>
-void AliFmThreeVector<T>::rotateX(T angle)
+void AliFmThreeVector<T>::rotateX(T aangle)
{
// may in the future make use of the AliFmRotation class!
- double yPrime = cos(angle)*mX2 - sin(angle)*mX3;
- double zPrime = sin(angle)*mX2 + cos(angle)*mX3;
+ double yPrime = cos(aangle)*mX2 - sin(aangle)*mX3;
+ double zPrime = sin(aangle)*mX2 + cos(aangle)*mX3;
mX2 = yPrime;
mX3 = zPrime;
}
template <class T>
-void AliFmThreeVector<T>::rotateY(T angle)
+void AliFmThreeVector<T>::rotateY(T aangle)
{
// may in the future make use of the AliFmRotation class!
- double zPrime = cos(angle)*mX3 - sin(angle)*mX1;
- double xPrime = sin(angle)*mX3 + cos(angle)*mX1;
+ double zPrime = cos(aangle)*mX3 - sin(aangle)*mX1;
+ double xPrime = sin(aangle)*mX3 + cos(aangle)*mX1;
mX1 = xPrime;
mX3 = zPrime;
}
template <class T>
-void AliFmThreeVector<T>::rotateZ(T angle)
+void AliFmThreeVector<T>::rotateZ(T aangle)
{
// may in the future make use of the AliFmRotation class!
- double xPrime = cos(angle)*mX1 - sin(angle)*mX2;
- double yPrime = sin(angle)*mX1 + cos(angle)*mX2;
+ double xPrime = cos(aangle)*mX1 - sin(aangle)*mX2;
+ double yPrime = sin(aangle)*mX1 + cos(aangle)*mX2;
mX1 = xPrime;
mX2 = yPrime;
template<class T>
inline AliFmThreeVector<T>
-AliFmThreeVector<T>::pseudoProduct(double x,double y,double z) const
+AliFmThreeVector<T>::pseudoProduct(double ax,double ay,double az) const
{
- return AliFmThreeVector<T>(mX1*x,mX2*y,mX3*z);
+ return AliFmThreeVector<T>(mX1*ax,mX2*ay,mX3*az);
}
template<class T>