ATLAS Offline Software
Loading...
Searching...
No Matches
MuonSegmentSlimPlots.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef MUONHISTUTILS_MUONSEGMENTSLIMPLOTS_H
6#define MUONHISTUTILS_MUONSEGMENTSLIMPLOTS_H
7
9
13#include <vector>
14#include <string>
15
16namespace Muon{
17
19 public:
20 MuonSegmentSlimPlots(PlotBase* pParent, const std::string& sDir);
22
23 void fill(const xAOD::MuonSegment& muonSeg, float weight=1.0);
24
25 TH1* segmentfitChi2{nullptr};
26 TH1* segmentfitNdof{nullptr};
27 TH1* segmentfitChi2oNdof{nullptr};
28
29 TH1* t0{nullptr};
30 TH1* t0_top{nullptr};
31 TH1* t0_bottom{nullptr};
32 TH1* t0err{nullptr};
33 TH1* t0err_top{nullptr};
34 TH1* t0err_bottom{nullptr};
35
36 TH1* nPrecisionHits{nullptr};
37 TH1* nPhiLayers{nullptr};
38 TH1* nTrigEtaLayers{nullptr};
39
40 TH1* etaIndex{nullptr};
41 TH1* sector{nullptr};
42 TH1* etadir{nullptr};
43 TH1* etadir_barrel{nullptr};
44 TH1* etadir_endcap{nullptr};
45 TH1* phidir{nullptr};
46 TH2* etaphidir{nullptr};
47
48 TH1* chamberIndex{nullptr};
53
54 static constexpr std::array<float,17> Chamberarea {0.465313, 0.589744, 0.393503, 0.516815, 0.404094,
55 0.588759, 0.0700091, 0.204258, 0.50283, 0.577781,
56 0.902194, 0.484968, 0.746214, 0.111742, 0.192025,
57 0.380506, 0.380506};//eta * phi for each chamber
58 static constexpr std::array<float,17> Chamberexpectedhits {8.0, 8.0, 6.0, 6.0, 6.0, 6.0, 4.0,
59 8.0, 8.0, 6.0, 6.0, 6.0, 6.0, 6.0, 6.0, 4.0, 4.0};//number of expected hits for each chamber
60 // BIS, BIL, BMS, BML, BOS, BOL, BEE, EIS, EIL, EMS, EML, EOS, EOL, EES, EEL, CSS, CSL
61 // 5 and 3 are sacled down from 6 and 4 based on Z MC; could be wrong
62 static constexpr std::array<float,17> Chamberexpectedtrighits {1.0, 1.0, 5.0, 5.0, 3.0, 3.0, 1.0,
63 2.0, 2.0, 7.0, 7.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0};//number of expected hits for each chamber
64
65
66};
67}
68
69#endif
void fill(const xAOD::MuonSegment &muonSeg, float weight=1.0)
static constexpr std::array< float, 17 > Chamberexpectedtrighits
static constexpr std::array< float, 17 > Chamberexpectedhits
static constexpr std::array< float, 17 > Chamberarea
MuonSegmentSlimPlots(PlotBase *pParent, const std::string &sDir)
PlotBase(PlotBase *parent, const std::string &sDir)
Definition PlotBase.cxx:29
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
MuonSegment_v1 MuonSegment
Reference the current persistent version: