ATLAS Offline Software
VomsProxySvc.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef EVENT_LOOP_VOMS_PROXY_SVC_H
6 #define EVENT_LOOP_VOMS_PROXY_SVC_H
7 
8 //
9 // Distributed under the Boost Software License, Version 1.0.
10 // (See accompanying file LICENSE_1_0.txt or copy at
11 // http://www.boost.org/LICENSE_1_0.txt)
12 
13 // Please feel free to contact me (krumnack@iastate.edu) for bug
14 // reports, feature suggestions, praise and complaints.
15 
16 
17 #include <EventLoop/Global.h>
18 
19 #include <EventLoop/Algorithm.h>
20 
21 namespace EL
22 {
23  class VomsProxySvc : public Algorithm
24  {
25  //
26  // public interface
27  //
28 
30  public:
31  static const std::string& algServiceName ();
32 
33 
36  public:
37  void testInvariant () const;
38 
40  public:
41  std::string m_fileName;
42 
43 
44 
45  //
46  // interface inherited from Algorithm
47  //
48 
49  public:
50  virtual const char *GetName () const override;
51 
52  private:
53  virtual StatusCode setupJob (Job& job) override;
54 
55  private:
56  virtual StatusCode histInitialize () override;
57 
58 
59 
60  //
61  // private interface
62  //
63 
65  private:
66  std::string m_proxyData;
67 
68 #pragma GCC diagnostic push
69 #pragma GCC diagnostic ignored "-Wpragmas"
70 #pragma GCC diagnostic ignored "-Wunknown-pragmas"
71 #pragma GCC diagnostic ignored "-Winconsistent-missing-override"
73 #pragma GCC diagnostic pop
74  };
75 }
76 
77 #endif
EL::VomsProxySvc::ClassDef
ClassDef(VomsProxySvc, 1)
EL::VomsProxySvc::histInitialize
virtual StatusCode histInitialize() override
effects: this is a pre-initialization routine that is called before changeInput is called.
EL::VomsProxySvc::GetName
virtual const char * GetName() const override
EL::Algorithm
Definition: Algorithm.h:22
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
Algorithm.h
EL::VomsProxySvc::algServiceName
static const std::string & algServiceName()
description: the name of the service
EL
This module defines the arguments passed from the BATCH driver to the BATCH worker.
Definition: AlgorithmWorkerData.h:24
EL::VomsProxySvc::m_fileName
std::string m_fileName
the name of the file to be created
Definition: VomsProxySvc.h:41
EL::VomsProxySvc
Definition: VomsProxySvc.h:24
EL::VomsProxySvc::testInvariant
void testInvariant() const
effects: test the invariant of this object guarantee: no-fail
EL::VomsProxySvc::setupJob
virtual StatusCode setupJob(Job &job) override
effects: give the algorithm a chance to intialize the job with anything this algorithm needs.
EL::VomsProxySvc::m_proxyData
std::string m_proxyData
the data to place inside the proxy file
Definition: VomsProxySvc.h:66
EL::Job
Definition: Job.h:51
test_interactive_athena.job
job
Definition: test_interactive_athena.py:6
Global.h