File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed
Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -31,15 +31,11 @@ public:
3131 // Connect to CCDB and retrieve coalescence probability two-dimensional table
3232 o2 ::ccdb ::CcdbApi ccdb_api ;
3333 ccdb_api .init ("https://alice-ccdb.cern.ch" );
34- TFile * file = ccdb_api .retrieveFromTFileAny < TFile > ("Users/a/alcaliva/WignerCoalescence/ArgonneProbability.root" );
34+
35+ mTwoDimCoalProbability = ccdb_api .retrieveFromTFileAny < TH2D > ("Users/a/alcaliva/WignerCoalescence/ArgonneProbability/AddedSDWave" );
3536
36- if (!file ) {
37- LOG (fatal ) << "Could not retrieve ArgonneProbability.root from CCDB!" ;
38- }
39-
40- mTwoDimCoalProbability = dynamic_cast < TH2D * > (file -> FindObject ("AddedSDWave" ));
4137 if (!mTwoDimCoalProbability ) {
42- LOG (fatal ) << "Could not find 'AddedSDWave' histogram in the input file!" ;
38+ LOG (fatal ) << "Could not find coalescence probability table in input file!" ;
4339 }
4440 }
4541
You can’t perform that action at this time.
0 commit comments