Skip to content
Snippets Groups Projects
Forked from atlas / athena
79614 commits behind the upstream repository.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
CTPUnpackingToolBase.cxx 1.03 KiB
/*
  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/

#include <iostream>

#include "L1Decoder/CTPUnpackingToolBase.h"
#include "TrigCompositeUtils/HLTIdentifier.h"


CTPUnpackingToolBase::CTPUnpackingToolBase(const std::string& type, 
                                           const std::string& name, 
                                           const IInterface* parent) 
  : base_class(type, name, parent)
{
}



StatusCode CTPUnpackingToolBase::initialize() 
{
  if ( !m_monTool.empty() ) CHECK( m_monTool.retrieve() );
  
  return StatusCode::SUCCESS;
}

StatusCode CTPUnpackingToolBase::passBeforePrescaleSelection(const ROIB::RoIBResult* /*roib*/, const std::vector<std::string>& /*l1ItemNames*/, bool& /*pass*/) const {
  ATH_MSG_ERROR("Base class should not call this function");
  return StatusCode::FAILURE;
}

StatusCode CTPUnpackingToolBase::decode(const ROIB::RoIBResult& /*roib*/, HLT::IDVec& /*enabledChains*/) const {
  ATH_MSG_ERROR("Base class should not call this function");
  return StatusCode::FAILURE;
}