Definition at line 35 of file HLTTrack.h.
Analyze the Data
Definition at line 77 of file HLTTrack.cc.
References deltaR(), FEDRawDataCollection::FEDData(), i, edm::Ref< C, T, F >::isNonnull(), isopixeltrackL2dXY, isopixeltrackL2eta, isopixeltrackL2pt, isopixeltrackL3energy, isopixeltrackL3eta, isopixeltrackL3maxptpxl, isopixeltrackL3phi, isopixeltrackL3pt, edm::HandleBase::isValid(), j, gen::k, nisopixeltrackL3, npixelclusters, npixeltracksL3, clustersummaryproducer_cfg::pixelClusters, pixelfedsize, pixeltracksL3eta, pixeltracksL3phi, pixeltracksL3pt, pixeltracksL3vz, PixelVertexes_cfi::pixelVertices, and FEDRawData::size().
Referenced by HLTAnalyzer::analyze().
87 if (IsoPixelTrackL3.
isValid()) {
93 for (
unsigned int i=0;
i<IsoPixelTrackL3->size();
i++)
113 for (
unsigned int i=0;
i<PixelTracksL3->size();
i++)
122 if (IsoPixelTrackL2.
isValid()) {
126 for (
unsigned int j=0;
j<IsoPixelTrackL2->size();
j++)
129 double drL3L2 =
deltaR(candrefl2->eta(), candrefl2->phi(),candref->eta(), candref->phi());
132 candrefl2matched=candrefl2;
145 for (
unsigned int k=0;
k<pixelVertices->size();
k++)
148 double dz=fabs(candrefl2matched->track()->dz(vertref->position()));
152 vertrefMatched=vertref;
168 for (
unsigned int i = 0;
i <= 39;
i++)
float * isopixeltrackL3pt
size_type dataSize() const
bool isNonnull() const
Checks for non-null.
float * isopixeltrackL3maxptpxl
size_t size() const
Lenght of the data buffer in bytes.
float * isopixeltrackL2pt
const FEDRawData & FEDData(int fedid) const
retrieve data for fed
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, npixelclusters, npixeltracksL3, pixelfedsize, 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");
72 HltTree->Branch(
"ohPixelFEDSize",&
pixelfedsize,
"ohPixelFEDSize/I");
73 HltTree->Branch(
"NohPixelClusters",&
npixelclusters,
"NohPixelClusters/I");
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