56 produces<reco::JetTagCollection>().setBranchAlias(modulname);
58 produces<reco::TauImpactParameterInfoCollection>().setBranchAlias(infoBranchName);
79 std::auto_ptr<JetTagCollection> tagCollection;
81 if (not isolatedTaus->empty()) {
98 reco::VertexCollection::const_iterator iVertex;
100 for(iVertex = vertCollection.begin();iVertex!=vertCollection.end();iVertex++){
111 Vertex dummyPV(p,e,1,1,1);
115 for (
unsigned int i = 0;
i < isolatedTaus->size(); ++
i) {
117 std::pair<float, TauImpactParameterInfo> ipInfo =
algo->
tag(tauRef,PV);
118 tagCollection->setValue(
i, ipInfo.first);
119 extCollection->push_back(ipInfo.second);
122 iEvent.
put(extCollection);
123 iEvent.
put(tagCollection);
T getParameter(std::string const &) const
virtual void produce(edm::Event &, const edm::EventSetup &)
#define DEFINE_FWK_MODULE(type)
math::Error< dimension >::type Error
covariance error matrix (3x3)
std::vector< Vertex > VertexCollection
collection of Vertex objects
JetFloatAssociation::Container JetTagCollection
std::vector< TauImpactParameterInfo > TauImpactParameterInfoCollection
void setTransientTrackBuilder(const TransientTrackBuilder *)
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
math::XYZPoint Point
point in the space
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
ImpactParameter(const edm::ParameterSet &)
edm::InputTag jetTrackSrc
ImpactParameterAlgorithm * algo
T const * product() const
std::pair< float, reco::TauImpactParameterInfo > tag(const reco::IsolatedTauTagInfoRef &, const reco::Vertex &)