Project
Loading...
Searching...
No Matches
RecoQCworkflow.h
Go to the documentation of this file.
1// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
2// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3// All rights not expressly granted are reserved.
4//
5// This software is distributed under the terms of the GNU General Public
6// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7//
8// In applying this license CERN does not waive the privileges and immunities
9// granted to it by virtue of its status as an Intergovernmental Organization
10// or submit itself to any jurisdiction.
11
15
16#ifndef O2_RECOQC_WORKFLOW
17#define O2_RECOQC_WORKFLOW
18
19#include <fairlogger/Logger.h>
21#include <TMath.h>
24#include "Framework/Task.h"
31//#include "DataFormatsFT0/RecoCalibInfoObject.h"
32#include "TStopwatch.h"
33#include <string>
34#include <vector>
35#include <TH1F.h>
36#include <TH2F.h>
37#include <TFile.h>
38
39using namespace o2::framework;
42
43namespace o2::ft0
44{
45
47{
48 public:
49 RecoQCworkflow(GID::mask_t src, std::shared_ptr<DataRequest> const& dataRequest) : mInputSources(src), mDataRequest(dataRequest) {}
51 void init(InitContext& ic) final;
53
54 private:
55 std::shared_ptr<DataRequest> mDataRequest;
56 const float cSpeed = 0.029979246f; // speed of light in TOF units
57 GID::mask_t mInputSources;
58 TStopwatch mTimer;
59 TFile* mFileOut;
60 TH1F* mHisto[10];
61 TH2F* mVertexComp;
62 TH1F* mVertexT0;
63 TH1F* mPV;
64};
65
67
68} // namespace o2::ft0
69
70#endif /* O2_RECOQC_WORKFLOW */
Wrapper container for different reconstructed object types.
Definition of the FIT RecPoints class.
Global index for barrel track: provides provenance (detectors combination), index in respective array...
void endOfStream(framework::EndOfStreamContext &ec) final
This is invoked whenever we have an EndOfStream event.
RecoQCworkflow(GID::mask_t src, std::shared_ptr< DataRequest > const &dataRequest)
void init(InitContext &ic) final
void run(o2::framework::ProcessingContext &pc) final
GLenum src
Definition glcorearb.h:1767
Defining PrimaryVertex explicitly as messageable.
Definition TFIDInfo.h:20
framework::DataProcessorSpec getRecoQCworkflow(GID::mask_t src)