AliPMDNoiseCut& operator= (const AliPMDNoiseCut &noisecut);
virtual ~AliPMDNoiseCut();
- Int_t GetNoiseCut(Int_t imod) const {return fNoiseCut[imod];}
+ Float_t GetNoiseCut(Int_t imod) const {return fNoiseCut[imod];}
void SetNoiseCut(Int_t imod, Float_t cut) {fNoiseCut[imod] = cut;}
Float_t fNoiseCut[48];
- ClassDef(AliPMDNoiseCut,1) // calibration class for gainfactors
+ ClassDef(AliPMDNoiseCut,2) // calibration class for gainfactors
};
#endif
fYcell(0),
fTrcell(0),
fPidcell(0),
- fAdccell(0)
+ fAdccell(0.)
{
// Standard constructor
}
fYcell(0),
fTrcell(0),
fPidcell(0),
- fAdccell(0)
+ fAdccell(0.)
{
*this = *pmdrechit;
}
Int_t fYcell; // y-position of the cell
Int_t fTrcell; // track no of the cell
Int_t fPidcell; // track pid of the cell
- Int_t fAdccell; // cell Adc
+ Float_t fAdccell; // cell Adc
- ClassDef(AliPMDrechit,4) // To keep cell hit information
+ ClassDef(AliPMDrechit,5) // To keep cell hit information
};
#endif
Int_t *phentry = new Int_t [nentry];
Int_t *hadentry = new Int_t [nentry];
- Int_t *trenergy = 0x0;
Int_t *trpid = 0x0;
Int_t *sortcoord = 0x0;
+ Float_t *trenergy = 0x0;
Int_t ngtrack = 0;
Int_t nhtrack = 0;
// find out which track deposits maximum energy and
// assign that track number and track pid
- trenergy = new Int_t [nghadtrack];
+ trenergy = new Float_t [nghadtrack];
trpid = new Int_t [nghadtrack];
- // the dimension of sortcoord is doubled
- sortcoord = new Int_t [2*nghadtrack];
+ sortcoord = new Int_t [nghadtrack];
for (Int_t i = 0; i < ngtrack; i++)
{
trenergy[i] = 0.;