#include <HLTTauRefCombiner.h>
|
| HLTTauRefCombiner (const edm::ParameterSet &) |
|
virtual void | produce (edm::Event &, const edm::EventSetup &) |
|
| ~HLTTauRefCombiner () |
|
| EDProducer () |
|
ModuleDescription const & | moduleDescription () const |
|
virtual | ~EDProducer () |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
| ProducerBase () |
|
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
|
std::function< void(BranchDescription
const &)> | registrationCallback () const |
| used by the fwk to register list of products More...
|
|
virtual | ~ProducerBase () |
|
std::vector< ConsumesInfo > | consumesInfo () const |
|
| EDConsumerBase () |
|
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
|
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
|
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
|
std::vector
< ProductHolderIndexAndSkipBit >
const & | itemsToGetFromEvent () const |
|
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
|
void | modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const |
|
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
|
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
|
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
|
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
|
virtual | ~EDConsumerBase () |
|
Definition at line 21 of file HLTTauRefCombiner.h.
Definition at line 9 of file HLTTauRefCombiner.cc.
References edm::ParameterSet::getParameter(), and cuy::ii.
11 std::vector<edm::InputTag> inputCollVector_ = iConfig.
getParameter< std::vector<InputTag> >(
"InputCollections");
12 for(
unsigned int ii=0;
ii<inputCollVector_.size(); ++
ii)
14 inputColl_.push_back( consumes<LorentzVectorCollection>(inputCollVector_[
ii]) );
19 produces<LorentzVectorCollection> (
outName_);
T getParameter(std::string const &) const
std::vector< edm::EDGetTokenT< LorentzVectorCollection > > inputColl_
HLTTauRefCombiner::~HLTTauRefCombiner |
( |
| ) |
|
Implements edm::EDProducer.
Definition at line 24 of file HLTTauRefCombiner.cc.
References edm::Event::getByToken(), i, j, edm::match(), edm::Event::put(), findQualityFiles::size, and tmp.
29 std::vector< Handle<LorentzVectorCollection> > handles;
31 bool allCollectionsExist =
true;
38 handles.push_back(tmp);
42 allCollectionsExist =
false;
48 if(allCollectionsExist)
51 for(
size_t i = 0; i < (handles[0])->
size();++
i)
53 bool MatchedObj =
true;
59 for(
size_t j = 1;
j < handles.size();++
j)
61 if(!
match(lvRef,*(handles[
j])))
69 out_product->push_back(lvRef);
bool match(const LorentzVector &, const LorentzVectorCollection &)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
math::XYZTLorentzVector LorentzVector
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
std::vector< LorentzVector > LorentzVectorCollection
std::vector< edm::EDGetTokenT< LorentzVectorCollection > > inputColl_
std::vector< std::vector< double > > tmp
tuple size
Write out results.
double HLTTauRefCombiner::matchDeltaR_ |
|
private |
std::string HLTTauRefCombiner::outName_ |
|
private |