/* History of cvs commits:
*
* $Log$
+ * Revision 1.107 2007/01/29 16:29:37 kharlov
+ * Digits2Raw(): special workaround for digits with time out of range
+ *
* Revision 1.106 2007/01/17 17:28:56 kharlov
* Extract ALTRO sample generation to a separate class AliPHOSPulseGenerator
*
// calculate the time response function
} else {
Double_t energy = 0 ;
- Int_t module = relId[0];
+ module = relId[0];
if (digit->GetId() <= geom->GetNModules() * geom->GetNCristalsInModule()) {
energy=digit->GetEnergy();
if(energy>eMax) {eMax=energy; modMax=module; colMax=col; rowMax=row;}
/* History of cvs commits:
*
* $Log$
+ * Revision 1.93 2006/10/17 13:17:01 kharlov
+ * Replace AliInfo by AliDebug
+ *
* Revision 1.92 2006/08/28 10:01:56 kharlov
* Effective C++ warnings fixed (Timur Pocheptsov)
*
for(i = 1 ; i < fInput ; i++){
TString tempo(fEventNames[i]) ;
tempo += i ;
- AliPHOSGetter * gime = AliPHOSGetter::Instance(fInputFileNames[i], tempo) ;
+ AliPHOSGetter * gime1 = AliPHOSGetter::Instance(fInputFileNames[i], tempo) ;
if (fManager)
ReadEvent = dynamic_cast<AliStream*>(fManager->GetInputStream(i))->GetCurrentEventNumber() ;
AliInfo(Form("Adding event %d from input stream %d %s %s",
ReadEvent, i, fInputFileNames[i].Data(), tempo.Data())) ;
- gime->Event(ReadEvent,"S");
- sdigArray->AddAt(gime->SDigits(), i) ;
+ gime1->Event(ReadEvent,"S");
+ sdigArray->AddAt(gime1->SDigits(), i) ;
}
//Find the first crystal with signal
}
}
else {
- AliRunLoader * rl = AliRunLoader::GetRunLoader(fgPhosLoader->GetTitle()) ;
+ rl = AliRunLoader::GetRunLoader(fgPhosLoader->GetTitle()) ;
if ( strstr(version, AliConfig::GetDefaultEventFolderName()) ) // false in case of merging
delete rl ;
fgObjGetter = new AliPHOSGetter(alirunFileName, version, openingOption) ;
/* History of cvs commits:
*
* $Log$
+ * Revision 1.14 2007/01/23 10:27:37 alibrary
+ * Adding include files where needed for latest ROOT
+ *
* Revision 1.13 2006/09/07 18:31:08 kharlov
* Effective c++ corrections (T.Pocheptsov)
*
Info("ProcessRawFile", "event= %d written", fEvent) ;
// Read next record
- UInt_t nb = nwphr *sizeof(UInt_t);
+ nb = nwphr *sizeof(UInt_t);
n = fread( recBuf, nb,1,dataFile);
if (n < 0 ){
perror(fInName);
/* History of cvs commits:
*
* $Log$
+ * Revision 1.106 2006/11/14 17:11:15 hristov
+ * Removing inheritances from TAttLine, TAttMarker and AliRndm in AliModule. The copy constructor and assignment operators are moved to the private part of the class and not implemented. The corresponding changes are propagated to the detectors
+ *
* Revision 1.105 2006/09/13 07:31:01 kharlov
* Effective C++ corrections (T.Pocheptsov)
*
Float_t x2 = cpvDigit2->GetXpad() ;
Float_t z2 = cpvDigit2->GetYpad() ;
if (x1==x2 && z1==z2) {
- Float_t qsum = cpvDigit1->GetQpad() + cpvDigit2->GetQpad() ;
- cpvDigit2->SetQpad(qsum) ;
+ Float_t qsumpad = cpvDigit1->GetQpad() + cpvDigit2->GetQpad() ;
+ cpvDigit2->SetQpad(qsumpad) ;
cpvDigits->RemoveAt(idigit) ;
}
}
Double_t csi2;
Double_t rho1;
Double_t rho2;
- Double_t fSigma;
+ Double_t sigma;
Double_t sum;
Double_t nEqu;
Double_t thetaN;
energykeV = fSpectrum->GetBinCenter(iBin);
energyeV = energykeV * 1.0e3;
- fSigma = Sigma(energykeV);
+ sigma = Sigma(energykeV);
csi1 = fFoilOmega / energyeV;
csi2 = fGapOmega / energyeV;
}
// Equivalent number of foils
- nEqu = (1.0 - TMath::Exp(-foils * fSigma)) / (1.0 - TMath::Exp(-fSigma));
+ nEqu = (1.0 - TMath::Exp(-foils * sigma)) / (1.0 - TMath::Exp(-sigma));
// dN / domega
fSpectrum->SetBinContent(iBin,4.0 * kAlpha * nEqu * sum / (energykeV * (1.0 + tau)));
void SelectStepManager(Int_t t);
void SetStepSize(Double_t s) { fStepSize = s; }
- void SetTR(Bool_t kTRUE) { fTRon = kTRUE; }
+ void SetTR(Bool_t) { fTRon = kTRUE; }
Bool_t GetTR() const { return fTRon; }
AliTRDsim *GetTRDsim() const { return fTR; }