13 m_Tool_InformationStore(
"PanTau::Tool_InformationStore/Tool_InformationStore")
29 ATH_CHECK( m_Tool_InformationStore.retrieve() );
31 ATH_CHECK( m_Tool_InformationStore->getInfo_Double(
"TauConstituents_MaxEta", m_MaxEta) );
34 ATH_CHECK( m_Tool_InformationStore->getInfo_VecDouble(
"TauConstituents_BinEdges_Eta", m_BinEdges_Eta) );
37 ATH_CHECK( m_Tool_InformationStore->getInfo_VecDouble(
"TauConstituents_Selection_Neutral_EtaBinned_EtCut", m_Selection_Neutral_EtaBinned_EtCut) );
38 ATH_CHECK( m_Tool_InformationStore->getInfo_VecDouble(
"TauConstituents_Selection_Pi0Neut_EtaBinned_EtCut", m_Selection_Pi0Neut_EtaBinned_EtCut) );
39 ATH_CHECK( m_Tool_InformationStore->getInfo_VecDouble(
"TauConstituents_Selection_Charged_EtaBinned_EtCut", m_Selection_Charged_EtaBinned_EtCut) );
42 ATH_CHECK( m_Tool_InformationStore->getInfo_VecDouble(
"TauConstituents_Selection_OutNeut_EtaBinned_EtCut", m_Selection_OutNeut_EtaBinned_EtCut) );
43 ATH_CHECK( m_Tool_InformationStore->getInfo_VecDouble(
"TauConstituents_Selection_OutChrg_EtaBinned_EtCut", m_Selection_OutChrg_EtaBinned_EtCut) );
46 ATH_CHECK( m_Tool_InformationStore->getInfo_VecDouble(
"TauConstituents_Selection_NeutLowA_EtaBinned_EtCut", m_Selection_NeutLowA_EtaBinned_EtCut) );
47 ATH_CHECK( m_Tool_InformationStore->getInfo_VecDouble(
"TauConstituents_Selection_NeutLowB_EtaBinned_EtCut", m_Selection_NeutLowB_EtaBinned_EtCut) );
49 return StatusCode::SUCCESS;
55 for (
unsigned int iEtaBin=0; iEtaBin<m_BinEdges_Eta.size()-1; iEtaBin++) {
56 if (m_BinEdges_Eta[iEtaBin] <= eta && eta < m_BinEdges_Eta[iEtaBin+1]) {
57 switch(constituentType) {
71 ATH_MSG_WARNING(
"Eta value of " << eta <<
" could not be matched to any eta bin!");
81 std::vector<TauConstituent*>& outputList)
const {
83 for (
unsigned int iConst=0; iConst<
inputList.size(); iConst++) {
88 double curEta = std::abs( curConstituent->
p4().Eta() );
89 if (curEta > m_MaxEta) {
90 ATH_MSG_DEBUG(
"\tNot using constituent with eta of " << curEta);
127 <<
") when trying to apply constituent selection - constituent will not be selected!");
136 return StatusCode::SUCCESS;
142 TLorentzVector tlv_Constituent = tauConstituent->
p4();
145 ATH_MSG_DEBUG(
"\tNot using constituent at eta " << tlv_Constituent.Eta() <<
" with et of " << tlv_Constituent.Et());
155 TLorentzVector tlv_Constituent = tauConstituent->
p4();
157 ATH_MSG_DEBUG(
"\tNot using constituent at eta " << tlv_Constituent.Eta() <<
" with et of " << tlv_Constituent.Et());