ATLAS Offline Software
Loading...
Searching...
No Matches
RegionElement.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef RegionElement_H
6#define RegionElement_H
7
9
10// c - c++
11#include "set"
12#include "string"
13#include "vector"
14
15namespace MuonCalib {
16
17 class MuonFixedId;
18
20 public:
22 RegionElement() = default;
23 RegionElement(const std::string &region) : RegionSelectorBase(), m_region(region) {}
24 ~RegionElement() = default;
26 bool Initialize(const std::string &region);
28 bool Result(const MuonFixedId &region) const;
30 void Print(std::ostream &os) const;
31
32 private:
33 std::string m_region;
35 std::set<int> m_stations;
36 std::vector<int> m_eta_start;
37 std::vector<int> m_eta_end;
38 std::vector<int> m_phi_start;
39 std::vector<int> m_phi_end;
40 int m_ml{-1};
42 bool process_station_name(std::string &name);
44 bool process_int_range(std::string &range, std::vector<int> &target_start, std::vector<int> &target_end);
45 };
46
47} // namespace MuonCalib
48#endif
ICscStripFitter::Result Result
Implements fixed identifiers not dependent upon Athena Identifier for internal use in the calibration...
Definition MuonFixedId.h:50
std::vector< int > m_eta_end
RegionElement(const std::string &region)
std::vector< int > m_phi_end
RegionElement()=default
constructor
bool process_station_name(std::string &name)
process a astation name string
std::set< int > m_stations
regions
void Print(std::ostream &os) const
print region
std::vector< int > m_phi_start
bool Initialize(const std::string &region)
Initialize functions.
bool process_int_range(std::string &range, std::vector< int > &target_start, std::vector< int > &target_end)
process a numerical id
std::vector< int > m_eta_start
RegionSelectorBase()=default
Constructor.
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.