git://git.uio.no
/
u
/
mrichter
/
AliRoot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
o mods
[u/mrichter/AliRoot.git]
/
TPC
/
Upgrade
/
AliToyMCEventGenerator.cxx
diff --git
a/TPC/Upgrade/AliToyMCEventGenerator.cxx
b/TPC/Upgrade/AliToyMCEventGenerator.cxx
index c2acbcd0f268c0c9acf346c6bbfb371c78295a3a..c0f8bc968e3991a4a386e7c00abc6b9d7ba23573 100644
(file)
--- a/
TPC/Upgrade/AliToyMCEventGenerator.cxx
+++ b/
TPC/Upgrade/AliToyMCEventGenerator.cxx
@@
-785,7
+785,7
@@
void AliToyMCEventGenerator::SetSCScalingFactor()
}
//________________________________________________________________
}
//________________________________________________________________
-void AliToyMCEventGenerator::SetCorrectionFromFile(
const TString&
file, AliTPCCorrection* &corr)
+void AliToyMCEventGenerator::SetCorrectionFromFile(
TString
file, AliTPCCorrection* &corr)
{
//
// read the correction from file and set it to corr
{
//
// read the correction from file and set it to corr
@@
-796,9
+796,9
@@
void AliToyMCEventGenerator::SetCorrectionFromFile(const TString& file, AliTPCCo
// allow for specifying an object name for the AliTPCCorrection in the file name
// separated by a ':'
// allow for specifying an object name for the AliTPCCorrection in the file name
// separated by a ':'
- TObjArray *arr=f
CorrectionF
ile.Tokenize(":");
+ TObjArray *arr=file.Tokenize(":");
if (arr->GetEntriesFast()>1) {
if (arr->GetEntriesFast()>1) {
- f
CorrectionF
ile=arr->At(0)->GetName();
+ file=arr->At(0)->GetName();
corrName=arr->At(1)->GetName();
}
delete arr;
corrName=arr->At(1)->GetName();
}
delete arr;
@@
-806,7
+806,7
@@
void AliToyMCEventGenerator::SetCorrectionFromFile(const TString& file, AliTPCCo
TFile f(file.Data());
if (!f.IsOpen()||f.IsZombie()) {
TFile f(file.Data());
if (!f.IsOpen()||f.IsZombie()) {
-
AliError(Form("Could not open SC file '%s'",file.Data()
));
+
printf("E-AliToyMCEventGenerator::Could not open SC file '%s'",file.Data(
));
return;
}
return;
}