|
ATLAS Offline Software
|
Go to the documentation of this file.
21 #include "../IO/GenericTOBArray.h"
22 #include "../IO/Decision.h"
24 #include "GaudiKernel/StatusCode.h"
31 const std::vector<unsigned int>& minET1,
32 const std::vector<unsigned int>& minET2,
33 const std::vector<unsigned int>& deltaRMin,
34 const std::vector<unsigned int>& deltaRMax,
35 unsigned int NumResultBits):
42 m_DeltaRMin{deltaRMin},
43 m_DeltaRMax{deltaRMax},
44 m_NumResultBits{NumResultBits}{
50 std::vector<GenericTOBArray>&
output,
53 std::size_t count1{0
u};
54 std::size_t count2{0
u};
60 ss <<
"SimpleCone bit " <<
i;
68 i_tob1 != tobArray1.
end();
72 const auto& tob1 = *i_tob1;
75 i_tob2 != tobArray2.
end();
80 const auto& tob2 = *i_tob2;
92 decision.setBit(
i,
true);
105 return StatusCode::SUCCESS;
112 const std::vector<double>&
117 const std::vector<double>&
126 std::stringstream
ss;
127 ss <<
"DeltaRSqrIncl2. "
137 ss <<
" " <<
v <<
" ";
143 ss <<
" " <<
v <<
" ";
146 ss <<
"\n min ET1 [" <<
m_MinET1.size() <<
"]:\n";
148 ss <<
" " <<
v <<
" ";
151 ss <<
"\n min ET2 [" <<
m_MinET2.size() <<
"]:\n";
155 ss <<
" " <<
v <<
" ";
data_t::const_iterator const_iterator
std::vector< std::vector< double > > m_DeltaRSqPass
const std::vector< double > & deltaRSqPassByBit(std::size_t bit) const
StatusCode accept(const xAOD::Muon *mu)
unsigned int numResultBits() const
std::vector< unsigned int > m_DeltaRMin
double deltaR2(double rapidity1, double phi1, double rapidity2, double phi2)
from bare rapidity,phi
std::string toString() const
StatusCode run(const GenericTOBArray &in0, const GenericTOBArray &in1, std::vector< GenericTOBArray > &output, Decision &)
@ u
Enums for curvilinear frames.
std::vector< unsigned int > m_MinET2
static unsigned int calcDeltaR2(const TCS::GenericTOB *tob1, const TCS::GenericTOB *tob2)
std::vector< std::vector< double > > m_DeltaRSqFail
AlgTool to obtain a selection of eFex RoIs read in from the event store.
std::vector< unsigned int > m_DeltaRMax
::StatusCode StatusCode
StatusCode definition for legacy code.
const std::vector< double > & deltaRSqFailByBit(std::size_t bit) const
xAOD::TrigComposite Decision
unsigned int m_NumResultBits
DeltaRSqrIncl2(const std::string &name, unsigned int MaxTOB1, unsigned int MaxTOB2, const std::vector< unsigned int > &MinET1, const std::vector< unsigned int > &MinET2, const std::vector< unsigned int > &DeltaRMin, const std::vector< unsigned int > &DeltaRMax, unsigned int NumResultBits)
std::vector< unsigned int > m_MinET1