class TFile;
class AliRunLoader;
class AliStack;
-class AliTPCParam;
-const Int_t kgRowBytes = 32;
class AliTPCdigitRow: public TObject {
public:
void SetRow(Int_t row);
Bool_t TestRow(Int_t row) const ;
AliTPCdigitRow & operator=(const AliTPCdigitRow &digOld);
- Int_t RowsOn(Int_t upto=8*kgRowBytes) const;
+ Int_t RowsOn(Int_t upto=8*32) const;
Int_t Last() const;
Int_t First() const ;
void Reset();
private:
- UChar_t fDig[kgRowBytes];
+ UChar_t fDig[32]; // bitmask of the digits presence
ClassDef(AliTPCdigitRow,1) // container for digit pattern
};
AliMCInfo();
~AliMCInfo();
AliMCInfo(const AliMCInfo& info);
+ AliMCInfo& operator=(const AliMCInfo& info);
+ void Update(TParticle * part, TClonesArray * arrayTr, Double_t pvertex[4], Int_t label);
+ void Clear(Option_t* = "");
+ //
void Update();
Int_t GetEventNr() const {return fEventNr;}
const AliTrackReference& GetTrackRef() const {return fTrackRef;}
const AliTrackReference& GetTrackRefOut() const {return fTrackRefOut;}
const AliTrackReference& GetTRdecay() const {return fTRdecay;}
TParticle& GetParticle() {return fParticle;}
- Float_t TPCBetheBloch(Float_t bg);
//
Int_t GetPrimPart() const {return fPrimPart;}
Float_t GetMass() const {return fMass;}
const TClonesArray * GetTRDReferences() const { return fTRDReferences;}
const TClonesArray * GetITSReferences() const { return fITSReferences;}
const TClonesArray * GetTOFReferences() const { return fTOFReferences;}
+ void CalcTPCrows(TClonesArray *arrayTR);
private:
AliTrackReference fTrackRef; // track reference saved in the output tree
AliTrackReference fTrackRefOut; // decay track reference saved in the output tree
Int_t fPrimPart; // index of primary particle in TreeH
TParticle fParticle; // generated particle
Float_t fMass; // mass of the particle
- Float_t fCharge; //
+ Float_t fCharge; // charge of the particle
Int_t fLabel; // track label
Int_t fEventNr; // event number
Int_t fMCtracks; // indication of how many times the track is retuturned back
Float_t fDecayCoord[3]; // position of particle decay
Double_t fVDist[4]; //distance of the particle vertex from primary vertex
Bool_t fTPCdecay; //indicates decay in TPC
+ //
+ // TPC row information using digits
Int_t fRowsWithDigitsInn; // number of rows with digits in the inner sectors
Int_t fRowsWithDigits; // number of rows with digits in the outer sectors
Int_t fRowsTrackLength; // last - first row with digit
+ //
+ // TPC track refernce information
+ Float_t fTPCtrackLength; // distance between first and last track reference
+ //
Float_t fPrim; // theoretical dedx in tpc according particle momenta and mass
AliTPCdigitRow fTPCRow; // information about digits row pattern
+ //
Int_t fNTPCRef; // tpc references counter
Int_t fNITSRef; // ITS references counter
Int_t fNTRDRef; // TRD references counter
Int_t fNTOFRef; // TOF references counter
+ //
+ Int_t fNTPCRefOut; // tpc references counter - out
+ Int_t fNITSRefOut; // ITS references counter - out
+ Int_t fNTRDRefOut; // TRD references counter - out
+ Int_t fNTOFRefOut; // TOF references counter - out
+
TClonesArray * fTPCReferences; //containner with all track references -in the TPC
TClonesArray * fITSReferences; //container with ITS references
TClonesArray * fTRDReferences; //container with TRD references
TClonesArray * fTOFReferences; //container with TRD references
//
- ClassDef(AliMCInfo,1); // container for
+ ClassDef(AliMCInfo,2); // container for
};