#include <L2TauJetsMerger.h>
Definition at line 19 of file L2TauJetsMerger.h.
L2TauJetsMerger::~L2TauJetsMerger |
( |
| ) |
|
Implements edm::EDProducer.
Definition at line 28 of file L2TauJetsMerger.cc.
References edm::Event::getByLabel(), i, edm::Event::put(), L1Trigger_dataformats::reco, alignCSCRings::s, reco::LeafCandidate::setPdgId(), python.multivaluedict::sort(), MCScenario_CRAFT1_22X::sorter(), and tmp.
45 for( vtag::const_iterator
s =
jetSrc.begin();
s !=
jetSrc.end(); ++
s ) {
48 for(CaloJetCollection::const_iterator iTau = tauJets->begin();iTau !=tauJets->end();iTau++)
56 myTmpJets.push_back(myJet);
72 while(myTmpJets.size()>0) {
73 tauL2jets->push_back(myTmpJets.at(0));
75 for(
unsigned int i=1 ;
i<myTmpJets.size();++
i) {
76 double DR = ROOT::Math::VectorUtil::DeltaR(myTmpJets.at(0).p4(),myTmpJets.at(
i).p4());
78 tmp.push_back(myTmpJets.at(
i));
85 iEvent.
put(tauL2jets);
Jets made from CaloTowers.
std::map< int, const reco::CaloJet > myL2L1JetsMap
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
std::vector< std::vector< double > > tmp
virtual void setPdgId(int pdgId) GCC11_FINAL
std::vector< CaloJet > CaloJetCollection
collection of CaloJet objects
vtag L2TauJetsMerger::jetSrc |
|
private |
double L2TauJetsMerger::mEt_Min |
|
private |
std::map<int, const reco::CaloJet> L2TauJetsMerger::myL2L1JetsMap |
|
private |