38 auto hPhi =
new TH1F(
"phi",
"Phi", 100, 0, 2 * M_PI);
39 auto hEta =
new TH1F(
"eta",
"Eta", 100, 0, 2 * M_PI);
40 for (
auto& track : tracks) {
41 auto phi = asin(track.snp()) + track.alpha() + M_PI;
42 auto eta = log(tan(0.25 * M_PI - 0.5 * atan(track.tgl())));
46 TFile
f(
"result1.root",
"RECREATE");
57 adaptAnalysisTask<ATask>(cfgc,
TaskName{
"mySimpleTrackAnalysis"})};
Defining PrimaryVertex explicitly as messageable.
std::vector< DataProcessorSpec > WorkflowSpec
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
WorkflowSpec defineDataProcessing(ConfigContext const &cfgc)
This function hooks up the the workflow specifications into the DPL driver.
void run(ProcessingContext &pc)
void process(aod::Tracks const &tracks)
Service< TimingInfo > info
void init(InitContext &ic)
Struct to differentiate task names from possible task string arguments.