#include <PileUpEventPrincipal.h>
Definition at line 19 of file PileUpEventPrincipal.h.
PileUpEventPrincipal::PileUpEventPrincipal |
( |
edm::EventPrincipal const & |
ep, |
|
|
int |
bcr, |
|
|
int |
bsp, |
|
|
int |
eventId, |
|
|
int |
vtxOffset |
|
) |
| |
|
inline |
Definition at line 22 of file PileUpEventPrincipal.h.
std::set< std::pair< edm::TypeID, std::string > > labels_
edm::EventPrincipal const & principal_
int bunchCrossingXbunchSpace_
bool PileUpEventPrincipal::addLabel |
( |
edm::TypeID const & |
type, |
|
|
std::string const & |
label |
|
) |
| const |
|
inline |
template<>
void PileUpEventPrincipal::adjust |
( |
SimTrack & |
item | ) |
const |
Definition at line 9 of file PileUpEventPrincipal.cc.
void setEventId(EncodedEventId e)
void setVertexIndex(const int v)
int vertIndex() const
index of the vertex in the Event container (-1 if no vertex)
template<>
void PileUpEventPrincipal::adjust |
( |
SimVertex & |
item | ) |
const |
Definition at line 17 of file PileUpEventPrincipal.cc.
const math::XYZTLorentzVectorD & position() const
int bunchCrossingXbunchSpace_
void setEventId(EncodedEventId e)
template<>
void PileUpEventPrincipal::adjust |
( |
PSimHit & |
item | ) |
const |
Definition at line 23 of file PileUpEventPrincipal.cc.
float timeOfFlight() const
int bunchCrossingXbunchSpace_
void setEventId(EncodedEventId e)
template<>
void PileUpEventPrincipal::adjust |
( |
PCaloHit & |
item | ) |
const |
template<typename T >
void PileUpEventPrincipal::adjust |
( |
T & |
item | ) |
const |
|
inline |
template<>
void PileUpEventPrincipal::adjust |
( |
PCaloHit & |
item | ) |
const |
template<>
void PileUpEventPrincipal::adjust |
( |
PSimHit & |
item | ) |
const |
template<>
void PileUpEventPrincipal::adjust |
( |
SimTrack & |
item | ) |
const |
template<>
void PileUpEventPrincipal::adjust |
( |
SimVertex & |
item | ) |
const |
int PileUpEventPrincipal::bunchCrossing |
( |
| ) |
const |
|
inline |
Definition at line 50 of file PileUpEventPrincipal.h.
References addLabel(), edm::convert_handle(), edm::Principal::getByLabel(), i, edm::HandleBase::isValid(), edm::InputTag::label(), principal_, edm::Handle< T >::product(), and edm::PRODUCT_TYPE.
Referenced by HcalTBDigiProducer::accumulate(), CastorDigiProducer::accumulate(), HcalDigitizer::accumulate(), RecoTrackAccumulator::accumulate(), SiStripDigitizer::accumulate(), cms::SiPixelDigitizer::accumulate(), and EcalDigiProducer::accumulate().
52 typedef typename T::iterator iterator;
56 T& product =
const_cast<T&
>(*result.
product());
57 for(iterator
i = product.begin(), iEnd = product.end();
i != iEnd; ++
i) {
bool addLabel(edm::TypeID const &type, std::string const &label) const
edm::EventPrincipal const & principal_
BasicHandle getByLabel(KindOfType kindOfType, TypeID const &typeID, InputTag const &inputTag) const
Container::value_type value_type
void convert_handle(BasicHandle const &bh, Handle< T > &result)
T const * product() const
int PileUpEventPrincipal::bunchCrossing_ |
|
private |
int PileUpEventPrincipal::bunchCrossingXbunchSpace_ |
|
private |
std::set<std::pair<edm::TypeID, std::string> > PileUpEventPrincipal::labels_ |
|
mutableprivate |
int PileUpEventPrincipal::vertexOffset_ |
|
private |