#include <Adjuster.h>
Public Member Functions | |
Adjuster (InputTag const &tag) | |
virtual bool | checkSignal (edm::Event const &event) |
virtual void | doOffset (int bunchspace, int bcr, const edm::EventPrincipal &, unsigned int EventNr, int vertexOffset) |
virtual | ~Adjuster () |
Private Attributes | |
InputTag | tag_ |
Definition at line 26 of file Adjuster.h.
edm::Adjuster< T >::Adjuster | ( | InputTag const & | tag | ) |
Definition at line 67 of file Adjuster.h.
virtual edm::Adjuster< T >::~Adjuster | ( | ) | [inline, virtual] |
Definition at line 31 of file Adjuster.h.
{}
virtual bool edm::Adjuster< T >::checkSignal | ( | edm::Event const & | event | ) | [inline, virtual] |
Implements edm::AdjusterBase.
Definition at line 35 of file Adjuster.h.
References edm::Adjuster< T >::tag_.
{ bool got = false; edm::Handle<std::vector<T> > result_t; got = event.getByLabel(tag_, result_t); return got; }
void edm::Adjuster< T >::doOffset | ( | int | bunchspace, |
int | bcr, | ||
const edm::EventPrincipal & | ep, | ||
unsigned int | EventNr, | ||
int | vertexOffset | ||
) | [virtual] |
Implements edm::AdjusterBase.
Definition at line 58 of file Adjuster.h.
References edm::detail::doTheOffset().
{ boost::shared_ptr<Wrapper<std::vector<T> > const> shPtr = getProductByTag<std::vector<T> >(ep, tag_); if (shPtr) { std::vector<T>& product = const_cast<std::vector<T>&>(*shPtr->product()); detail::doTheOffset(bunchspace, bcr, product, eventNr, vertexOffset); } }
InputTag edm::Adjuster< T >::tag_ [private] |
Definition at line 43 of file Adjuster.h.
Referenced by edm::Adjuster< T >::checkSignal().