#include <TrackingTruthValid.h>
Definition at line 20 of file TrackingTruthValid.h.
Definition at line 37 of file TrackingTruthValid.cc.
References dbe_, edm::ParameterSet::getParameter(), cmsCodeRules.cppFunctionSkipper::operator, and download_sqlite_cfg::outputFile.
T getParameter(std::string const &) const
MonitorElement * meTPAllHits
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
MonitorElement * meTPVtxX
void setBinLabel(int bin, const std::string &label, int axis=1)
set bin label for x, y or z axis (axis=1, 2, 3 respectively)
MonitorElement * meTPVtxZ
MonitorElement * meTPVtxY
MonitorElement * meTPProc
MonitorElement * meTPMatchedHits
MonitorElement * meTPCharge
MonitorElement * meTPMass
void setCurrentFolder(const std::string &fullpath)
TrackingTruthValid::~TrackingTruthValid |
( |
| ) |
|
|
inline |
Implements edm::EDAnalyzer.
Definition at line 85 of file TrackingTruthValid.cc.
References begin, end, edm::Handle< T >::product(), mathSSE::sqrt(), matplotRender::t, and DetId::Tracker.
92 event.getByLabel(
src_,TruthTrackContainer );
115 for (TrackingParticleCollection::const_iterator
t = tPC ->
begin();
t != tPC ->
end(); ++
t) {
130 std::vector<PSimHit> trackerPSimHit(
t->trackPSimHit(
DetId::Tracker) );
133 if(trackerPSimHit.size() !=0)
meTPProc->
Fill( trackerPSimHit.front().processType());
MonitorElement * meTPAllHits
MonitorElement * meTPVtxX
MonitorElement * meTPVtxZ
MonitorElement * meTPVtxY
MonitorElement * meTPProc
MonitorElement * meTPMatchedHits
T const * product() const
MonitorElement * meTPCharge
std::vector< TrackingParticle > TrackingParticleCollection
MonitorElement * meTPMass
void TrackingTruthValid::endJob |
( |
void |
| ) |
|
|
virtual |
std::string TrackingTruthValid::outputFile |
|
private |