Skip to content

Commit e249764

Browse files
committed
updates
1 parent 6bafad0 commit e249764

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

PWGMM/Tasks/lumi.cxx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ using namespace o2::framework;
2020
using namespace o2::framework::expressions;
2121

2222
struct lumiTask {
23-
HistogramRegistry histos{"histos",{
24-
{"vertexx", "", {HistType::kTH1F, {{1000, -1, 1, "x"}}}}, //
25-
{"vertexy", "", {HistType::kTH1F, {{1000, -1, 1, "y"}}}}, //
26-
{"timestamp", "", {HistType::kTH1F, {{1000, 0, 5e7, "t"}}}}, //
27-
{"vertexx_timestamp", "", {HistType::kTH2F, {{1000, 0, 5e7, "t"}, {1000, -1, 1, "x"}}}}, //
28-
{"vertexy_timestamp", "", {HistType::kTH2F, {{1000, 0, 5e7, "t"}, {1000, -1, 1, "y"}}}} //
29-
} };
23+
HistogramRegistry histos{"histos", {
24+
{"vertexx", "", {HistType::kTH1F, {{1000, -1, 1, "x"}}}}, //
25+
{"vertexy", "", {HistType::kTH1F, {{1000, -1, 1, "y"}}}}, //
26+
{"timestamp", "", {HistType::kTH1F, {{1000, 0, 5e7, "t"}}}}, //
27+
{"vertexx_timestamp", "", {HistType::kTH2F, {{1000, 0, 5e7, "t"}, {1000, -1, 1, "x"}}}}, //
28+
{"vertexy_timestamp", "", {HistType::kTH2F, {{1000, 0, 5e7, "t"}, {1000, -1, 1, "y"}}}} //
29+
}};
3030
int first_time = 1530314294062; // to be updated
3131

3232
void process(aod::Collision const& collision, aod::BCsWithTimestamps const&)
@@ -35,7 +35,7 @@ struct lumiTask {
3535
histos.fill(HIST("vertexx"), collision.posX());
3636
histos.fill(HIST("vertexy"), collision.posY());
3737
histos.fill(HIST("timestamp"), bc.timestamp() - first_time);
38-
// LOGF(info, "Got timestamp {}", bc.timestamp());
38+
// LOGF(info, "Got timestamp {}", bc.timestamp());
3939
histos.fill(HIST("vertexx_timestamp"), bc.timestamp() - first_time, collision.posX());
4040
histos.fill(HIST("vertexy_timestamp"), bc.timestamp() - first_time, collision.posY());
4141
} // need selections

0 commit comments

Comments
 (0)