ElectronPFIsolationWithConeVeto::ElectronPFIsolationWithConeVeto |
( |
const edm::ParameterSet & |
c | ) |
|
|
inline |
Definition at line 38 of file ElectronPFIsolationWithConeVeto.cc.
References mathSSE::sqrt(), and AlCaHLTBitMon_QueryRunRegistry::string.
45 sprintf(buf,
"BarVeto%.2f-EndVeto%.2f",
50 while( decimal != std::string::npos ) {
T getParameter(std::string const &) const
const std::string _isolateAgainst
const float _vetoConeSize2EE
const float _vetoConeSize2EB
const std::vector< unsigned > _miniAODVertexCodes
std::string _additionalCode
Power< A, B >::type pow(const A &a, const B &b)
virtual ElectronPFIsolationWithConeVeto::~ElectronPFIsolationWithConeVeto |
( |
| ) |
|
|
inlinevirtual |
Implements citk::IsolationConeDefinitionBase.
Definition at line 78 of file ElectronPFIsolationWithConeVeto.cc.
References reco::deltaR2(), EcalBarrel, Exception, edm::Ptr< T >::get(), edm::Ptr< T >::isNonnull(), mps_fire::result, SurveyInfoScenario_cff::seed, and reco::GsfElectron::superCluster().
84 bool isEB = ( seed->seed().subdetId() ==
EcalBarrel );
88 if( aspacked.isNonnull() && aspacked.get() ) {
89 if( aspacked->charge() != 0 ) {
90 bool is_vertex_allowed =
false;
92 if( vtxtype == aspacked->fromPV() ) {
93 is_vertex_allowed =
true;
97 result *= ( is_vertex_allowed );
99 result *= deltar2 > vetoConeSize2 && deltar2 <
_coneSize2 ;
100 }
else if ( aspf.isNonnull() && aspf.get() ) {
101 result *= deltar2 > vetoConeSize2 && deltar2 <
_coneSize2;
104 <<
"The supplied candidate to be used as isolation " 105 <<
"was neither a reco::PFCandidate nor a pat::PackedCandidate!";
const float _vetoConeSize2EE
T1 deltaR2(T1 eta1, T2 phi1, T3 eta2, T4 phi2)
const float _vetoConeSize2EB
const std::vector< unsigned > _miniAODVertexCodes
const std::string ElectronPFIsolationWithConeVeto::_isolateAgainst |
|
private |
const std::vector<unsigned> ElectronPFIsolationWithConeVeto::_miniAODVertexCodes |
|
private |
const float ElectronPFIsolationWithConeVeto::_vetoConeSize2EB |
|
private |
const float ElectronPFIsolationWithConeVeto::_vetoConeSize2EE |
|
private |