Definition at line 34 of file HLTTrack.h.
Analyze the Data
Definition at line 74 of file HLTTrack.cc.
References deltaR(), i, edm::Ref< C, T, F >::isNonnull(), isopixeltrackL2dXY, isopixeltrackL2eta, isopixeltrackL2pt, isopixeltrackL3energy, isopixeltrackL3eta, isopixeltrackL3maxptpxl, isopixeltrackL3phi, isopixeltrackL3pt, edm::HandleBase::isValid(), j, gen::k, nisopixeltrackL3, npixeltracksL3, pixeltracksL3eta, pixeltracksL3phi, pixeltracksL3pt, pixeltracksL3vz, and python.PixelVertexes_cfi::pixelVertices.
Referenced by HLTAnalyzer::analyze().
82 if (IsoPixelTrackL3.
isValid()) {
88 for (
unsigned int i=0;
i<IsoPixelTrackL3->size();
i++)
108 for (
unsigned int i=0;
i<PixelTracksL3->size();
i++)
117 if (IsoPixelTrackL2.
isValid()) {
121 for (
unsigned int j=0;
j<IsoPixelTrackL2->size();
j++)
124 double drL3L2 =
deltaR(candrefl2->eta(), candrefl2->phi(),candref->eta(), candref->phi());
127 candrefl2matched=candrefl2;
140 for (
unsigned int k=0;
k<pixelVertices->size();
k++)
143 double dz=fabs(candrefl2matched->track()->dz(vertref->position()));
147 vertrefMatched=vertref;
float * isopixeltrackL3pt
float * isopixeltrackL3maxptpxl
float * isopixeltrackL2pt
bool isNonnull() const
Checks for non-null.
float * isopixeltrackL2eta
float * isopixeltrackL3eta
float * isopixeltrackL2dXY
double deltaR(double eta1, double eta2, double phi1, double phi2)
float * isopixeltrackL3phi
float * isopixeltrackL3energy
Definition at line 24 of file HLTTrack.cc.
References _Debug, _Monte, edm::ParameterSet::getParameter(), edm::ParameterSet::getParameterNames(), isopixeltrackL2dXY, isopixeltrackL2eta, isopixeltrackL2pt, isopixeltrackL3energy, isopixeltrackL3eta, isopixeltrackL3maxptpxl, isopixeltrackL3phi, isopixeltrackL3pt, nisopixeltrackL3, npixeltracksL3, pixeltracksL3eta, pixeltracksL3phi, pixeltracksL3pt, and pixeltracksL3vz.
Referenced by HLTAnalyzer::HLTAnalyzer().
29 for ( std::vector<std::string>::iterator iParam = parameterNames.begin();
30 iParam != parameterNames.end(); iParam++ ){
36 const int kMaxTrackL3 = 10000;
55 HltTree->Branch(
"NohIsoPixelTrackL3",&
nisopixeltrackL3,
"NohIsoPixelTrackL3/I");
56 HltTree->Branch(
"ohIsoPixelTrackL3Pt",
isopixeltrackL3pt,
"ohIsoPixelTrackL3Pt[NohIsoPixelTrackL3]/F");
57 HltTree->Branch(
"ohIsoPixelTrackL3Eta",
isopixeltrackL3eta,
"ohIsoPixelTrackL3Eta[NohIsoPixelTrackL3]/F");
58 HltTree->Branch(
"ohIsoPixelTrackL3Phi",
isopixeltrackL3phi,
"ohIsoPixelTrackL3Phi[NohIsoPixelTrackL3]/F");
59 HltTree->Branch(
"ohIsoPixelTrackL3MaxPtPxl",
isopixeltrackL3maxptpxl,
"ohIsoPixelTrackL3MaxPtPxl[NohIsoPixelTrackL3]/F");
60 HltTree->Branch(
"ohIsoPixelTrackL3Energy",
isopixeltrackL3energy,
"ohIsoPixelTrackL3Energy[NohIsoPixelTrackL3]/F");
61 HltTree->Branch(
"ohIsoPixelTrackL2pt",
isopixeltrackL2pt,
"ohIsoPixelTrackL2pt[NohIsoPixelTrackL3]/F");
62 HltTree->Branch(
"ohIsoPixelTrackL2eta",
isopixeltrackL2eta,
"ohIsoPixelTrackL2eta[NohIsoPixelTrackL3]/F");
63 HltTree->Branch(
"ohIsoPixelTrackL2dXY",
isopixeltrackL2dXY,
"ohIsoPixelTrackL2dXY[NohIsoPixelTrackL3]/F");
66 HltTree->Branch(
"NohPixelTracksL3",&
npixeltracksL3,
"NohPixelTracksL3/I");
67 HltTree->Branch(
"ohPixelTracksL3Pt",
pixeltracksL3pt,
"ohPixelTracksL3Pt[NohPixelTracksL3]/F");
68 HltTree->Branch(
"ohPixelTracksL3Eta",
pixeltracksL3eta,
"ohPixelTracksL3Eta[NohPixelTracksL3]/F");
69 HltTree->Branch(
"ohPixelTracksL3Phi",
pixeltracksL3phi,
"ohPixelTracksL3Phi[NohPixelTracksL3]/F");
70 HltTree->Branch(
"ohPixelTracksL3Vz",
pixeltracksL3vz,
"ohPixelTracksL3Vz[NohPixelTracksL3]/F");
T getParameter(std::string const &) const
float * isopixeltrackL3pt
float * isopixeltrackL3maxptpxl
float * isopixeltrackL2pt
float * isopixeltrackL2eta
float * isopixeltrackL3eta
float * isopixeltrackL2dXY
std::vector< std::string > getParameterNames() const
float * isopixeltrackL3phi
float * isopixeltrackL3energy