  | 
  
    ATLAS Offline Software
    
   | 
 
 
 
 
Go to the documentation of this file.
   16     m_matchTool(
"CP::TrigMuonMatching/TrigMuonMatching",this)
 
   26       return StatusCode::SUCCESS;
 
   39     goodMuon -> setStore(goodMuonAux);
 
   43     for(
const auto* 
mu: *muons){
 
   44       Bool_t ismu26_imedium = 
false;
 
   45       Bool_t ismu50 = 
false;
 
   46       Bool_t isL2SA = 
false;
 
   47       Bool_t isL2CB = 
false;
 
   51       isL2SA = 
m_matchTool->matchL2SA(
mu, 
"L1_MU20", 
"HLT_mu26_imedium");
 
   54       if(ismu26_imedium)std::cout << 
"HLT_mu26_imedium matched." << std::endl;
 
   55       if(ismu50)std::cout << 
"HLT_mu50 matched." << std::endl;
 
   56       if(isL2SA) std::cout << 
"L2 SA matched" << std::endl;
 
   57       if(isL2CB) std::cout << 
"L2 CB matched" << std::endl;
 
   58       if(isL1) std::cout << 
"L1_MU20 matched" << std::endl;
 
   61       std::cout << 
"DeltaR(mu26_imedium) " << dR << std::endl;
 
   63       std::cout << 
"DeltaR(L1_MU20) " << dRL1 << std::endl;
 
   73     if(SelectedMuons->
size()==2){
 
   77         std::pair<Bool_t,Bool_t> result1, result2;
 
   78         m_matchTool->matchDimuon(mu1, mu2, 
"HLT_2mu14", result1, result2);
 
   79         if(result1.first && result2.first)std::cout << 
"HLT_2mu14 matched" << std::endl;
 
   83     return StatusCode::SUCCESS;
 
  
def retrieve(aClass, aKey=None)
 
MuonContainer_v1 MuonContainer
Definition of the current "Muon container version".
 
The common trigger namespace for trigger analysis tools.
 
ToolHandle< ITrigMuonMatching > m_matchTool
 
virtual StatusCode execute()
 
Temporary container used until we have I/O for AuxStoreInternal.
 
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
 
TrigMuonMatching_example(const std::string &name, ISvcLocator *svcLoc)
 
virtual StatusCode initialize()
 
::StatusCode StatusCode
StatusCode definition for legacy code.
 
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
 
#define CHECK(...)
Evaluate an expression and check for errors.
 
Muon_v1 Muon
Reference the current persistent version:
 
value_type push_back(value_type pElem)
Add an element to the end of the collection.
 
MuonAuxContainer_v5 MuonAuxContainer
Definition of the current Muon auxiliary container.
 
size_type size() const noexcept
Returns the number of elements in the collection.