ATLAS Offline Software
DataQuality
dqm_algorithms
dqm_algorithms
OccupancyHoleFinder.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef DQM_ALGORITHMS_OCCUPANCYHOLEFINDER_H
6
#define DQM_ALGORITHMS_OCCUPANCYHOLEFINDER_H
7
8
#include <dqm_core/Algorithm.h>
9
#include <string>
10
#include <iosfwd>
11
12
class
TH1;
13
class
TH2;
14
15
namespace
dqm_algorithms
16
{
17
struct
OccupancyHoleFinder
:
public
dqm_core::Algorithm
18
{
19
OccupancyHoleFinder
(
const
std::string &
name
);
20
~OccupancyHoleFinder
();
21
22
//overwrites virtual functions
23
OccupancyHoleFinder
*
clone
( );
24
dqm_core::Result
*
execute
(
const
std::string & ,
const
TObject & ,
const
dqm_core::AlgorithmConfig & );
25
using
dqm_core::Algorithm::printDescription;
26
void
printDescription
(std::ostream&
out
);
27
28
//return histogram with median in each vertical strip
29
TH1*
getMedian
(
const
TH2*
histo
);
30
//Have this function call your own function based on name
31
//See MDT_OccupancyHoleFinder.h as an example
32
std::string
getChamberName
(
const
TH2*
histo
,
int
biny);
33
//Called when calling derived instance 'MDT_OccupancyHoleFinder.h'
34
std::string
getMDTChamberName
(
const
TH2*
histo
,
int
biny);
35
std::string
getMDTChamberNameByCrate
(
int
biny,
const
std::string& crate);
36
37
private
:
38
std::string
m_name
;
39
};
40
}
41
42
#endif // DQM_ALGORITHMS_OCCUPANCYHOLEFINDER_H
python.AthDsoLogger.out
out
Definition:
AthDsoLogger.py:71
dqm_algorithms::OccupancyHoleFinder::getMDTChamberNameByCrate
std::string getMDTChamberNameByCrate(int biny, const std::string &crate)
Definition:
OccupancyHoleFinder.cxx:429
dqm_algorithms::OccupancyHoleFinder::~OccupancyHoleFinder
~OccupancyHoleFinder()
Definition:
OccupancyHoleFinder.cxx:42
Result
ICscStripFitter::Result Result
Definition:
CalibCscStripFitter.cxx:13
dqm_algorithms::OccupancyHoleFinder::printDescription
void printDescription(std::ostream &out)
Definition:
OccupancyHoleFinder.cxx:239
dqm_algorithms::OccupancyHoleFinder::execute
dqm_core::Result * execute(const std::string &, const TObject &, const dqm_core::AlgorithmConfig &)
Definition:
OccupancyHoleFinder.cxx:54
dqm_algorithms::OccupancyHoleFinder::getMDTChamberName
std::string getMDTChamberName(const TH2 *histo, int biny)
Definition:
OccupancyHoleFinder.cxx:291
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:228
dqm_algorithms::OccupancyHoleFinder::getChamberName
std::string getChamberName(const TH2 *histo, int biny)
Definition:
OccupancyHoleFinder.cxx:271
dqm_algorithms
Definition:
AddReference.h:17
dqm_algorithms::OccupancyHoleFinder::clone
OccupancyHoleFinder * clone()
Definition:
OccupancyHoleFinder.cxx:47
dqm_algorithms::OccupancyHoleFinder
Definition:
OccupancyHoleFinder.h:18
dqm_algorithms::OccupancyHoleFinder::OccupancyHoleFinder
OccupancyHoleFinder(const std::string &name)
Definition:
OccupancyHoleFinder.cxx:34
plotBeamSpotCompare.histo
histo
Definition:
plotBeamSpotCompare.py:415
dqm_algorithms::OccupancyHoleFinder::getMedian
TH1 * getMedian(const TH2 *histo)
Definition:
OccupancyHoleFinder.cxx:248
dqm_algorithms::OccupancyHoleFinder::m_name
std::string m_name
Definition:
OccupancyHoleFinder.h:38
Generated on Mon Dec 23 2024 21:15:56 for ATLAS Offline Software by
1.8.18