ATLAS Offline Software
Loading...
Searching...
No Matches
MuonSegmentPlots.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_MUONSEGMENTPLOTS_H
6#define MUONHISTUTILS_MUONSEGMENTPLOTS_H
7
9
13#include <vector>
14#include <string>
15
16namespace Muon{
17
19 public:
20 MuonSegmentPlots(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};
40
41 TH1* etaIndex{nullptr};
42 TH1* sector{nullptr};
43
44
45 TH2* xypos_barrel{nullptr};
46 TH2* xypos_endcap{nullptr};
47 TH2* rzpos_sectorSmall{nullptr};
48 TH2* rzpos_sectorLarge{nullptr};
49
50 TH1* etadir{nullptr};
51 TH1* etadir_barrel{nullptr};
52 TH1* etadir_endcap{nullptr};
53 TH1* phidir{nullptr};
54 TH1* etaphidir{nullptr};
55
56 TH1* chamberIndex{nullptr};
61
62 //TH2* chamberIndex_dtheta;
63 std::vector<TH2*> sector_etaIndex;
64 std::vector<TH2*> sector_etaIndex_nPrechit;
65 std::vector<TH2*> sector_etaIndex_nTrighit;
68
69 static constexpr std::array<float,17> Chamberarea{0.465313, 0.589744, 0.393503, 0.516815, 0.404094,
70 0.588759, 0.0700091, 0.204258, 0.50283, 0.577781,
71 0.902194, 0.484968, 0.746214, 0.111742, 0.192025,
72 0.380506, 0.380506};//eta * phi for each chamber
73 static constexpr std::array<float, 17> Chamberexpectedhits{8.0, 8.0, 6.0, 6.0, 6.0, 6.0, 4.0,
74 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
75 // BIS, BIL, BMS, BML, BOS, BOL, BEE, EIS, EIL, EMS, EML, EOS, EOL, EES, EEL, CSS, CSL
76 // 5 and 3 are sacled down from 6 and 4 based on Z MC; could be wrong
77 static constexpr std::array<float, 17> Chamberexpectedtrighits{1.0, 1.0, 5.0, 5.0, 3.0, 3.0, 1.0,
78 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
79
80
81};
82}
83
84#endif
std::vector< TH2 * > sector_etaIndex
std::vector< TH2 * > eff_sector_etaIndex_nTrighit
static constexpr std::array< float, 17 > Chamberexpectedhits
MuonSegmentPlots(PlotBase *pParent, const std::string &sDir)
std::vector< TH2 * > sector_etaIndex_nPrechit
std::vector< TH2 * > eff_sector_etaIndex_nPrechit
void fill(const xAOD::MuonSegment &muonSeg, float weight=1.0)
static constexpr std::array< float, 17 > Chamberarea
static constexpr std::array< float, 17 > Chamberexpectedtrighits
std::vector< TH2 * > sector_etaIndex_nTrighit
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: