|
ATLAS Offline Software
|
Go to the documentation of this file.
4 #ifndef GENERATORFILTERS_XAODM4MUINTERVALFILTER_H
5 #define GENERATORFILTERS_XAODM4MUINTERVALFILTER_H
9 #include "GaudiKernel/ServiceHandle.h"
16 #include "GaudiKernel/MsgStream.h"
20 class HepRandomEngine;
27 bool operator () (
const HepMC::FourVector &
t1,
const HepMC::FourVector &
t2) {
28 return (
t1.perp() >
t2.perp());
45 const EventContext& ctx)
const;
47 Gaudi::Property<double>
m_maxEta{
this,
"MaxEta",5.0,
" "};
48 Gaudi::Property<double>
m_minPt{
this,
"MinPt",1000,
" "};
52 Gaudi::Property<double>
m_prob2low{
this,
"LowM4muProbability",1.0,
" "};
53 Gaudi::Property<double>
m_prob2medium{
this,
"MediumMj4muProbability",0.5,
" "};
54 Gaudi::Property<double>
m_prob2high{
this,
"HighM4muProbability",0.1,
" "};
55 Gaudi::Property<double>
m_m4mulow{
this,
"LowM4mu",11000,
" "};
56 Gaudi::Property<double>
m_m4muhigh{
this,
"HighM4mu",25000,
" "};
virtual StatusCode filterInitialize() override
ServiceHandle< IAthRNGSvc > m_rndmSvc
virtual StatusCode filterFinalize() override
std::vector< ALFA_RawDataCollection_p1 > t1
Gaudi::Property< double > m_prob2high
Gaudi::Property< double > m_m4muhigh
Gaudi::Property< double > m_maxEta
Base class for event generator filtering modules.
Gaudi::Property< double > m_m4mulow
Gaudi::Property< bool > m_ApplyReWeighting
::StatusCode StatusCode
StatusCode definition for legacy code.
Gaudi::Property< double > m_prob2low
xAODM4MuIntervalFilter(const std::string &name, ISvcLocator *pSvcLocator)
double getEventWeight(double m) const
std::vector< ALFA_RawDataContainer_p1 > t2
virtual ~xAODM4MuIntervalFilter()=default
Gaudi::Property< double > m_minPt
CLHEP::HepRandomEngine * getRandomEngine(const std::string &streamName, const EventContext &ctx) const
Gaudi::Property< double > m_prob2medium
virtual StatusCode filterEvent() override