|
11 | 11 | // |
12 | 12 | // Contact: iarsene@cern.ch, i.c.arsene@fys.uio.no |
13 | 13 | // |
| 14 | +#include <iostream> |
| 15 | +#include <vector> |
| 16 | +#include <algorithm> |
| 17 | +#include <TH1F.h> |
| 18 | +#include <THashList.h> |
| 19 | +#include <TString.h> |
14 | 20 | #include "CCDB/BasicCCDBManager.h" |
15 | 21 | #include "Framework/runDataProcessing.h" |
16 | 22 | #include "Framework/AnalysisTask.h" |
|
25 | 31 | #include "PWGDQ/Core/HistogramsLibrary.h" |
26 | 32 | #include "PWGDQ/Core/CutsLibrary.h" |
27 | 33 | #include "PWGDQ/Core/MixingLibrary.h" |
28 | | -#include <TH1F.h> |
29 | | -#include <THashList.h> |
30 | | -#include <TString.h> |
31 | | -#include <iostream> |
32 | | -#include <vector> |
33 | | -#include <algorithm> |
34 | 34 |
|
35 | 35 | using std::cout; |
36 | 36 | using std::endl; |
@@ -407,7 +407,7 @@ struct AnalysisSameEventPairing { |
407 | 407 | Configurable<string> fConfigTrackCuts{"cfgTrackCuts", "", "Comma separated list of barrel track cuts"}; |
408 | 408 | Configurable<string> url{"ccdb-url", "http://ccdb-test.cern.ch:8080", "url of the ccdb repository"}; |
409 | 409 | Configurable<string> ccdbPath{"ccdb-path", "Users/lm", "base path to the ccdb object"}; |
410 | | - Configurable<long> nolaterthan{"ccdb-no-later-than", std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::system_clock::now().time_since_epoch()).count(), "latest acceptable timestamp of creation for the object"}; |
| 410 | + Configurable<int64_t> nolaterthan{"ccdb-no-later-than", std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::system_clock::now().time_since_epoch()).count(), "latest acceptable timestamp of creation for the object"}; |
411 | 411 | Service<o2::ccdb::BasicCCDBManager> ccdb; |
412 | 412 | Filter filterEventSelected = aod::dqanalysisflags::isEventSelected == 1; |
413 | 413 | // NOTE: the barrel filter map contains decisions for both electrons and hadrons used in the correlation task |
@@ -562,7 +562,7 @@ void DefineHistograms(HistogramManager* histMan, TString histClasses) |
562 | 562 | dqhistograms::DefineHistograms(histMan, objArray->At(iclass)->GetName(), "event", "trigger,cent"); |
563 | 563 | } |
564 | 564 |
|
565 | | - if (classStr.Contains("Track")) { |
| 565 | + if (classStr.Contains("Track") && !(classStr.Contains("Pairs"))) { |
566 | 566 | if (classStr.Contains("Barrel")) { |
567 | 567 | dqhistograms::DefineHistograms(histMan, objArray->At(iclass)->GetName(), "track", "its,tpcpid,dca,tofpid"); |
568 | 568 | } |
|
0 commit comments