ATLAS Offline Software
LumiBlock
LumiBlockComps
src
BunchCrossingAverageCondTest.h
Go to the documentation of this file.
1
// Dear emacs, this is -*- c++ -*-
2
3
/*
4
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
#ifndef LUMIBLOCKCOMPS_BUNCHCROSSINGAVERAGECONDTEST_H
8
#define LUMIBLOCKCOMPS_BUNCHCROSSINGAVERAGECONDTEST_H
9
10
// Gaudi/Athena include(s):
11
#include "GaudiKernel/ToolHandle.h"
12
#include "Gaudi/Property.h"
13
#include "
AthenaBaseComps/AthAlgorithm.h
"
14
#include "
LumiBlockData/BunchCrossingAverageCondData.h
"
15
16
#include <fstream>
17
18
class
BunchCrossingAverageCondTest
:
public
AthAlgorithm
{
19
20
public
:
22
using
AthAlgorithm::AthAlgorithm
;
23
25
virtual
StatusCode
initialize
();
27
virtual
StatusCode
execute
();
28
29
private
:
31
static
void
printInfo
(
const
BunchCrossingAverageCondData
* bccd,
unsigned
int
channel
, std::ostream&
out
);
32
33
SG::ReadCondHandleKey<BunchCrossingAverageCondData>
m_inputKey
{
this
,
"InputKey"
,
"BunchCrossingAverageData"
,
""
};
34
35
Gaudi::Property<std::string>
m_fileName
{
this
,
"FileName"
,
""
};
36
37
// Gaudi::Property<bool> m_compact{this,"compact",false};
38
39
std::ofstream
m_fileOut
;
40
41
};
42
43
44
45
#endif
plotting.yearwise_efficiency.channel
channel
Definition:
yearwise_efficiency.py:24
BunchCrossingAverageCondTest::printInfo
static void printInfo(const BunchCrossingAverageCondData *bccd, unsigned int channel, std::ostream &out)
Function for printing detailed info about a given bunch crossing.
Definition:
BunchCrossingAverageCondTest.cxx:45
BunchCrossingAverageCondTest::m_fileOut
std::ofstream m_fileOut
Definition:
BunchCrossingAverageCondTest.h:39
python.AthDsoLogger.out
out
Definition:
AthDsoLogger.py:71
AthAlgorithm.h
BunchCrossingAverageCondTest::m_inputKey
SG::ReadCondHandleKey< BunchCrossingAverageCondData > m_inputKey
Definition:
BunchCrossingAverageCondTest.h:33
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgorithm
Definition:
AthAlgorithm.h:47
BunchCrossingAverageCondTest::execute
virtual StatusCode execute()
Function called once per event.
Definition:
BunchCrossingAverageCondTest.cxx:30
SG::ReadCondHandleKey< BunchCrossingAverageCondData >
BunchCrossingAverageCondData
Definition:
BunchCrossingAverageCondData.h:23
BunchCrossingAverageCondTest::m_fileName
Gaudi::Property< std::string > m_fileName
Definition:
BunchCrossingAverageCondTest.h:35
BunchCrossingAverageCondData.h
Adding more information about Bunch Current Intensities (for Lumi studies)
BunchCrossingAverageCondTest
Definition:
BunchCrossingAverageCondTest.h:18
AthAlgorithm::AthAlgorithm
AthAlgorithm()
Default constructor:
BunchCrossingAverageCondTest::initialize
virtual StatusCode initialize()
Initialization run before the event loop.
Definition:
BunchCrossingAverageCondTest.cxx:9
Generated on Thu Nov 7 2024 21:11:00 for ATLAS Offline Software by
1.8.18