|
13 | 13 | /// \brief Task for the analysis of forward PID with MFT |
14 | 14 | /// \author Luca Micheletti <[email protected]>, INFN |
15 | 15 |
|
16 | | -#include <iostream> |
17 | | -#include <vector> |
18 | | -#include <algorithm> |
19 | | -#include <TH1F.h> |
20 | | -#include <TH3F.h> |
21 | | -#include <THashList.h> |
22 | | -#include <TList.h> |
23 | | -#include <TString.h> |
24 | | -#include "CCDB/BasicCCDBManager.h" |
25 | | -#include "DataFormatsParameters/GRPObject.h" |
26 | | -#include "Framework/runDataProcessing.h" |
27 | | -#include "Framework/AnalysisTask.h" |
28 | | -#include "Framework/AnalysisDataModel.h" |
29 | | -#include "Framework/ASoAHelpers.h" |
30 | | -#include "PWGDQ/DataModel/ReducedInfoTables.h" |
31 | | -#include "PWGDQ/Core/VarManager.h" |
| 16 | +#include "PWGDQ/Core/AnalysisCompositeCut.h" |
| 17 | +#include "PWGDQ/Core/AnalysisCut.h" |
| 18 | +#include "PWGDQ/Core/CutsLibrary.h" |
32 | 19 | #include "PWGDQ/Core/HistogramManager.h" |
33 | | -#include "PWGDQ/Core/MixingHandler.h" |
| 20 | +#include "PWGDQ/Core/HistogramsLibrary.h" |
34 | 21 | #include "PWGDQ/Core/MCSignal.h" |
35 | 22 | #include "PWGDQ/Core/MCSignalLibrary.h" |
36 | | -#include "PWGDQ/Core/AnalysisCut.h" |
37 | | -#include "PWGDQ/Core/AnalysisCompositeCut.h" |
38 | | -#include "PWGDQ/Core/HistogramsLibrary.h" |
39 | | -#include "PWGDQ/Core/CutsLibrary.h" |
| 23 | +#include "PWGDQ/Core/MixingHandler.h" |
40 | 24 | #include "PWGDQ/Core/MixingLibrary.h" |
| 25 | +#include "PWGDQ/Core/VarManager.h" |
| 26 | +#include "PWGDQ/DataModel/ReducedInfoTables.h" |
| 27 | + |
| 28 | +#include "Common/CCDB/EventSelectionParams.h" |
| 29 | + |
| 30 | +#include "CCDB/BasicCCDBManager.h" |
41 | 31 | #include "DataFormatsParameters/GRPMagField.h" |
42 | | -#include "Field/MagneticField.h" |
43 | | -#include "TGeoGlobalMagField.h" |
44 | | -#include "DetectorsBase/Propagator.h" |
| 32 | +#include "DataFormatsParameters/GRPObject.h" |
45 | 33 | #include "DetectorsBase/GeometryManager.h" |
| 34 | +#include "DetectorsBase/Propagator.h" |
| 35 | +#include "Field/MagneticField.h" |
| 36 | +#include "Framework/ASoAHelpers.h" |
| 37 | +#include "Framework/AnalysisDataModel.h" |
| 38 | +#include "Framework/AnalysisTask.h" |
| 39 | +#include "Framework/runDataProcessing.h" |
46 | 40 | #include "ITSMFTBase/DPLAlpideParam.h" |
47 | | -#include "Common/CCDB/EventSelectionParams.h" |
| 41 | + |
| 42 | +#include "TGeoGlobalMagField.h" |
| 43 | +#include <TH1F.h> |
| 44 | +#include <TH3F.h> |
| 45 | +#include <THashList.h> |
| 46 | +#include <TList.h> |
| 47 | +#include <TString.h> |
| 48 | + |
| 49 | +#include <algorithm> |
| 50 | +#include <iostream> |
| 51 | +#include <memory> |
| 52 | +#include <string> |
| 53 | +#include <vector> |
48 | 54 |
|
49 | 55 | using namespace o2; |
50 | 56 | using namespace o2::framework; |
@@ -150,7 +156,7 @@ struct taskFwdTrackPid { |
150 | 156 | for (const auto& mftTrack : mftTracks) { |
151 | 157 | if (TMath::Abs(mftTrack.fwdDcaX()) < fConfigMaxDCA && TMath::Abs(mftTrack.fwdDcaY()) < fConfigMaxDCA) { |
152 | 158 | if (downSampleFactor < 1.) { |
153 | | - float pseudoRndm = mftTrack.pt() * 1000. - (int64_t)(mftTrack.pt() * 1000); |
| 159 | + float pseudoRndm = mftTrack.pt() * 1000. - static_cast<int64_t>(mftTrack.pt() * 1000); |
154 | 160 | if (pseudoRndm >= downSampleFactor) { |
155 | 161 | continue; |
156 | 162 | } |
|
0 commit comments