// Check if hit cell is empty, used or unused
//
Int_t inf=fDigitMap[CheckedIndex(vol)];
- if (inf < 0) {
+ if (inf > 0) {
return kUsed;
} else if (inf == 0) {
return kEmpty;
/*
$Log$
+Revision 1.3 2001/12/19 09:33:32 hristov
+Index corrected
+
Revision 1.2 2001/11/22 11:30:30 hristov
Correct log field
// Check if hit cell is empty, used or unused
//
Int_t inf=fHitMap[CheckedIndex(vol)];
- if (inf < 0) {
+ if (inf > 0) {
return kUsed;
} else if (inf == 0) {
return kEmpty;
} // if(TOF)
} // end loop on primary tracks
}
+
+//__________________________________________________________________
+Bool_t AliTOFReconstructionerV2::operator==(const AliTOFReconstructionerV2 & tofrecv2)const
+{
+ // Equal operator.
+ // Reconstructioner are equal if their fField, fNDummyTracks, fScaleSigmaFactor and fStep are equal
+
+ if( (fField==tofrecv2.fField)&&(fNDummyTracks==tofrecv2.fNDummyTracks)&&(fScaleSigmaFactor==tofrecv2.fScaleSigmaFactor)&&(fStep==tofrecv2.fStep))
+ return kTRUE ;
+ else
+ return kFALSE ;
+}
AliTOFReconstructionerV2(const AliTOFReconstructionerV2 & rec);
virtual ~AliTOFReconstructionerV2() ; // dtor
Bool_t BackPropagation(){return kTRUE;};
- void CreateNTuple();
+ //void CreateNTuple();
void Comparison(Int_t* rtIndex); // for MC comparison
virtual void Exec(Option_t* option); // do the main work
Int_t GetDbgFlag() const {return fdbg;}
public:
AliTOFTrackV2();
- AliTOFTrackV2(Int_t trackLabel, Float_t tpcMom, Float_t dEdX, Float_t* tpcXYZ, Float_t* tpcPtPz, Float_t* trdXYZ, Float_t* trdPxPyPz);
AliTOFTrackV2(Int_t trackLabel, Int_t matchingStatus, Float_t tpcMom, Float_t dEdX, Float_t* tpcXYZ, Float_t* tpcPtPz, Float_t* trdXYZ, Float_t* trdPxPyPz);
~AliTOFTrackV2(){};