![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
17 m_tHistSvc(
"THistSvc",
name),
42 m_myTree=
new TTree(
"myTree",
"myTree");
50 return StatusCode::SUCCESS;
54 return StatusCode::SUCCESS;
59 const EventContext& ctx = Gaudi::Hive::currentContext();
66 std::cout<<
"nick - booking skimPasshist"<<std::endl;
70 if (
sc.isFailure())
msg(MSG::ERROR)<<
"Failed to book TH1"<<
endmsg;
72 if (
sc.isFailure())
msg(MSG::ERROR)<<
"Failed to book TH1"<<
endmsg;
78 for(; itr != itrEnd; ++itr) {
80 std::string
name = (*itr)->getName();
81 const char* cname =
name.c_str();
93 m_runNum = ctx.eventID().run_number();
94 m_evtNum = ctx.eventID().event_number();
105 for(; itr != itrEnd; ++itr) {
106 isAc = (*itr)->isAccepted();
109 std::string
name = (*itr)->getName();
110 msg(MSG::INFO) <<
"SkimDecName = " <<
name <<
" isAccepted: "<< isAc <<
endmsg;
115 for(; itr2 != itrEnd2; ++itr2) {
116 int isAc2 = (*itr2)->isAccepted();
117 m_twoDskimHist->Fill((
float)filterCount+0.5,filterCount2+0.5,isAc2);
126 ATH_MSG_WARNING(
"No SkimDecisionCollection was found: key = DESDM_RPVLL_SkimDecisionsContaine");
132 return StatusCode::SUCCESS;
Const iterator class for DataVector/DataList.
virtual StatusCode finalize()
std::vector< int > m_filterPassed
def TH2F(name, title, nxbins, bins_par2, bins_par3, bins_par4, bins_par5=None, bins_par6=None, path='', **kwargs)
virtual StatusCode initialize()
Initialize.
virtual StatusCode execute()
::StatusCode StatusCode
StatusCode definition for legacy code.
RPVLLTestRates(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
virtual bool isValid() override final
Can the handle be successfully dereferenced?
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
ServiceHandle< ITHistSvc > m_tHistSvc
#define ATH_MSG_WARNING(x)
def TH1F(name, title, nxbins, bins_par2, bins_par3=None, path='', **kwargs)
SG::ReadHandleKey< SkimDecisionCollection > m_SDcollKey
size_type size() const noexcept
Returns the number of elements in the collection.
~RPVLLTestRates()
Destructor - check up memory allocation delete any memory allocation on the heap.
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.