ATLAS Offline Software
Loading...
Searching...
No Matches
VP1BatchOnLatestEvent.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
6// //
7// Header file for class VP1BatchOnLatestEvent //
8// //
9// Riccardo-Maria BIANCHI <rbianchi@cern.ch> //
10// 11 Mar 2015 //
11// //
12// This is the Athena algorithm to launch VP1 in //
13// batch-mode, to automatically create 3D event //
14// displays on-the-fly. //
15// //
17
18#ifndef VP1ALGSBATCH_VP1BATCHONLATESTEVENT
19#define VP1ALGSBATCH_VP1BATCHONLATESTEVENT
20
22#include "GaudiKernel/IIncidentListener.h"
25#include <string>
26
28public IIncidentListener
29{
30public:
31 VP1BatchOnLatestEvent(const std::string& name, ISvcLocator* pSvcLocator);
32
33 virtual StatusCode initialize() override;
34 virtual StatusCode execute() override;
35 virtual StatusCode finalize() override;
36
37 virtual void handle(const Incident& inc) override;
38
39
40private:
41 std::string getRandomConfigFile();
42 void overlayATLASlogo();
45 void makeEventDisplay();
46
47 // run/event number to be used in the vp1 event file name
48 // int m_runNumber;
49 // int m_eventNumber;
50 // unsigned int m_timeStamp;
51 // std::string m_humanTimestamp;
52
53 // properties
54 std::string m_inputVP1CfgFile;
55 std::string m_inputDir;
56 std::string m_destinationDir;
58
59 SG::ReadHandleKey<xAOD::EventInfo> m_eventInfoKey {this, "EventInfo", "EventInfo", "EventInfo Key"};
60
61 // int m_maxProducedFiles;
62 int m_nEvent; // Internal counter for the number of processed events
65
66 uint64_t m_eventNumber = 0;
67 unsigned long m_runNumber = 0;
68 unsigned long m_timeStamp = 0;
69 std::string m_humanTimestamp;
70};
71
72#endif
Property holding a SG store/key/clid from which a ReadHandle is made.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Property holding a SG store/key/clid from which a ReadHandle is made.
virtual StatusCode execute() override
VP1BatchOnLatestEvent(const std::string &name, ISvcLocator *pSvcLocator)
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
virtual StatusCode initialize() override
virtual void handle(const Incident &inc) override
virtual StatusCode finalize() override