ATLAS Offline Software
Loading...
Searching...
No Matches
MdtVsRpcRawDataValAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4
6// Package : MdtVsRpcRawDataMonitoring
7// Author: N. Benekos(Illinois) - G. Chiodini(INFN-Lecce)
8// Sept. 2007
9//
10// DESCRIPTION:
11// Subject: MDTvsRPC-->Offline Muon Data Quality
13
14#ifndef MdtVsRpcRawDataValAlg_H
15#define MdtVsRpcRawDataValAlg_H
16
17#include <string.h>
18
19#include <map>
20#include <sstream>
21#include <vector>
22
24#include "GaudiKernel/ServiceHandle.h"
31
32class TH1;
33class TH2;
34
36
38 public:
39 MdtVsRpcRawDataValAlg(const std::string& type, const std::string& name,
40 const IInterface* parent);
41
42 virtual ~MdtVsRpcRawDataValAlg() = default;
43 StatusCode initialize();
44 virtual StatusCode bookHistogramsRecurrent();
45 virtual StatusCode fillHistograms();
46
47 private:
48 // Private function to add the clusters to the ntuple
49 StatusCode addClusters(std::string clusterContainerName);
50
51 // m_chambersIdmdt;
53
55 int m_side;
56 std::vector<std::string> m_layer_name_list;
57 std::vector<std::string> m_layerSector_name_list;
59
60 // MuonDetectorManager from the conditions store
62 this, "DetectorManagerKey", "MuonDetectorManager",
63 "Key of input MuonDetectorManager condition data"};
64
66 this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
67
68 void bookMDTvsRPCHistograms(const std::string& m_hardware_name,
69 const std::string& m_layer_name, int binz,
70 int binminz, int binmaxz, int binx, int binminx,
71 int binmaxx);
72 void bookMDTvsRPCsectorHistograms(const std::string& m_sector_name,
73 const std::string& m_layer_name,
74 float stripzmin, float stripzmax,
75 float wirezmin, float wirezmax);
76
78
81 bool m_checkCabling = false;
84
88
90
91 std::string m_chamberName;
92 std::string m_StationSize;
94 this, "RpcPrepDataContainer", "RPC_Measurements", "RPC PRDs"};
96 this, "MdtPrepDataContainer", "MDT_DriftCircles", "MDT PRDs"};
101
104 int m_BMEid{-1};
105 int m_BISid{-1};
106 int m_BMLid{-1};
107 int m_BOLid{-1};
108 int m_BMFid{-1};
109
110 TH1* m_MdtRpcZdiff = nullptr;
111 TH2* m_MdtNHitsvsRpcNHits = nullptr;
112};
113
114#endif
Property holding a SG store/key/clid from which a ReadHandle is made.
ManagedMonitorToolBase(const std::string &type, const std::string &name, const IInterface *parent)
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
MdtVsRpcRawDataValAlg(const std::string &type, const std::string &name, const IInterface *parent)
std::vector< std::string > m_layer_name_list
SG::ReadHandleKey< Muon::RpcPrepDataContainer > m_key_rpc
void bookMDTvsRPCsectorHistograms(const std::string &m_sector_name, const std::string &m_layer_name, float stripzmin, float stripzmax, float wirezmin, float wirezmax)
virtual StatusCode bookHistogramsRecurrent()
An inheriting class should either override this function, bookHists() or bookHistograms().
std::vector< std::string > m_layerSector_name_list
void bookMDTvsRPCHistograms(const std::string &m_hardware_name, const std::string &m_layer_name, int binz, int binminz, int binmaxz, int binx, int binminx, int binmaxx)
virtual ~MdtVsRpcRawDataValAlg()=default
StatusCode addClusters(std::string clusterContainerName)
SG::ReadCondHandleKey< MuonGM::MuonDetectorManager > m_DetectorManagerKey
int m_BMEid
BME have special treatment in the code.
virtual StatusCode fillHistograms()
An inheriting class should either override this function or fillHists().
SG::ReadHandleKey< Muon::MdtPrepDataContainer > m_key_mdt
Property holding a SG store/key/clid from which a ReadHandle is made.