![]() |
ATLAS Offline Software
|
Seolect calibration region. More...
#include <RegionSelectionSvc.h>
Public Member Functions | |
| RegionSelectionSvc (const std::string &name, ISvcLocator *svc_locator) | |
| contructor | |
| virtual | ~RegionSelectionSvc () |
| destructor | |
| virtual StatusCode | initialize () override |
| initialize | |
| void | Print (std::ostream &os) const |
| debug print | |
| bool | isInRegion (const MuonCalib::MuonFixedId &id) const |
| return true if id is in selected region | |
| const std::string & | GetRegionSelection () const |
| get region selection | |
| const std::vector< MuonCalib ::NtupleStationId > & | GetStationsInRegions () const |
| get stations/multilayers in region | |
| int | AddRegionNtuples (const std::string &infile, TChain *chain) |
| add region ntuples which are relevant for this region to TChain | |
| int | AddRegionNtuples (const std::string &infile, TChain *chain, std::list< std::string > &dirnames) |
| MsgStream & | msg () const |
| bool | msgLvl (const MSG::Level lvl) const |
Private Member Functions | |
| void | search_chambers_in_region () |
| bool | ProcessString (const std::string &input) |
| process string | |
| void | print_list_of_selected_chambers () const |
| print a list of selected chambers - debug function | |
| void | convert_to_tower (int station, int phi, int eta, std::vector< int > &tower) const |
| convert station, eta, phi in tower vector | |
Private Attributes | |
| Gaudi::Property< std::string > | m_region_string {this, "Region", ""} |
| region string - job option | |
| Gaudi::Property< bool > | m_print_list_of_selected_chambers {this, "PrintList", false} |
| print list of selected chambers if set to true - job option | |
| std::unique_ptr< MuonCalib ::RegionSelectorBase > | m_master_region |
| master region | |
| std::vector< MuonCalib::NtupleStationId > | m_stations_in_region |
| chambers/mutlilayers in calibraition region | |
| std::set< MuonCalib::NtupleStationId > | m_unique_chambers |
| const MuonGM::MuonDetectorManager * | m_detMgr {nullptr} |
| ServiceHandle< Muon::IMuonIdHelperSvc > | m_idHelperSvc {this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"} |
| search for chambers and multilayers in selected region towers in selected region | |
| ToolHandle< MuonCalib::IIdToFixedIdTool > | m_idToFixedIdTool {this, "IdToFixedIdTool", "MuonCalib::IdToFixedIdTool"} |
Seolect calibration region.
Definition at line 35 of file RegionSelectionSvc.h.
| RegionSelectionSvc::RegionSelectionSvc | ( | const std::string & | name, |
| ISvcLocator * | svc_locator ) |
contructor
Definition at line 29 of file RegionSelectionSvc.cxx.
|
virtualdefault |
destructor
| int RegionSelectionSvc::AddRegionNtuples | ( | const std::string & | infile, |
| TChain * | chain ) |
add region ntuples which are relevant for this region to TChain
Definition at line 55 of file RegionSelectionSvc.cxx.
| int RegionSelectionSvc::AddRegionNtuples | ( | const std::string & | infile, |
| TChain * | chain, | ||
| std::list< std::string > & | dirnames ) |
Definition at line 59 of file RegionSelectionSvc.cxx.
|
private |
convert station, eta, phi in tower vector
| const std::string & RegionSelectionSvc::GetRegionSelection | ( | ) | const |
get region selection
Definition at line 53 of file RegionSelectionSvc.cxx.
| const std::vector< MuonCalib::NtupleStationId > & RegionSelectionSvc::GetStationsInRegions | ( | ) | const |
get stations/multilayers in region
Definition at line 54 of file RegionSelectionSvc.cxx.
|
overridevirtual |
initialize
Definition at line 31 of file RegionSelectionSvc.cxx.
| bool RegionSelectionSvc::isInRegion | ( | const MuonCalib::MuonFixedId & | id | ) | const |
return true if id is in selected region
Definition at line 51 of file RegionSelectionSvc.cxx.
|
inlineinherited |
Definition at line 24 of file AthCommonMsg.h.
|
inlineinherited |
Definition at line 30 of file AthCommonMsg.h.
| void RegionSelectionSvc::Print | ( | std::ostream & | os | ) | const |
debug print
Definition at line 86 of file RegionSelectionSvc.cxx.
|
private |
print a list of selected chambers - debug function
Definition at line 137 of file RegionSelectionSvc.cxx.
|
private |
process string
Definition at line 132 of file RegionSelectionSvc.cxx.
|
private |
Definition at line 94 of file RegionSelectionSvc.cxx.
|
private |
Definition at line 65 of file RegionSelectionSvc.h.
|
private |
search for chambers and multilayers in selected region towers in selected region
Definition at line 67 of file RegionSelectionSvc.h.
|
private |
Definition at line 68 of file RegionSelectionSvc.h.
|
private |
master region
Definition at line 61 of file RegionSelectionSvc.h.
|
private |
print list of selected chambers if set to true - job option
Definition at line 59 of file RegionSelectionSvc.h.
|
private |
region string - job option
Definition at line 57 of file RegionSelectionSvc.h.
|
private |
chambers/mutlilayers in calibraition region
Definition at line 63 of file RegionSelectionSvc.h.
|
private |
Definition at line 64 of file RegionSelectionSvc.h.