31 using namespace muonisolation;
35 theSACollectionLabel(par.getParameter<edm::
InputTag>(
"StandAloneCollectionLabel")),
39 LogDebug(
"Muon|RecoMuon|L2MuonIsolationProducer")<<
" L2MuonIsolationProducer constructor called";
46 std::string extractorName = extractorPSet.
getParameter<std::string>(
"ComponentName");
52 if (optOutputDecision){
56 if (optOutputDecision) produces<edm::ValueMap<bool> >();
57 produces<reco::IsoDepositMap>();
62 LogDebug(
"Muon|RecoMuon|L2MuonIsolationProducer")<<
" L2MuonIsolationProducer destructor called";
73 std::string
metname =
"Muon|RecoMuon|L2MuonIsolationProducer";
75 LogDebug(metname)<<
" L2 Muon Isolation producing...";
83 LogDebug(metname)<<
" Get energy around";
89 unsigned int nTracks = tracks->size();
90 std::vector<IsoDeposit> deps(nTracks);
91 std::vector<bool> isos(nTracks,
false);
93 for (
unsigned int i=0;
i<nTracks;
i++) {
108 depFiller.
insert(tracks, deps.begin(), deps.end());
114 isoFiller.
insert(tracks, isos.begin(), isos.end());
120 <<
"================================";
T getParameter(std::string const &) const
reco::isodeposit::IsoDepositExtractor * theExtractor
const std::string metname
void insert(const H &h, I begin, I end)
edm::InputTag theSACollectionLabel
virtual Result result(DepositContainer deposits) const =0
Compute and return the isolation variable.
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
virtual ~L2MuonIsolationProducer()
destructor
std::vector< DepositAndVetos > DepositContainer
virtual void produce(edm::Event &, const edm::EventSetup &)
Produce isolation maps.
virtual void beginJob()
setup the job
muonisolation::MuIsoBaseIsolator * theDepositIsolator
L2MuonIsolationProducer(const edm::ParameterSet &)
constructor with config
T get(const Candidate &c)
const double par[8 *NPar][4]