26 return StatusCode::SUCCESS;
50 double mass = lj->m();
52 bool pass =
m_veto ? (!in_range) : in_range;
61 return StatusCode::SUCCESS;
Gaudi::Property< float > m_mupper
the upper limit of the Mass window
CP::SysWriteSelectionHandle m_decoration
the output selection decoration
NLargeRJetMassWindowSelectorAlg(const std::string &name, ISvcLocator *pSvcLocator)
the standard constructor
Gaudi::Property< std::string > m_sign
the sign against which to compare Mass (GT, LT, etc)
CP::SysReadSelectionHandle m_preselection
the preselection
Gaudi::Property< int > m_count
the count of events desired
CP::SysListHandle m_systematicsList
the systematics
CP::SysReadHandle< xAOD::EventInfo > m_eventInfoHandle
the event info handle
CP::SysReadSelectionHandle m_ljetSelection
the large-R jet selection
virtual StatusCode initialize() override
Gaudi::Property< float > m_mlower
the lower limit of the Mass window
Gaudi::Property< bool > m_veto
whether to veto events instead of selecting them
SignEnum::ComparisonOperator m_signEnum
the operator version of the comparison (>, <, etc)
CP::SysReadHandle< xAOD::IParticleContainer > m_ljetsHandle
the large-R jet handle
virtual StatusCode execute() override
AnaAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Class providing the definition of the 4-vector interface.
int count(std::string s, const std::string ®x)
count how many occurances of a regx are in a string
Select isolated Photons, Electrons and Muons.
This module defines the arguments passed from the BATCH driver to the BATCH worker.
bool checkValue(T reference, ComparisonOperator sign, T test)
the comparison test given the specified sign and two test values
static const std::map< std::string, ComparisonOperator > stringToOperator
the map between user inputs and comparison operators
EventInfo_v1 EventInfo
Definition of the latest event info version.
DataVector< IParticle > IParticleContainer
Simple convenience declaration of IParticleContainer.