|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef RegionSelectionSvc_H
6 #define RegionSelectionSvc_H
16 #include "GaudiKernel/ServiceHandle.h"
17 #include "GaudiKernel/ToolHandle.h"
23 class RegionSelectorBase;
42 static const InterfaceID IID_IRegionSelectionSvc(
"RegionSelectionSvc", 1, 0);
43 return IID_IRegionSelectionSvc;
50 void Print(std::ostream &
os)
const;
74 ToolHandle<MuonCalib::IIdToFixedIdTool>
m_idToFixedIdTool{
this,
"IdToFixedIdTool",
"MuonCalib::IdToFixedIdTool"};
StatusCode initialize()
initialize
void convert_to_tower(int station, int phi, int eta, std::vector< int > &tower) const
convert station, eta, phi in tower vector
Scalar phi() const
phi method
Gaudi::Property< std::string > m_region_string
region string - job option
Scalar eta() const
pseudorapidity method
virtual StatusCode queryInterface(const InterfaceID &riid, void **ppvUnknown)
just some crazy atheta function
ToolHandle< MuonCalib::IIdToFixedIdTool > m_idToFixedIdTool
virtual ~RegionSelectionSvc()
destructor
static const InterfaceID & interfaceID()
const MuonGM::MuonDetectorManager * m_detMgr
bool ProcessString(const std::string &input)
process string
std::vector< MuonCalib::NtupleStationId > m_stations_in_region
chambers/mutlilayers in calibraition region
bool isInRegion(const MuonCalib::MuonFixedId &id) const
return true if id is in selected region
RegionSelectionSvc(const std::string &name, ISvcLocator *svc_locator)
contructor
const std::vector< MuonCalib ::NtupleStationId > & GetStationsInRegions() const
get stations/multilayers in region
::StatusCode StatusCode
StatusCode definition for legacy code.
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
void search_chambers_in_region()
void print_list_of_selected_chambers() const
print a list of selected chambers - debug function
Gaudi::Property< bool > m_print_list_of_selected_chambers
print list of selected chambers if set to true - job option
std::set< MuonCalib::NtupleStationId > m_unique_chambers
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
search for chambers and multilayers in selected region towers in selected region
The MuonDetectorManager stores the transient representation of the Muon Spectrometer geometry and pro...
void Print(std::ostream &os) const
debug print
std::unique_ptr< MuonCalib ::RegionSelectorBase > m_master_region
master region
int AddRegionNtuples(const std::string &infile, TChain *chain)
add region ntuples which are relevant for this region to TChain
const std::string & GetRegionSelection() const
get region selection