CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
TrackerDpgAnalysis Class Reference

#include <DPGAnalysis/SiStripTools/plugins/TrackerDpgAnalysis.cc>

Inheritance diagram for TrackerDpgAnalysis:
edm::EDAnalyzer

Public Member Functions

 TrackerDpgAnalysis (const edm::ParameterSet &)
 
 ~TrackerDpgAnalysis ()
 
- Public Member Functions inherited from edm::EDAnalyzer
 EDAnalyzer ()
 
std::string workerType () const
 
virtual ~EDAnalyzer ()
 

Protected Member Functions

float delay (const SiStripEventSummary &)
 
std::map< uint32_t, float > delay (const std::vector< std::string > &)
 
void insertMeasurement (std::multimap< const uint32_t, std::pair< LocalPoint, double > > &, const TransientTrackingRecHit *, double)
 
void insertMeasurement (std::multimap< const uint32_t, std::pair< int, int > > &, const TrackingRecHit *, int)
 
void insertMeasurement (std::multimap< const uint32_t, std::pair< LocalPoint, std::pair< double, double > > > &, const TransientTrackingRecHit *, double, double)
 
void insertMeasurement (std::multimap< const uint32_t, std::pair< std::pair< float, float >, int > > &, const TrackingRecHit *, int)
 
std::map< size_t, int > inVertex (const reco::TrackCollection &, const reco::VertexCollection &, uint32_t)
 
std::vector< int > onTrack (edm::Handle< edmNew::DetSetVector< SiStripCluster > > &, const reco::TrackCollection &, uint32_t)
 
std::vector< int > onTrack (edm::Handle< edmNew::DetSetVector< SiPixelCluster > > &, const reco::TrackCollection &, uint32_t)
 
std::vector< double > onTrackAngles (edm::Handle< edmNew::DetSetVector< SiStripCluster > > &, const std::vector< Trajectory > &)
 
std::vector< std::pair< double,
double > > 
onTrackAngles (edm::Handle< edmNew::DetSetVector< SiPixelCluster > > &, const std::vector< Trajectory > &)
 
double sumPtSquared (const reco::Vertex &)
 
std::string toStringId (uint32_t)
 
std::string toStringName (uint32_t)
 
- Protected Member Functions inherited from edm::EDAnalyzer
CurrentProcessingContext const * currentContext () const
 

Private Member Functions

virtual void analyze (const edm::Event &, const edm::EventSetup &)
 
virtual void beginRun (const edm::Run &, const edm::EventSetup &)
 
virtual void endJob ()
 

Private Attributes

float alpha_
 
float angle_
 
float aplanarity_
 
float beta_
 
float bsDxdz_
 
float bsDydz_
 
edm::InputTag bsLabel_
 
float bsSigmaZ_
 
float bsX0_
 
float bsY0_
 
float bsZ0_
 
uint32_t bx_
 
edm::ESHandle< SiStripFedCablingcabling_
 
std::string cablingFileName_
 
uint16_t ccuAdd_
 
uint16_t ccuChan_
 
float charge_
 
float chargeCorr_
 
float chi2_
 
float clBareCharge_
 
float clBareNoise_
 
float clCorrectedCharge_
 
float clCorrectedSignalOverNoise_
 
float clNormalizedCharge_
 
float clNormalizedNoise_
 
float clPosition_
 
float clPositionX_
 
float clPositionY_
 
float clSignalOverNoise_
 
uint32_t clSize_
 
uint32_t clSizeX_
 
uint32_t clSizeY_
 
edm::InputTag clusterLabel_
 
TTree * clusters_
 
float clWidth_
 
std::multimap< const uint32_t,
const FedChannelConnection * > 
connections_
 
uint32_t dcuId_
 
float dedx1_
 
edm::InputTag dedx1Label_
 
float dedx2_
 
edm::InputTag dedx2Label_
 
float dedx3_
 
edm::InputTag dedx3Label_
 
uint32_t dedxNoM_
 
float delay_
 
std::vector< std::string > delayFileNames_
 
uint32_t detid_
 
float distance_
 
float dxy_
 
float dxyCorr_
 
float dxyerr_
 
float dz_
 
float dzCorr_
 
float dzerr_
 
float errorX_
 
float errorY_
 
float eta_
 
float etaerr_
 
TTree * event_
 
uint32_t eventid_
 
float fBz_
 
uint16_t fecCrate_
 
uint16_t fecRing_
 
uint16_t fecSlot_
 
uint16_t fedCh_
 
uint16_t fedId_
 
uint16_t fiberLength_
 
uint32_t foundhits_
 
uint32_t foundhitsPixels_
 
uint32_t foundhitsStrips_
 
bool functionality_events_
 
bool functionality_missingHits_
 
bool functionality_offtrackClusters_
 
bool functionality_ontrackClusters_
 
bool functionality_pixclusters_
 
bool functionality_pixvertices_
 
bool functionality_tracks_
 
bool functionality_vertices_
 
uint32_t * globaltrackid_
 
uint32_t globalvertexid_
 
float globalX_
 
float globalY_
 
float globalZ_
 
std::vector< std::string > hlNames_
 
HLTConfigProvider hltConfig_
 
bool HLTDecisionBits_ [256]
 
edm::InputTag HLTLabel_
 
bool isFake_pvtx_
 
bool isValid_pvtx_
 
bool L1DecisionBits_ [192]
 
edm::InputTag L1Label_
 
bool L1TechnicalBits_ [64]
 
uint16_t lldChannel_
 
uint32_t lostHits_
 
uint32_t losthitsPixels_
 
uint32_t losthitsStrips_
 
float * lowPixelProbabilityFraction_
 
uint16_t lumiSegment_
 
float maxCharge_
 
float measX_
 
float measY_
 
std::vector< TTree * > missingHits_
 
char * moduleId_
 
char * moduleName_
 
uint32_t nclusters_
 
uint32_t nclustersOntrack_
 
uint32_t ndof_
 
uint32_t nLayers_
 
uint32_t npixClusters_
 
uint32_t npixClustersOntrack_
 
uint32_t nPixelVertices_
 
uint32_t * ntracks_
 
uint32_t nTracks_pvtx_
 
uint32_t * ntrajs_
 
uint32_t nVertices_
 
bool onTrack_
 
uint32_t orbit_
 
uint32_t orbitL1_
 
float p_
 
float phi_
 
float phierr_
 
uint16_t physicsDeclared_
 
TTree * pixclusters_
 
edm::InputTag pixelclusterLabel_
 
edm::InputTag pixelVertexLabel_
 
TTree * pixelVertices_
 
float planarity_
 
edm::ParameterSet pset_
 
TTree * psumap_
 
char * PSUname_
 
float pt_
 
float pterr_
 
float qoverp_
 
uint32_t quality_
 
TTree * readoutmap_
 
float recx_err_pvtx_
 
float recx_pvtx_
 
float recy_err_pvtx_
 
float recy_pvtx_
 
float recz_err_pvtx_
 
float recz_pvtx_
 
uint32_t runid_
 
float sphericity_
 
uint32_t store_
 
float stripLength_
 
float sumptsq_pvtx_
 
float thickness_
 
float thrustValue_
 
float thrustX_
 
float thrustY_
 
float thrustZ_
 
uint32_t time_
 
edm::ESHandle< TrackerGeometrytracker_
 
uint32_t * trackid_
 
std::vector< edm::InputTagtrackLabel_
 
std::vector< TTree * > tracks_
 
float trkWeightpvtx_
 
uint32_t type_
 
uint32_t vertexid_
 
edm::InputTag vertexLabel_
 
TTree * vertices_
 
float xPCA_
 
float yPCA_
 
float zPCA_
 

Static Private Attributes

static const int nMaxPVs_ = 50
 

Additional Inherited Members

- Public Types inherited from edm::EDAnalyzer
typedef EDAnalyzer ModuleType
 
typedef WorkerT< EDAnalyzerWorkerType
 
- Static Public Member Functions inherited from edm::EDAnalyzer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &)
 

Detailed Description

Description: analysis of the clusters and digis in the tracker

Implementation: analysis of the clusters and digis in the tracker

Definition at line 111 of file TrackerDpgAnalysis.cc.

Constructor & Destructor Documentation

TrackerDpgAnalysis::TrackerDpgAnalysis ( const edm::ParameterSet iConfig)
explicit

Definition at line 202 of file TrackerDpgAnalysis.cc.

References alpha_, angle_, aplanarity_, beta_, bsDxdz_, bsDydz_, bsLabel_, bsSigmaZ_, bsX0_, bsY0_, bsZ0_, bx_, cablingFileName_, ccuAdd_, ccuChan_, charge_, chargeCorr_, chi2_, clBareCharge_, clBareNoise_, clCorrectedCharge_, clCorrectedSignalOverNoise_, clNormalizedCharge_, clNormalizedNoise_, clPosition_, clPositionX_, clPositionY_, clSignalOverNoise_, clSize_, clSizeX_, clSizeY_, clusterLabel_, clusters_, clWidth_, dcuId_, dedx1_, dedx1Label_, dedx2_, dedx2Label_, dedx3_, dedx3Label_, dedxNoM_, delay_, delayFileNames_, detid_, dir, dxy_, dxyCorr_, dxyerr_, dz_, dzCorr_, dzerr_, errorX_, errorY_, eta_, etaerr_, event_, eventid_, fBz_, fecCrate_, fecRing_, fecSlot_, fedCh_, fedId_, fiberLength_, fileService, foundhits_, foundhitsPixels_, foundhitsStrips_, functionality_events_, functionality_missingHits_, functionality_offtrackClusters_, functionality_ontrackClusters_, functionality_pixclusters_, functionality_pixvertices_, functionality_tracks_, functionality_vertices_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), globaltrackid_, globalvertexid_, globalX_, globalY_, globalZ_, HLTDecisionBits_, HLTLabel_, i, isFake_pvtx_, isValid_pvtx_, L1DecisionBits_, L1Label_, L1TechnicalBits_, lldChannel_, lostHits_, losthitsPixels_, losthitsStrips_, lowPixelProbabilityFraction_, lumiSegment_, TFileDirectory::make(), maxCharge_, measX_, measY_, missingHits_, TFileDirectory::mkdir(), moduleId_, moduleName_, nclusters_, nclustersOntrack_, ndof_, nLayers_, npixClusters_, npixClustersOntrack_, ntracks_, nTracks_pvtx_, ntrajs_, nVertices_, onTrack_, orbit_, orbitL1_, p_, phi_, phierr_, physicsDeclared_, pixclusters_, pixelclusterLabel_, pixelVertexLabel_, pixelVertices_, planarity_, pset_, psumap_, PSUname_, pt_, pterr_, qoverp_, quality_, readoutmap_, recx_err_pvtx_, recx_pvtx_, recy_err_pvtx_, recy_pvtx_, recz_err_pvtx_, recz_pvtx_, runid_, sphericity_, store_, stripLength_, sumptsq_pvtx_, thickness_, thrustValue_, thrustX_, thrustY_, thrustZ_, time_, trackid_, trackLabel_, tracks_, trkWeightpvtx_, type_, vertexid_, vertexLabel_, vertices_, xPCA_, yPCA_, and zPCA_.

202  :hltConfig_()
203 {
204  // members
205  moduleName_ = new char[256];
206  moduleId_ = new char[256];
207  PSUname_ = new char[256];
208  pset_ = iConfig;
209 
210  // enable/disable functionalities
211  functionality_offtrackClusters_ = iConfig.getUntrackedParameter<bool>("keepOfftrackClusters",true);
212  functionality_ontrackClusters_ = iConfig.getUntrackedParameter<bool>("keepOntrackClusters",true);
213  functionality_pixclusters_ = iConfig.getUntrackedParameter<bool>("keepPixelClusters",true);
214  functionality_pixvertices_ = iConfig.getUntrackedParameter<bool>("keepPixelVertices",true);
215  functionality_missingHits_ = iConfig.getUntrackedParameter<bool>("keepMissingHits",true);
216  functionality_tracks_ = iConfig.getUntrackedParameter<bool>("keepTracks",true);
217  functionality_vertices_ = iConfig.getUntrackedParameter<bool>("keepVertices",true);
218  functionality_events_ = iConfig.getUntrackedParameter<bool>("keepEvents",true);
219 
220  // parameters
221  clusterLabel_ = iConfig.getParameter<edm::InputTag>("ClustersLabel");
222  pixelclusterLabel_ = iConfig.getParameter<edm::InputTag>("PixelClustersLabel");
223  trackLabel_ = iConfig.getParameter<std::vector<edm::InputTag> >("TracksLabel");
224  dedx1Label_ = iConfig.getParameter<edm::InputTag>("DeDx1Label");
225  dedx2Label_ = iConfig.getParameter<edm::InputTag>("DeDx2Label");
226  dedx3Label_ = iConfig.getParameter<edm::InputTag>("DeDx3Label");
227  vertexLabel_ = iConfig.getParameter<edm::InputTag>("vertexLabel");
228  pixelVertexLabel_ = iConfig.getParameter<edm::InputTag>("pixelVertexLabel");
229  bsLabel_ = iConfig.getParameter<edm::InputTag>("beamSpotLabel");
230  L1Label_ = iConfig.getParameter<edm::InputTag>("L1Label");
231  HLTLabel_ = iConfig.getParameter<edm::InputTag>("HLTLabel");
232 
233  // initialize arrays
234  ntracks_ = new uint32_t[trackLabel_.size()];
235  ntrajs_ = new uint32_t[trackLabel_.size()];
236  globaltrackid_ = new uint32_t[trackLabel_.size()];
237  trackid_ = new uint32_t[trackLabel_.size()];
238  lowPixelProbabilityFraction_ = new float[trackLabel_.size()];
239  globalvertexid_ = iConfig.getParameter<uint32_t>("InitalCounter");
240  for(size_t i = 0; i<trackLabel_.size();++i) {
241  ntracks_[i]=0;
242  ntrajs_[i]=0;
243  globaltrackid_[i]=iConfig.getParameter<uint32_t>("InitalCounter");
244  trackid_[i]=0;
246  }
247 
248  // create output
250  TFileDirectory* dir = new TFileDirectory(fileService->mkdir("trackerDPG"));
251 
252  // create a TTree for clusters
253  clusters_ = dir->make<TTree>("clusters","cluster information");
254  clusters_->Branch("eventid",&eventid_,"eventid/i");
255  clusters_->Branch("runid",&runid_,"runid/i");
256  for(size_t i = 0; i<trackLabel_.size(); ++i) {
257  char buffer1[256];
258  char buffer2[256];
259  sprintf(buffer1,"trackid%lu",(unsigned long)i);
260  sprintf(buffer2,"trackid%lu/i",(unsigned long)i);
261  clusters_->Branch(buffer1,trackid_+i,buffer2);
262  }
263  clusters_->Branch("onTrack",&onTrack_,"onTrack/O");
264  clusters_->Branch("clWidth",&clWidth_,"clWidth/F");
265  clusters_->Branch("clPosition",&clPosition_,"clPosition/F");
266  clusters_->Branch("clglobalX",&globalX_,"clglobalX/F");
267  clusters_->Branch("clglobalY",&globalY_,"clglobalY/F");
268  clusters_->Branch("clglobalZ",&globalZ_,"clglobalZ/F");
269  clusters_->Branch("angle",&angle_,"angle/F");
270  clusters_->Branch("thickness",&thickness_,"thickness/F");
271  clusters_->Branch("maxCharge",&maxCharge_,"maxCharge/F");
272  clusters_->Branch("clNormalizedCharge",&clNormalizedCharge_,"clNormalizedCharge/F");
273  clusters_->Branch("clNormalizedNoise",&clNormalizedNoise_,"clNormalizedNoise/F");
274  clusters_->Branch("clSignalOverNoise",&clSignalOverNoise_,"clSignalOverNoise/F");
275  clusters_->Branch("clCorrectedCharge",&clCorrectedCharge_,"clCorrectedCharge/F");
276  clusters_->Branch("clCorrectedSignalOverNoise",&clCorrectedSignalOverNoise_,"clCorrectedSignalOverNoise/F");
277  clusters_->Branch("clBareCharge",&clBareCharge_,"clBareCharge/F");
278  clusters_->Branch("clBareNoise",&clBareNoise_,"clBareNoise/F");
279  clusters_->Branch("stripLength",&stripLength_,"stripLength/F");
280  clusters_->Branch("detid",&detid_,"detid/i");
281  clusters_->Branch("lldChannel",&lldChannel_,"lldChannel/s");
282 
283  // create a TTree for pixel clusters
284  pixclusters_ = dir->make<TTree>("pixclusters","pixel cluster information");
285  pixclusters_->Branch("eventid",&eventid_,"eventid/i");
286  pixclusters_->Branch("runid",&runid_,"runid/i");
287  for(size_t i = 0; i<trackLabel_.size(); ++i) {
288  char buffer1[256];
289  char buffer2[256];
290  sprintf(buffer1,"trackid%lu",(unsigned long)i);
291  sprintf(buffer2,"trackid%lu/i",(unsigned long)i);
292  pixclusters_->Branch(buffer1,trackid_+i,buffer2);
293  }
294  pixclusters_->Branch("onTrack",&onTrack_,"onTrack/O");
295  pixclusters_->Branch("clPositionX",&clPositionX_,"clPositionX/F");
296  pixclusters_->Branch("clPositionY",&clPositionY_,"clPositionY/F");
297  pixclusters_->Branch("clSize",&clSize_,"clSize/i");
298  pixclusters_->Branch("clSizeX",&clSizeX_,"clSizeX/i");
299  pixclusters_->Branch("clSizeY",&clSizeY_,"clSizeY/i");
300  pixclusters_->Branch("alpha",&alpha_,"alpha/F");
301  pixclusters_->Branch("beta",&beta_,"beta/F");
302  pixclusters_->Branch("charge",&charge_,"charge/F");
303  pixclusters_->Branch("chargeCorr",&chargeCorr_,"chargeCorr/F");
304  pixclusters_->Branch("clglobalX",&globalX_,"clglobalX/F");
305  pixclusters_->Branch("clglobalY",&globalY_,"clglobalY/F");
306  pixclusters_->Branch("clglobalZ",&globalZ_,"clglobalZ/F");
307  pixclusters_->Branch("detid",&detid_,"detid/i");
308 
309  // create a tree for tracks
310  for(size_t i = 0; i<trackLabel_.size(); ++i) {
311  char buffer1[256];
312  char buffer2[256];
313  sprintf(buffer1,"tracks%lu",(unsigned long)i);
314  sprintf(buffer2,"track%lu information",(unsigned long)i);
315  TTree* thetracks_ = dir->make<TTree>(buffer1,buffer2);
316  sprintf(buffer1,"trackid%lu",(unsigned long)i);
317  sprintf(buffer2,"trackid%lu/i",(unsigned long)i);
318  thetracks_->Branch(buffer1,globaltrackid_+i,buffer2);
319  thetracks_->Branch("eventid",&eventid_,"eventid/i");
320  thetracks_->Branch("runid",&runid_,"runid/i");
321  thetracks_->Branch("chi2",&chi2_,"chi2/F");
322  thetracks_->Branch("eta",&eta_,"eta/F");
323  thetracks_->Branch("etaerr",&etaerr_,"etaerr/F");
324  thetracks_->Branch("phi",&phi_,"phi/F");
325  thetracks_->Branch("phierr",&phierr_,"phierr/F");
326  thetracks_->Branch("dedx1",&dedx1_,"dedx1/F");
327  thetracks_->Branch("dedx2",&dedx2_,"dedx2/F");
328  thetracks_->Branch("dedx3",&dedx3_,"dedx3/F");
329  thetracks_->Branch("dedxNoM",&dedxNoM_,"dedxNoM/i");
330  thetracks_->Branch("charge",&charge_,"charge/F");
331  thetracks_->Branch("quality",&quality_,"quality/i");
332  thetracks_->Branch("foundhits",&foundhits_,"foundhits/i");
333  thetracks_->Branch("lostHits",&lostHits_,"lostHits/i");
334  thetracks_->Branch("foundhitsStrips",&foundhitsStrips_,"foundhitsStrips/i");
335  thetracks_->Branch("foundhitsPixels",&foundhitsPixels_,"foundhitsPixels/i");
336  thetracks_->Branch("losthitsStrips",&losthitsStrips_,"losthitsStrips/i");
337  thetracks_->Branch("losthitsPixels",&losthitsPixels_,"losthitsPixels/i");
338  thetracks_->Branch("p",&p_,"p/F");
339  thetracks_->Branch("pt",&pt_,"pt/F");
340  thetracks_->Branch("pterr",&pterr_,"pterr/F");
341  thetracks_->Branch("ndof",&ndof_,"ndof/i");
342  thetracks_->Branch("dz",&dz_,"dz/F");
343  thetracks_->Branch("dzerr",&dzerr_,"dzerr/F");
344  thetracks_->Branch("dzCorr",&dzCorr_,"dzCorr/F");
345  thetracks_->Branch("dxy",&dxy_,"dxy/F");
346  thetracks_->Branch("dxyerr",&dxyerr_,"dxyerr/F");
347  thetracks_->Branch("dxyCorr",&dxyCorr_,"dxyCorr/F");
348  thetracks_->Branch("qoverp",&qoverp_,"qoverp/F");
349  thetracks_->Branch("xPCA",&xPCA_,"xPCA/F");
350  thetracks_->Branch("yPCA",&yPCA_,"yPCA/F");
351  thetracks_->Branch("zPCA",&zPCA_,"zPCA/F");
352  thetracks_->Branch("nLayers",&nLayers_,"nLayers/i");
353  thetracks_->Branch("trkWeightpvtx",&trkWeightpvtx_,"trkWeightpvtx/F");
354  thetracks_->Branch("vertexid",&vertexid_,"vertexid/i");
355  tracks_.push_back(thetracks_);
356  }
357 
358  // create a tree for missing hits
359  for(size_t i = 0; i<trackLabel_.size(); ++i) {
360  char buffer1[256];
361  char buffer2[256];
362  sprintf(buffer1,"misingHits%lu",(unsigned long)i);
363  sprintf(buffer2,"missing hits from track collection %lu",(unsigned long)i);
364  TTree* themissingHits_ = dir->make<TTree>(buffer1,buffer2);
365  sprintf(buffer1,"trackid%lu",(unsigned long)i);
366  sprintf(buffer2,"trackid%lu/i",(unsigned long)i);
367  themissingHits_->Branch(buffer1,globaltrackid_+i,buffer2);
368  themissingHits_->Branch("eventid",&eventid_,"eventid/i");
369  themissingHits_->Branch("runid",&runid_,"runid/i");
370  themissingHits_->Branch("detid",&detid_,"detid/i");
371  themissingHits_->Branch("type",&type_,"type/i");
372  themissingHits_->Branch("localX",&clPositionX_,"localX/F");
373  themissingHits_->Branch("localY",&clPositionY_,"localY/F");
374  themissingHits_->Branch("globalX",&globalX_,"globalX/F");
375  themissingHits_->Branch("globalY",&globalY_,"globalY/F");
376  themissingHits_->Branch("globalZ",&globalZ_,"globalZ/F");
377  themissingHits_->Branch("measX",&measX_,"measX/F");
378  themissingHits_->Branch("measY",&measY_,"measY/F");
379  themissingHits_->Branch("errorX",&errorX_,"errorX/F");
380  themissingHits_->Branch("errorY",&errorY_,"errorY/F");
381  missingHits_.push_back(themissingHits_);
382  }
383 
384  // create a tree for the vertices
385  vertices_ = dir->make<TTree>("vertices","vertex information");
386  vertices_->Branch("vertexid",&globalvertexid_,"vertexid/i");
387  vertices_->Branch("eventid",&eventid_,"eventid/i");
388  vertices_->Branch("runid",&runid_,"runid/i");
389  vertices_->Branch("nTracks",&nTracks_pvtx_,"nTracks/i");
390  vertices_->Branch("sumptsq",&sumptsq_pvtx_,"sumptsq/F");
391  vertices_->Branch("isValid",&isValid_pvtx_,"isValid/O");
392  vertices_->Branch("isFake",&isFake_pvtx_,"isFake/O");
393  vertices_->Branch("recx",&recx_pvtx_,"recx/F");
394  vertices_->Branch("recy",&recy_pvtx_,"recy/F");
395  vertices_->Branch("recz",&recz_pvtx_,"recz/F");
396  vertices_->Branch("recx_err",&recx_err_pvtx_,"recx_err/F");
397  vertices_->Branch("recy_err",&recy_err_pvtx_,"recy_err/F");
398  vertices_->Branch("recz_err",&recz_err_pvtx_,"recz_err/F");
399 
400  // create a tree for the vertices
401  pixelVertices_ = dir->make<TTree>("pixelVertices","pixel vertex information");
402  pixelVertices_->Branch("eventid",&eventid_,"eventid/i");
403  pixelVertices_->Branch("runid",&runid_,"runid/i");
404  pixelVertices_->Branch("nTracks",&nTracks_pvtx_,"nTracks/i");
405  pixelVertices_->Branch("sumptsq",&sumptsq_pvtx_,"sumptsq/F");
406  pixelVertices_->Branch("isValid",&isValid_pvtx_,"isValid/O");
407  pixelVertices_->Branch("isFake",&isFake_pvtx_,"isFake/O");
408  pixelVertices_->Branch("recx",&recx_pvtx_,"recx/F");
409  pixelVertices_->Branch("recy",&recy_pvtx_,"recy/F");
410  pixelVertices_->Branch("recz",&recz_pvtx_,"recz/F");
411  pixelVertices_->Branch("recx_err",&recx_err_pvtx_,"recx_err/F");
412  pixelVertices_->Branch("recy_err",&recy_err_pvtx_,"recy_err/F");
413  pixelVertices_->Branch("recz_err",&recz_err_pvtx_,"recz_err/F");
414 
415  // create a tree for the events
416  event_ = dir->make<TTree>("events","event information");
417  event_->Branch("eventid",&eventid_,"eventid/i");
418  event_->Branch("runid",&runid_,"runid/i");
419  event_->Branch("L1DecisionBits",L1DecisionBits_,"L1DecisionBits[192]/O");
420  event_->Branch("L1TechnicalBits",L1TechnicalBits_,"L1TechnicalBits[64]/O");
421  event_->Branch("orbit",&orbit_,"orbit/i");
422  event_->Branch("orbitL1",&orbitL1_,"orbitL1/i");
423  event_->Branch("bx",&bx_,"bx/i");
424  event_->Branch("store",&store_,"store/i");
425  event_->Branch("time",&time_,"time/i");
426  event_->Branch("delay",&delay_,"delay/F");
427  event_->Branch("lumiSegment",&lumiSegment_,"lumiSegment/s");
428  event_->Branch("physicsDeclared",&physicsDeclared_,"physicsDeclared/s");
429  event_->Branch("HLTDecisionBits",HLTDecisionBits_,"HLTDecisionBits[256]/O");
430  char buffer[256];
431  sprintf(buffer,"ntracks[%lu]/i",(unsigned long)trackLabel_.size());
432  event_->Branch("ntracks",ntracks_,buffer);
433  sprintf(buffer,"ntrajs[%lu]/i",(unsigned long)trackLabel_.size());
434  event_->Branch("ntrajs",ntrajs_,buffer);
435  sprintf(buffer,"lowPixelProbabilityFraction[%lu]/F",(unsigned long)trackLabel_.size());
436  event_->Branch("lowPixelProbabilityFraction",lowPixelProbabilityFraction_,buffer);
437  event_->Branch("nclusters",&nclusters_,"nclusters/i");
438  event_->Branch("npixClusters",&npixClusters_,"npixClusters/i");
439  event_->Branch("nclustersOntrack",&nclustersOntrack_,"nclustersOntrack/i");
440  event_->Branch("npixClustersOntrack",&npixClustersOntrack_,"npixClustersOntrack/i");
441  event_->Branch("bsX0",&bsX0_,"bsX0/F");
442  event_->Branch("bsY0",&bsY0_,"bsY0/F");
443  event_->Branch("bsZ0",&bsZ0_,"bsZ0/F");
444  event_->Branch("bsSigmaZ",&bsSigmaZ_,"bsSigmaZ/F");
445  event_->Branch("bsDxdz",&bsDxdz_,"bsDxdz/F");
446  event_->Branch("bsDydz",&bsDydz_,"bsDydz/F");
447  event_->Branch("nVertices",&nVertices_,"nVertices/i");
448  event_->Branch("thrustValue",&thrustValue_,"thrustValue/F");
449  event_->Branch("thrustX",&thrustX_,"thrustX/F");
450  event_->Branch("thrustY",&thrustY_,"thrustY/F");
451  event_->Branch("thrustZ",&thrustZ_,"thrustZ/F");
452  event_->Branch("sphericity",&sphericity_,"sphericity/F");
453  event_->Branch("planarity",&planarity_,"planarity/F");
454  event_->Branch("aplanarity",&aplanarity_,"aplanarity/F");
455  event_->Branch("MagneticField",&fBz_,"MagneticField/F");
456 
457  // cabling
458  cablingFileName_ = iConfig.getUntrackedParameter<std::string>("PSUFileName","PSUmapping.csv");
459  delayFileNames_ = iConfig.getUntrackedParameter<std::vector<std::string> >("DelayFileNames",std::vector<std::string>(0));
460  psumap_ = dir->make<TTree>("psumap","PSU map");
461  psumap_->Branch("PSUname",PSUname_,"PSUname/C");
462  psumap_->Branch("dcuId",&dcuId_,"dcuId/i");
463  readoutmap_ = dir->make<TTree>("readoutMap","cabling map");
464  readoutmap_->Branch("detid",&detid_,"detid/i");
465  readoutmap_->Branch("dcuId",&dcuId_,"dcuId/i");
466  readoutmap_->Branch("fecCrate",&fecCrate_,"fecCrate/s");
467  readoutmap_->Branch("fecSlot",&fecSlot_,"fecSlot/s");
468  readoutmap_->Branch("fecRing",&fecRing_,"fecRing/s");
469  readoutmap_->Branch("ccuAdd",&ccuAdd_,"ccuAdd/s");
470  readoutmap_->Branch("ccuChan",&ccuChan_,"ccuChan/s");
471  readoutmap_->Branch("lldChannel",&lldChannel_,"lldChannel/s");
472  readoutmap_->Branch("fedId",&fedId_,"fedId/s");
473  readoutmap_->Branch("fedCh",&fedCh_,"fedCh/s");
474  readoutmap_->Branch("fiberLength",&fiberLength_,"fiberLength/s");
475  readoutmap_->Branch("moduleName",moduleName_,"moduleName/C");
476  readoutmap_->Branch("moduleId",moduleId_,"moduleId/C");
477  readoutmap_->Branch("delay",&delay_,"delay/F");
478  readoutmap_->Branch("globalX",&globalX_,"globalX/F");
479  readoutmap_->Branch("globalY",&globalY_,"globalY/F");
480  readoutmap_->Branch("globalZ",&globalZ_,"globalZ/F");
481 }
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
std::vector< TTree * > tracks_
int i
Definition: DBlmapReader.cc:9
std::vector< edm::InputTag > trackLabel_
edm::InputTag pixelclusterLabel_
edm::ParameterSet pset_
edm::InputTag pixelVertexLabel_
std::vector< std::string > delayFileNames_
edm::InputTag clusterLabel_
HLTConfigProvider hltConfig_
edm::Service< TFileService > fileService
TFileDirectory mkdir(const std::string &dir, const std::string &descr="")
create a new subdirectory
edm::InputTag vertexLabel_
std::vector< TTree * > missingHits_
T * make() const
make new ROOT object
dbl *** dir
Definition: mlp_gen.cc:35
TrackerDpgAnalysis::~TrackerDpgAnalysis ( )

Definition at line 483 of file TrackerDpgAnalysis.cc.

References moduleId_, and moduleName_.

484 {
485  delete[] moduleName_;
486  delete[] moduleId_;
487 }

Member Function Documentation

void TrackerDpgAnalysis::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
privatevirtual

Implements edm::EDAnalyzer.

Definition at line 495 of file TrackerDpgAnalysis.cc.

References alpha_, angle_, EventShape::aplanarity(), aplanarity_, SiStripClusterInfo::baryStrip(), SiPixelRawToDigiRegional_cfi::beamSpot, begin, beta_, bsDxdz_, bsDydz_, bsLabel_, bsSigmaZ_, bsX0_, bsY0_, bsZ0_, edm::EventAuxiliary::bunchCrossing(), bx_, SiStripClusterInfo::charge(), charge_, chargeCorr_, chi2_, clBareCharge_, clBareNoise_, clCorrectedCharge_, clCorrectedSignalOverNoise_, clNormalizedCharge_, clNormalizedNoise_, clPosition_, clPositionX_, clPositionY_, clSignalOverNoise_, clSize_, clSizeX_, clSizeY_, clusterLabel_, clusters_, clWidth_, coll, funct::cos(), dedx1_, dedx1Label_, dedx2_, dedx2Label_, dedx3_, dedx3Label_, dedxNoM_, delay(), delay_, cond::rpcobgas::detid, detid_, dxy_, dxyCorr_, dxyerr_, dz_, dzCorr_, dzerr_, end, error, errorX_, errorY_, eta_, etaerr_, edm::EventID::event(), event_, edm::Event::eventAuxiliary(), eventid_, fBz_, foundhits_, foundhitsPixels_, foundhitsStrips_, functionality_events_, functionality_missingHits_, functionality_offtrackClusters_, functionality_ontrackClusters_, functionality_pixclusters_, functionality_pixvertices_, functionality_tracks_, functionality_vertices_, edm::EventSetup::get(), edm::Event::getByLabel(), globaltrackid_, globalvertexid_, globalX_, globalY_, globalZ_, L1GtFdlWord::gtDecisionWord(), HLTDecisionBits_, HLTLabel_, i, edm::EventBase::id(), TrackingRecHit::inactive, getHLTprescales::index, inVertex(), isFake_pvtx_, GeomDetType::isTracker(), isValid_pvtx_, edm::Ref< C, T, F >::key(), L1DecisionBits_, L1Label_, L1TechnicalBits_, diffTwoXMLs::label, lldChannel_, StripTopology::localPosition(), Topology::localPosition(), lostHits_, losthitsPixels_, losthitsStrips_, lowPixelProbabilityFraction_, edm::EventAuxiliary::luminosityBlock(), lumiSegment_, SiStripClusterInfo::maxCharge(), maxCharge_, Topology::measurementPosition(), measX_, measY_, cmsRun_displayProdMFGeom_cfg::MF, missingHits_, nclusters_, nclustersOntrack_, ndof_, nLayers_, SiStripClusterInfo::noise(), SiStripClusterInfo::noiseRescaledByGain(), npixClusters_, npixClustersOntrack_, nPixelVertices_, ntracks_, nTracks_pvtx_, ntrajs_, nVertices_, onTrack(), onTrack_, onTrackAngles(), orbit_, orbitL1_, edm::EventAuxiliary::orbitNumber(), p_, phi_, phierr_, physicsDeclared_, pixclusters_, PixelSubdetector::PixelBarrel, pixelclusterLabel_, pixelVertexLabel_, pixelVertices_, EventShape::planarity(), planarity_, funct::pow(), pt_, pterr_, qoverp_, quality_, dt_dqm_sourceclient_common_cff::reco, recx_err_pvtx_, recx_pvtx_, recy_err_pvtx_, recy_pvtx_, recz_err_pvtx_, recz_pvtx_, edm::EventID::run(), runid_, SiStripClusterInfo::signalOverNoise(), StripGeomDetUnit::specificTopology(), PixelGeomDetUnit::specificTopology(), EventShape::sphericity(), sphericity_, mathSSE::sqrt(), store_, edm::EventAuxiliary::storeNumber(), stripLength_, DetId::subdetId(), edmLumisInFiles::summary, sumptsq_pvtx_, sumPtSquared(), GeomDet::surface(), funct::tan(), thickness_, EventShape::thrust(), thrustValue_, thrustX_, thrustY_, thrustZ_, edm::EventAuxiliary::time(), time_, Surface::toGlobal(), GeomDetUnit::topology(), tracker_, trackid_, trackLabel_, tracks_, trkWeightpvtx_, GeomDetUnit::type(), type_, v, edm::Timestamp::value(), vertexid_, vertexLabel_, vertices_, SiStripClusterInfo::width(), PV2DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::x(), xPCA_, LocalError::xx(), PV2DBase< T, PVType, FrameType >::y(), PV3DBase< T, PVType, FrameType >::y(), yPCA_, LocalError::yy(), PV3DBase< T, PVType, FrameType >::z(), and zPCA_.

496 {
497  using namespace edm;
498  using namespace reco;
499  using namespace std;
500  using reco::TrackCollection;
501 
502  // load event info
503  eventid_ = iEvent.id().event();
504  runid_ = iEvent.id().run();
505  bx_ = iEvent.eventAuxiliary().bunchCrossing();
506  orbit_ = iEvent.eventAuxiliary().orbitNumber();
507  store_ = iEvent.eventAuxiliary().storeNumber();
508  time_ = iEvent.eventAuxiliary().time().value();
510 
511  // Retrieve commissioning information from "event summary", when available (for standard fine delay)
513  iEvent.getByLabel( "siStripDigis", summary );
514  if(summary.isValid())
515  delay_ = delay(*summary.product());
516  else
517  delay_ = 0.;
518 
519  // -- Magnetic field
521  iSetup.get<IdealMagneticFieldRecord>().get(MF);
522  const MagneticField* theMagneticField = MF.product();
523  fBz_ = fabs(theMagneticField->inTesla(GlobalPoint(0,0,0)).z());
524 
525  // load trigger info
527  iEvent.getByLabel(L1Label_, gtrr_handle);
528  L1GlobalTriggerReadoutRecord const* gtrr = gtrr_handle.product();
529  L1GtFdlWord fdlWord = gtrr->gtFdlWord();
530  DecisionWord L1decision = fdlWord.gtDecisionWord();
531  for(int bit=0;bit<128;++bit) {
532  L1DecisionBits_[bit] = L1decision[bit];
533  }
534  DecisionWordExtended L1decisionE = fdlWord.gtDecisionWordExtended();
535  for(int bit=0;bit<64;++bit) {
536  L1DecisionBits_[bit+128] = L1decisionE[bit];
537  }
538  TechnicalTriggerWord L1technical = fdlWord.gtTechnicalTriggerWord();
539  for(int bit=0;bit<64;++bit) {
540  L1TechnicalBits_[bit] = L1technical[bit];
541  }
542  orbitL1_ = fdlWord.orbitNr();
543  physicsDeclared_ = fdlWord.physicsDeclared();
545  iEvent.getByLabel(HLTLabel_, trh);
546  size_t ntrh = trh->size();
547  for(size_t bit=0;bit<256;++bit)
548  HLTDecisionBits_[bit] = bit<ntrh ? (bool)(trh->accept(bit)): false;
549 
550  // load beamspot
551  edm::Handle<reco::BeamSpot> recoBeamSpotHandle;
552  iEvent.getByLabel(bsLabel_,recoBeamSpotHandle);
553  reco::BeamSpot bs = *recoBeamSpotHandle;
554  const Point beamSpot = recoBeamSpotHandle.isValid() ?
555  Point(recoBeamSpotHandle->x0(), recoBeamSpotHandle->y0(), recoBeamSpotHandle->z0()) :
556  Point(0, 0, 0);
557  if(recoBeamSpotHandle.isValid()) {
558  bsX0_ = bs.x0();
559  bsY0_ = bs.y0();
560  bsZ0_ = bs.z0();
561  bsSigmaZ_ = bs.sigmaZ();
562  bsDxdz_ = bs.dxdz();
563  bsDydz_ = bs.dydz();
564  } else {
565  bsX0_ = 0.;
566  bsY0_ = 0.;
567  bsZ0_ = 0.;
568  bsSigmaZ_ = 0.;
569  bsDxdz_ = 0.;
570  bsDydz_ = 0.;
571  }
572 
573  // load primary vertex
574  static const reco::VertexCollection s_empty_vertexColl;
575  edm::Handle<reco::VertexCollection> vertexCollectionHandle;
576  iEvent.getByLabel(vertexLabel_,vertexCollectionHandle);
577  const reco::VertexCollection vertexColl = *(vertexCollectionHandle.product());
578  nVertices_ = 0;
579  for(reco::VertexCollection::const_iterator v=vertexColl.begin();
580  v!=vertexColl.end(); ++v) {
581  if(v->isValid() && !v->isFake()) ++nVertices_;
582  }
583 
584  // load pixel vertices
585  // Pixel vertices are handled as primary vertices, but not linked to tracks.
586  edm::Handle<reco::VertexCollection> pixelVertexCollectionHandle;
587  iEvent.getByLabel(pixelVertexLabel_, pixelVertexCollectionHandle);
588  const reco::VertexCollection pixelVertexColl = *(pixelVertexCollectionHandle.product());
589  nPixelVertices_ = pixelVertexColl.size();
590 
591  // load the clusters
593  iEvent.getByLabel(clusterLabel_,clusters);
595  iEvent.getByLabel(pixelclusterLabel_,pixelclusters );
596 
597  // load dedx info
598  Handle<ValueMap<DeDxData> > dEdx1Handle;
599  Handle<ValueMap<DeDxData> > dEdx2Handle;
600  Handle<ValueMap<DeDxData> > dEdx3Handle;
601  try {iEvent.getByLabel(dedx1Label_, dEdx1Handle);} catch (...) {;}
602  try {iEvent.getByLabel(dedx2Label_, dEdx2Handle);} catch (...) {;}
603  try {iEvent.getByLabel(dedx3Label_, dEdx3Handle);} catch (...) {;}
604  const ValueMap<DeDxData> dEdxTrack1 = *dEdx1Handle.product();
605  const ValueMap<DeDxData> dEdxTrack2 = *dEdx2Handle.product();
606  const ValueMap<DeDxData> dEdxTrack3 = *dEdx3Handle.product();
607 
608  // load track collections
609  std::vector<reco::TrackCollection> trackCollection;
610  std::vector<edm::Handle<reco::TrackCollection> > trackCollectionHandle;
611  trackCollectionHandle.resize(trackLabel_.size());
612  size_t index = 0;
613  for(std::vector<edm::InputTag>::const_iterator label = trackLabel_.begin();label!=trackLabel_.end();++label,++index) {
614  try {iEvent.getByLabel(*label,trackCollectionHandle[index]);} catch (...) {;}
615  trackCollection.push_back(*trackCollectionHandle[index].product());
616  ntracks_[index] = trackCollection[index].size();
617  }
618 
619  // load the trajectory collections
620  std::vector<std::vector<Trajectory> > trajectoryCollection;
621  std::vector<edm::Handle<std::vector<Trajectory> > > trajectoryCollectionHandle;
622  trajectoryCollectionHandle.resize(trackLabel_.size());
623  index = 0;
624  for(std::vector<edm::InputTag>::const_iterator label = trackLabel_.begin();label!=trackLabel_.end();++label,++index) {
625  try {iEvent.getByLabel(*label,trajectoryCollectionHandle[index]);} catch (...) {;}
626  trajectoryCollection.push_back(*trajectoryCollectionHandle[index].product());
627  ntrajs_[index] = trajectoryCollection[index].size();
628  }
629 
630  // load the tracks/traj association maps
631  std::vector<TrajTrackAssociationCollection> TrajToTrackMap;
632  Handle<TrajTrackAssociationCollection> trajTrackAssociationHandle;
633  for(std::vector<edm::InputTag>::const_iterator label = trackLabel_.begin();label!=trackLabel_.end();++label) {
634  try {iEvent.getByLabel(*label,trajTrackAssociationHandle);} catch (...) {;}
635  TrajToTrackMap.push_back(*trajTrackAssociationHandle.product());
636  }
637 
638  // sanity check
639  if(!(trackCollection.size()>0 && trajectoryCollection.size()>0)) return;
640 
641  // build the reverse map tracks -> vertex
642  std::vector<std::map<size_t,int> > trackVertices;
643  for(size_t i=0;i<trackLabel_.size();++i) {
644  trackVertices.push_back(inVertex(trackCollection[0], vertexColl, globalvertexid_+1));
645  }
646 
647  // iterate over vertices
649  for(reco::VertexCollection::const_iterator v=vertexColl.begin();
650  v!=vertexColl.end(); ++v) {
651  nTracks_pvtx_ = v->tracksSize();
653  isValid_pvtx_ = int(v->isValid());
654  isFake_pvtx_ = int(v->isFake());
655  recx_pvtx_ = v->x();
656  recy_pvtx_ = v->y();
657  recz_pvtx_ = v->z();
658  recx_err_pvtx_ = v->xError();
659  recy_err_pvtx_ = v->yError();
660  recz_err_pvtx_ = v->zError();
661  globalvertexid_++;
662  vertices_->Fill();
663  }
664  }
665 
666  // iterate over pixel vertices
668  for(reco::VertexCollection::const_iterator v=pixelVertexColl.begin();
669  v!=pixelVertexColl.end(); ++v) {
670  nTracks_pvtx_ = v->tracksSize();
672  isValid_pvtx_ = int(v->isValid());
673  isFake_pvtx_ = int(v->isFake());
674  recx_pvtx_ = v->x();
675  recy_pvtx_ = v->y();
676  recz_pvtx_ = v->z();
677  recx_err_pvtx_ = v->xError();
678  recy_err_pvtx_ = v->yError();
679  recz_err_pvtx_ = v->zError();
680  pixelVertices_->Fill();
681  }
682  }
683 
684  // determine if each cluster is on a track or not, and record the local angle
685  // to do this, we use the first track/traj collection
686  std::vector<double> clusterOntrackAngles = onTrackAngles(clusters,trajectoryCollection[0]);
687  std::vector<std::pair<double,double> > pixclusterOntrackAngles = onTrackAngles(pixelclusters,trajectoryCollection[0]);
688 
689 /*
690  // iterate over trajectories
691  // note: when iterating over trajectories, it might be simpler to use the tracks/trajectories association map
692  for(std::vector<Trajectory>::const_iterator traj = trajVec.begin(); traj< trajVec.end(); ++traj) {
693  }
694  // loop over all rechits from trajectories
695  //iterate over trajectories
696  for(std::vector<Trajectory>::const_iterator traj = trajVec.begin(); traj< trajVec.end(); ++traj) {
697  Trajectory::DataContainer measurements = traj->measurements();
698  // iterate over measurements
699  for(Trajectory::DataContainer::iterator meas = measurements.begin(); meas!= measurements.end(); ++meas) {
700  }
701  }
702 */
703 
704  // determine if each cluster is on a track or not, and record the trackid
705  std::vector< std::vector<int> > stripClusterOntrackIndices;
706  for(size_t i = 0; i<trackLabel_.size(); ++i) {
707  stripClusterOntrackIndices.push_back(onTrack(clusters,trackCollection[i],globaltrackid_[i]+1));
708  }
709  std::vector< std::vector<int> > pixelClusterOntrackIndices;
710  for(size_t i = 0; i<trackLabel_.size(); ++i) {
711  pixelClusterOntrackIndices.push_back(onTrack(pixelclusters,trackCollection[i],globaltrackid_[i]+1));
712  }
713  nclustersOntrack_ = count_if(stripClusterOntrackIndices[0].begin(),stripClusterOntrackIndices[0].end(),bind2nd(not_equal_to<int>(), -1));
714  npixClustersOntrack_ = count_if(pixelClusterOntrackIndices[0].begin(),pixelClusterOntrackIndices[0].end(),bind2nd(not_equal_to<int>(), -1));
715 
716  // iterate over tracks
717  for (size_t coll = 0; coll<trackCollection.size(); ++coll) {
718  uint32_t n_hits_barrel=0;
719  uint32_t n_hits_lowprob=0;
720  for(TrajTrackAssociationCollection::const_iterator it = TrajToTrackMap[coll].begin(); it!=TrajToTrackMap[coll].end(); ++it) {
721  reco::TrackRef itTrack = it->val;
722  edm::Ref<std::vector<Trajectory> > traj = it->key; // bug to find type of the key
723  eta_ = itTrack->eta();
724  phi_ = itTrack->phi();
725  try { // not all track collections have the dedx info... indeed at best one.
726  dedxNoM_ = dEdxTrack1[itTrack].numberOfMeasurements();
727  dedx1_ = dEdxTrack1[itTrack].dEdx();
728  dedx2_ = dEdxTrack2[itTrack].dEdx();
729  dedx3_ = dEdxTrack3[itTrack].dEdx();
730  } catch (...) {
731  dedxNoM_ = 0;
732  dedx1_ = 0.;
733  dedx2_ = 0.;
734  dedx3_ = 0.;
735  }
736  charge_ = itTrack->charge();
737  quality_ = itTrack->qualityMask();
738  foundhits_ = itTrack->found();
739  lostHits_ = itTrack->lost();
740  foundhitsStrips_ = itTrack->hitPattern().numberOfValidStripHits();
741  foundhitsPixels_ = itTrack->hitPattern().numberOfValidPixelHits();
742  losthitsStrips_ = itTrack->hitPattern().numberOfLostStripHits();
743  losthitsPixels_ = itTrack->hitPattern().numberOfLostPixelHits();
744  p_ = itTrack->p();
745  pt_ = itTrack->pt();
746  chi2_ = itTrack->chi2();
747  ndof_ = (uint32_t)itTrack->ndof();
748  dz_ = itTrack->dz();
749  dzerr_ = itTrack->dzError();
750  dzCorr_ = itTrack->dz(beamSpot);
751  dxy_ = itTrack->dxy();
752  dxyerr_ = itTrack->dxyError();
753  dxyCorr_ = itTrack->dxy(beamSpot);
754  pterr_ = itTrack->ptError();
755  etaerr_ = itTrack->etaError();
756  phierr_ = itTrack->phiError();
757  qoverp_ = itTrack->qoverp();
758  xPCA_ = itTrack->vertex().x();
759  yPCA_ = itTrack->vertex().y();
760  zPCA_ = itTrack->vertex().z();
761  nLayers_ = uint32_t(itTrack->hitPattern().trackerLayersWithMeasurement());
762  try { // only one track collection (at best) is connected to the main vertex
763  if(vertexColl.size()>0 && !vertexColl.begin()->isFake()) {
764  trkWeightpvtx_ = vertexColl.begin()->trackWeight(itTrack);
765  } else
766  trkWeightpvtx_ = 0.;
767  } catch (...) {
768  trkWeightpvtx_ = 0.;
769  }
770  globaltrackid_[coll]++;
771  std::map<size_t,int>::const_iterator theV = trackVertices[coll].find(itTrack.key());
772  vertexid_ = (theV!=trackVertices[coll].end()) ? theV->second : 0;
773  // add missing hits (separate tree, common strip + pixel)
774  Trajectory::DataContainer const & measurements = traj->measurements();
776  for(Trajectory::DataContainer::const_iterator it = measurements.begin(); it!=measurements.end(); ++it) {
777  TrajectoryMeasurement::ConstRecHitPointer rechit = it->recHit();
778  if(!rechit->isValid()) {
779  // detid
780  detid_ = rechit->geographicalId();
781  // status
782  type_ = rechit->getType();
783  // position
784  LocalPoint local = it->predictedState().localPosition();
785  clPositionX_ = local.x();
786  clPositionY_ = local.y();
787  // global position
788  GlobalPoint global = it->predictedState().globalPosition();
789  globalX_ = global.x();
790  globalY_ = global.y();
791  globalZ_ = global.z();
792  // position in the measurement frame
793  measX_ = 0;
794  measY_ = 0;
796  const GeomDetUnit* gdu = static_cast<const GeomDetUnit*>(tracker_->idToDetUnit(detid_));
797  if(gdu && gdu->type().isTracker()) {
798  const Topology& topo = gdu->topology();
799  MeasurementPoint meas = topo.measurementPosition(local);
800  measX_ = meas.x();
801  measY_ = meas.y();
802  }
803  }
804  // local error
805  LocalError error = it->predictedState().localError().positionError();
806  errorX_ = error.xx();
807  errorY_ = error.yy();
808  // fill
809  missingHits_[coll]->Fill();
810  }
811  }
812  }
813  // compute the fraction of low probability pixels... will be added to the event tree
814  for(trackingRecHit_iterator it = itTrack->recHitsBegin(); it!=itTrack->recHitsEnd(); ++it) {
815  const TrackingRecHit* hit = &(**it);
816  const SiPixelRecHit* pixhit = dynamic_cast<const SiPixelRecHit*>(hit);
817  if(pixhit) {
818  DetId detId = pixhit->geographicalId();
820  ++n_hits_barrel;
821  double proba = pixhit->clusterProbability(0);
822  if(proba<=0.0) ++n_hits_lowprob;
823  }
824  }
825  }
826  // fill the track tree
827  if(functionality_tracks_) tracks_[coll]->Fill();
828  }
829  lowPixelProbabilityFraction_[coll] = n_hits_barrel>0 ? (float)n_hits_lowprob/n_hits_barrel : -1.;
830  }
831 
832  // iterate over clusters
833  nclusters_ = 0;
834  std::vector<double>::const_iterator angleIt = clusterOntrackAngles.begin();
835  uint32_t localCounter = 0;
836  for (edmNew::DetSetVector<SiStripCluster>::const_iterator DSViter=clusters->begin(); DSViter!=clusters->end();DSViter++ ) {
839  uint32_t detid = DSViter->id();
840  nclusters_ += DSViter->size();
842  for(edmNew::DetSet<SiStripCluster>::const_iterator iter=begin;iter!=end;++iter,++angleIt,++localCounter) {
843  SiStripClusterInfo* siStripClusterInfo = new SiStripClusterInfo(*iter,iSetup,detid,std::string("")); //string = quality label
844  // general quantities
845  for(size_t i=0; i< trackLabel_.size(); ++i) {
846  trackid_[i] = stripClusterOntrackIndices[i][localCounter];
847  }
848  onTrack_ = (trackid_[0] != (uint32_t)-1);
849  clWidth_ = siStripClusterInfo->width();
850  clPosition_ = siStripClusterInfo->baryStrip();
851  angle_ = *angleIt;
852  thickness_ = ((((DSViter->id()>>25)&0x7f)==0xd) ||
853  ((((DSViter->id()>>25)&0x7f)==0xe) && (((DSViter->id()>>5)&0x7)>4))) ? 500 : 300;
854  stripLength_ = static_cast<const StripGeomDetUnit*>(tracker_->idToDet(detid))->specificTopology().stripLength();
855  int nstrips = static_cast<const StripGeomDetUnit*>(tracker_->idToDet(detid))->specificTopology().nstrips();
856  maxCharge_ = siStripClusterInfo->maxCharge();
857  // signal and noise with gain corrections
858  clNormalizedCharge_ = siStripClusterInfo->charge() ;
859  clNormalizedNoise_ = siStripClusterInfo->noiseRescaledByGain() ;
860  clSignalOverNoise_ = siStripClusterInfo->signalOverNoise() ;
861  // signal and noise with gain corrections and angle corrections
862  clCorrectedCharge_ = clNormalizedCharge_ * fabs(cos(angle_)); // corrected for track angle
863  clCorrectedSignalOverNoise_ = clSignalOverNoise_ * fabs(cos(angle_)); // corrected for track angle
864  // signal and noise without gain corrections
865  clBareNoise_ = siStripClusterInfo->noise();
867  // global position
868  const StripGeomDetUnit* sgdu = static_cast<const StripGeomDetUnit*>(tracker_->idToDet(detid));
870  globalX_ = gp.x();
871  globalY_ = gp.y();
872  globalZ_ = gp.z();
873  // cabling
874  detid_ = detid;
875  lldChannel_ = 1+(int(floor(iter->barycenter()))/256);
876  if(lldChannel_==2 && nstrips==512) lldChannel_=3;
878  delete siStripClusterInfo;
879  }
880  }
881  }
882 
883  // iterate over pixel clusters
884  npixClusters_ = 0;
885  std::vector<std::pair<double,double> >::const_iterator pixAngleIt = pixclusterOntrackAngles.begin();
886  localCounter = 0;
887  for (edmNew::DetSetVector<SiPixelCluster>::const_iterator DSViter=pixelclusters->begin(); DSViter!=pixelclusters->end();DSViter++ ) {
890  uint32_t detid = DSViter->id();
891  npixClusters_ += DSViter->size();
893  for(edmNew::DetSet<SiPixelCluster>::const_iterator iter=begin;iter!=end;++iter,++pixAngleIt,++localCounter) {
894  // general quantities
895  for(size_t i=0; i< trackLabel_.size(); ++i) {
896  trackid_[i] = pixelClusterOntrackIndices[i][localCounter];
897  }
898  onTrack_ = (trackid_[0] != (uint32_t)-1);
899  clPositionX_ = iter->x();
900  clPositionY_ = iter->y();
901  clSize_ = iter->size();
902  clSizeX_ = iter->sizeX();
903  clSizeY_ = iter->sizeY();
904  alpha_ = pixAngleIt->first;
905  beta_ = pixAngleIt->second;
906  charge_ = (iter->charge())/1000.;
907  chargeCorr_ = charge_ * sqrt( 1.0 / ( 1.0/pow( tan(alpha_), 2 ) + 1.0/pow( tan(beta_), 2 ) + 1.0 ))/1000.;
908  // global position
909  const PixelGeomDetUnit* pgdu = static_cast<const PixelGeomDetUnit*>(tracker_->idToDet(detid));
911  globalX_ = gp.x();
912  globalY_ = gp.y();
913  globalZ_ = gp.z();
914  // cabling
915  detid_ = detid;
916  // fill
917  pixclusters_->Fill();
918  }
919  }
920  }
921 
922  // topological quantities - uses the first track collection
923  EventShape shape(trackCollection[0]);
924  math::XYZTLorentzVectorF thrust = shape.thrust();
925  thrustValue_ = thrust.t();
926  thrustX_ = thrust.x();
927  thrustY_ = thrust.y();
928  thrustZ_ = thrust.z();
929  sphericity_ = shape.sphericity();
930  planarity_ = shape.planarity();
931  aplanarity_ = shape.aplanarity();
932 
933  // fill event tree
934  if(functionality_events_) event_->Fill();
935 
936 }
RunNumber_t run() const
Definition: EventID.h:42
uint8_t maxCharge() const
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
Definition: Surface.h:78
EventNumber_t event() const
Definition: EventID.h:44
std::vector< TTree * > tracks_
int i
Definition: DBlmapReader.cc:9
float xx() const
Definition: LocalError.h:24
std::vector< edm::InputTag > trackLabel_
boost::transform_iterator< IterHelp, const_IdIter > const_iterator
edm::InputTag pixelclusterLabel_
T y() const
Definition: PV2DBase.h:45
virtual LocalPoint localPosition(const MeasurementPoint &) const =0
std::vector< int > onTrack(edm::Handle< edmNew::DetSetVector< SiStripCluster > > &, const reco::TrackCollection &, uint32_t)
float noise() const
double sumPtSquared(const reco::Vertex &)
float noiseRescaledByGain() const
bool isTracker() const
Definition: GeomDetType.cc:35
float baryStrip() const
std::vector< Track > TrackCollection
collection of Tracks
Definition: TrackFwd.h:10
Timestamp const & time() const
T y() const
Definition: PV3DBase.h:62
std::vector< Vertex > VertexCollection
collection of Vertex objects
Definition: VertexFwd.h:9
data_type const * const_iterator
Definition: DetSetNew.h:25
edm::InputTag pixelVertexLabel_
virtual const StripTopology & specificTopology() const
Returns a reference to the strip proxy topology.
std::pair< double, double > Point
Definition: CaloEllipse.h:18
edm::ESHandle< TrackerGeometry > tracker_
int bunchCrossing() const
LuminosityBlockNumber_t luminosityBlock() const
virtual const Topology & topology() const =0
std::vector< bool > DecisionWordExtended
float signalOverNoise() const
Measurement2DPoint MeasurementPoint
Measurement points are two-dimensional by default.
std::vector< TrajectoryMeasurement > DataContainer
Definition: Trajectory.h:42
int storeNumber() const
uint16_t charge() const
edm::InputTag clusterLabel_
float yy() const
Definition: LocalError.h:26
int orbitNumber() const
std::vector< bool > DecisionWord
typedefs
T sqrt(T t)
Definition: SSEVec.h:46
T z() const
Definition: PV3DBase.h:63
Cos< T >::type cos(const T &t)
Definition: Cos.h:22
math::XYZPoint Point
uint16_t width() const
Tan< T >::type tan(const T &t)
Definition: Tan.h:22
std::vector< bool > TechnicalTriggerWord
technical trigger bits (64 bits)
virtual MeasurementPoint measurementPosition(const LocalPoint &) const =0
#define end
Definition: vmac.h:38
virtual const GeomDetType & type() const =0
std::vector< double > onTrackAngles(edm::Handle< edmNew::DetSetVector< SiStripCluster > > &, const std::vector< Trajectory > &)
int subdetId() const
get the contents of the subdetector field (not cast into any detector&#39;s numbering enum) ...
Definition: DetId.h:39
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
Definition: Event.h:356
EventAuxiliary const & eventAuxiliary() const
Definition: Event.h:56
TimeValue_t value() const
Definition: Timestamp.cc:72
Definition: DetId.h:20
JetCorrectorParametersCollection coll
Definition: classes.h:14
const T & get() const
Definition: EventSetup.h:55
virtual const PixelTopology & specificTopology() const
Returns a reference to the pixel proxy topology.
key_type key() const
Accessor for product key.
Definition: Ref.h:266
const DecisionWord & gtDecisionWord() const
get/set/print algorithms bits (decision word)
Definition: L1GtFdlWord.h:173
std::map< size_t, int > inVertex(const reco::TrackCollection &, const reco::VertexCollection &, uint32_t)
edm::InputTag vertexLabel_
edm::EventID id() const
Definition: EventBase.h:56
float delay(const SiStripEventSummary &)
#define begin
Definition: vmac.h:31
iterator end()
Definition: DetSetNew.h:59
const BoundPlane & surface() const
The nominal surface of the GeomDet.
Definition: GeomDet.h:35
std::vector< TTree * > missingHits_
virtual LocalPoint localPosition(float strip) const =0
ROOT::Math::LorentzVector< ROOT::Math::PxPyPzE4D< float > > XYZTLorentzVectorF
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:23
T x() const
Definition: PV2DBase.h:44
T x() const
Definition: PV3DBase.h:61
mathSSE::Vec4< T > v
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:40
Pixel Reconstructed Hit.
iterator begin()
Definition: DetSetNew.h:56
void TrackerDpgAnalysis::beginRun ( const edm::Run iRun,
const edm::EventSetup iSetup 
)
privatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 940 of file TrackerDpgAnalysis.cc.

References cabling_, cablingFileName_, ccuAdd_, ccuChan_, results_mgr::conn, connections_, gather_cfg::cout, dcuId_, delay(), delay_, delayFileNames_, detid_, fecCrate_, fecRing_, fecSlot_, fedCh_, fedId_, fiberLength_, TrackerMap::fill_current_val(), edm::EventSetup::get(), globalX_, globalY_, globalZ_, hlNames_, hltConfig_, HLTLabel_, i, HLTConfigProvider::init(), geometryCSVtoXML::line, lldChannel_, moduleId_, moduleName_, mergeVDriftHistosByStation::name, edm::InputTag::process(), psumap_, PSUname_, readoutmap_, TrackerMap::save(), GeomDet::surface(), Surface::toGlobal(), toStringId(), toStringName(), tracker_, HLTConfigProvider::triggerNames(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().

941 {
942 
943  //geometry
944  iSetup.get<TrackerDigiGeometryRecord>().get(tracker_);
945 
946  //HLT names
947  bool changed (true);
948  if (hltConfig_.init(iRun,iSetup,HLTLabel_.process(),changed)) {
949  if (changed) {
951  }
952  }
953  int i=0;
954  for(std::vector<std::string>::const_iterator it = hlNames_.begin(); it<hlNames_.end();++it) {
955  std::cout << (i++) << " = " << (*it) << std::endl;
956  }
957 
958  // read the delay offsets for each device from input files
959  // this is only for the so-called "random delay" run
960  std::map<uint32_t,float> delayMap = delay(delayFileNames_);
961  TrackerMap tmap("Delays");
962 
963  // cabling I (readout)
964  iSetup.get<SiStripFedCablingRcd>().get( cabling_ );
965  const std::vector< uint16_t > & feds = cabling_->feds() ;
966  for(std::vector< uint16_t >::const_iterator fedid = feds.begin();fedid<feds.end();++fedid) {
967  const std::vector< FedChannelConnection > & connections = cabling_->connections(*fedid);
968  for(std::vector< FedChannelConnection >::const_iterator conn=connections.begin();conn<connections.end();++conn) {
969  // Fill the "old" map to be used for lookup during analysis
970  if(conn->isConnected())
971  connections_.insert(std::make_pair(conn->detId(),new FedChannelConnection(*conn)));
972  // Fill the standalone tree (once for all)
973  if(conn->isConnected()) {
974  detid_ = conn->detId();
975  strncpy(moduleName_,toStringName(detid_).c_str(),256);
976  strncpy(moduleId_,toStringId(detid_).c_str(),256);
977  lldChannel_ = conn->lldChannel();
978  dcuId_ = conn->dcuId();
979  fecCrate_ = conn->fecCrate();
980  fecSlot_ = conn->fecSlot();
981  fecRing_ = conn->fecRing();
982  ccuAdd_ = conn->ccuAddr();
983  ccuChan_ = conn->ccuChan();
984  fedId_ = conn->fedId();
985  fedCh_ = conn->fedCh();
986  fiberLength_ = conn->fiberLength();
987  delay_ = delayMap[dcuId_];
988  const StripGeomDetUnit* sgdu = static_cast<const StripGeomDetUnit*>(tracker_->idToDet(detid_));
989  Surface::GlobalPoint gp = sgdu->surface().toGlobal(LocalPoint(0,0));
990  globalX_ = gp.x();
991  globalY_ = gp.y();
992  globalZ_ = gp.z();
993  readoutmap_->Fill();
994  tmap.fill_current_val(detid_,delay_);
995  }
996  }
997  }
998  if(delayMap.size()) tmap.save(true, 0, 0, "delaymap.png");
999 
1000  // cabling II (DCU map)
1001  ifstream cablingFile(cablingFileName_.c_str());
1002  if(cablingFile.is_open()) {
1003  char buffer[1024];
1004  cablingFile.getline(buffer,1024);
1005  while(!cablingFile.eof()) {
1006  std::istringstream line(buffer);
1007  std::string name;
1008  // one line contains the PSU name + all dcuids connected to it.
1009  line >> name;
1010  strncpy(PSUname_,name.c_str(),256);
1011  while(!line.eof()) {
1012  line >> dcuId_;
1013  psumap_->Fill();
1014  }
1015  cablingFile.getline(buffer,1024);
1016  }
1017  } else {
1018  edm::LogWarning("BadConfig") << " The PSU file does not exist. The psumap tree will not be filled."
1019  << std::endl << " Looking for " << cablingFileName_.c_str() << "."
1020  << std::endl << " Please specify a valid filename through the PSUFileName untracked parameter.";
1021  }
1022 }
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
Definition: Surface.h:78
int i
Definition: DBlmapReader.cc:9
std::string toStringName(uint32_t)
const std::vector< std::string > & triggerNames() const
names of trigger paths
T y() const
Definition: PV3DBase.h:62
std::string toStringId(uint32_t)
edm::ESHandle< TrackerGeometry > tracker_
std::vector< std::string > delayFileNames_
Class containning control, module, detector and connection information, at the level of a FED channel...
edm::ESHandle< SiStripFedCabling > cabling_
T z() const
Definition: PV3DBase.h:63
HLTConfigProvider hltConfig_
std::multimap< const uint32_t, const FedChannelConnection * > connections_
bool init(const edm::Run &iRun, const edm::EventSetup &iSetup, const std::string &processName, bool &changed)
d&#39;tor
const T & get() const
Definition: EventSetup.h:55
std::string const & process() const
Definition: InputTag.h:29
float delay(const SiStripEventSummary &)
const BoundPlane & surface() const
The nominal surface of the GeomDet.
Definition: GeomDet.h:35
Local3DPoint LocalPoint
Definition: LocalPoint.h:11
tuple cout
Definition: gather_cfg.py:121
T x() const
Definition: PV3DBase.h:61
tuple conn
Definition: results_mgr.py:53
std::vector< std::string > hlNames_
float TrackerDpgAnalysis::delay ( const SiStripEventSummary summary)
protected

Definition at line 1368 of file TrackerDpgAnalysis.cc.

References edmLumisInFiles::summary.

Referenced by analyze(), beginRun(), and delay().

1368  {
1369  float delay = const_cast<SiStripEventSummary&>(summary).ttcrx();
1370  uint32_t latencyCode = (const_cast<SiStripEventSummary&>(summary).layerScanned()>>24)&0xff;
1371  int latencyShift = latencyCode & 0x3f; // number of bunch crossings between current value and start of scan... must be positive
1372  if(latencyShift>32) latencyShift -=64; // allow negative values: we cover [-32,32].. should not be needed.
1373  if((latencyCode>>6)==2) latencyShift -= 3; // layer in deconv, rest in peak
1374  if((latencyCode>>6)==1) latencyShift += 3; // layer in peak, rest in deconv
1375  float correctedDelay = delay - (latencyShift*25.); // shifts the delay so that 0 corresponds to the current settings.
1376  return correctedDelay;
1377 }
float delay(const SiStripEventSummary &)
std::map< uint32_t, float > TrackerDpgAnalysis::delay ( const std::vector< std::string > &  files)
protected

Definition at line 1379 of file TrackerDpgAnalysis.cc.

References delay(), mergeVDriftHistosByStation::file, geometryCSVtoXML::line, and pos.

1379  {
1380  // prepare output
1381  uint32_t dcuid;
1382  float delay;
1383  std::map<uint32_t,float> delayMap;
1384  //iterator over input files
1385  for(std::vector<std::string>::const_iterator file=files.begin();file<files.end();++file){
1386  // open the file
1387  std::ifstream cablingFile(file->c_str());
1388  if(cablingFile.is_open()) {
1389  char buffer[1024];
1390  // read one line
1391  cablingFile.getline(buffer,1024);
1392  while(!cablingFile.eof()) {
1393  std::string line(buffer);
1394  size_t pos = line.find("dcuid");
1395  // one line containing dcuid
1396  if(pos != std::string::npos) {
1397  // decode dcuid
1398  std::string dcuids = line.substr(pos+7,line.find(" ",pos)-pos-8);
1399  std::istringstream dcuidstr(dcuids);
1400  dcuidstr >> std::hex >> dcuid;
1401  // decode delay
1402  pos = line.find("difpll");
1403  std::string diffs = line.substr(pos+8,line.find(" ",pos)-pos-9);
1404  std::istringstream diffstr(diffs);
1405  diffstr >> delay;
1406  // fill the map
1407  delayMap[dcuid] = delay;
1408  }
1409  // iterate
1410  cablingFile.getline(buffer,1024);
1411  }
1412  } else {
1413  edm::LogWarning("BadConfig") << " The delay file does not exist. The delay map will not be filled properly."
1414  << std::endl << " Looking for " << file->c_str() << "."
1415  << std::endl << " Please specify valid filenames through the DelayFileNames untracked parameter.";
1416  }
1417  }
1418  return delayMap;
1419 }
tuple files
Definition: linker.py:146
float delay(const SiStripEventSummary &)
void TrackerDpgAnalysis::endJob ( void  )
privatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 1026 of file TrackerDpgAnalysis.cc.

References event_, i, psumap_, readoutmap_, tracks_, and vertices_.

1026  {
1027  for(size_t i = 0; i<tracks_.size();++i) {
1028  char buffer[256];
1029  sprintf(buffer,"trackid%lu",(unsigned long)i);
1030  if(tracks_[i]->GetEntries()) tracks_[i]->BuildIndex(buffer,"eventid");
1031  }
1032  /* not needed: missing hits is a high-level quantity
1033  for(size_t i = 0; i<missingHits_.size();++i) {
1034  char buffer[256];
1035  sprintf(buffer,"trackid%lu",(unsigned long)i);
1036  if(missingHits_[i]->GetEntries()) missingHits_[i]->BuildIndex(buffer);
1037  }
1038  */
1039  if(vertices_->GetEntries()) vertices_->BuildIndex("vertexid","eventid");
1040  if(event_->GetEntries()) event_->BuildIndex("runid","eventid");
1041  if(psumap_->GetEntries()) psumap_->BuildIndex("dcuId");
1042  if(readoutmap_->GetEntries()) readoutmap_->BuildIndex("detid","lldChannel");
1043 }
std::vector< TTree * > tracks_
int i
Definition: DBlmapReader.cc:9
void TrackerDpgAnalysis::insertMeasurement ( std::multimap< const uint32_t, std::pair< LocalPoint, double > > &  collection,
const TransientTrackingRecHit hit,
double  tla 
)
protected

Definition at line 1080 of file TrackerDpgAnalysis.cc.

References runEdmFileComparison::collection.

Referenced by insertMeasurement(), onTrack(), and onTrackAngles().

1081 {
1082  if(!hit) return;
1083  const TSiTrackerMultiRecHit* multihit=dynamic_cast<const TSiTrackerMultiRecHit*>(hit);
1084  const TSiStripRecHit2DLocalPos* singlehit=dynamic_cast<const TSiStripRecHit2DLocalPos*>(hit);
1085  const TSiStripRecHit1D* hit1d=dynamic_cast<const TSiStripRecHit1D*>(hit);
1086  if(hit1d) { //...->33X
1087  collection.insert(std::make_pair(hit1d->geographicalId().rawId(),std::make_pair(hit1d->localPosition(),tla)));
1088  } else if(singlehit) { // 41X->...
1089  collection.insert(std::make_pair(singlehit->geographicalId().rawId(),std::make_pair(singlehit->localPosition(),tla)));
1090  }
1091  else if(multihit){
1092  std::vector< const TrackingRecHit * > childs = multihit->recHits();
1093  for(std::vector<const TrackingRecHit*>::const_iterator it=childs.begin();it!=childs.end();++it) {
1094  insertMeasurement(collection,dynamic_cast<const TransientTrackingRecHit*>(*it),tla);
1095  }
1096  }
1097 }
void insertMeasurement(std::multimap< const uint32_t, std::pair< LocalPoint, double > > &, const TransientTrackingRecHit *, double)
void TrackerDpgAnalysis::insertMeasurement ( std::multimap< const uint32_t, std::pair< int, int > > &  collection,
const TrackingRecHit hit,
int  trackid 
)
protected

Definition at line 1133 of file TrackerDpgAnalysis.cc.

References runEdmFileComparison::collection, insertMeasurement(), and SiTrackerMultiRecHit::recHits().

1134 {
1135  if(!hit) return;
1136  const SiTrackerMultiRecHit* multihit=dynamic_cast<const SiTrackerMultiRecHit*>(hit);
1137  const SiStripRecHit2D* singlehit=dynamic_cast<const SiStripRecHit2D*>(hit);
1138  const SiStripRecHit1D* hit1d=dynamic_cast<const SiStripRecHit1D*>(hit);
1139  if(hit1d) { // 41X->...
1140  collection.insert(std::make_pair(hit1d->geographicalId().rawId(),std::make_pair(int(hit1d->cluster()->barycenter()),trackid)));
1141  } else if(singlehit) { //...->33X
1142  collection.insert(std::make_pair(singlehit->geographicalId().rawId(),std::make_pair(int(singlehit->cluster()->barycenter()),trackid)));
1143  }
1144  else if(multihit){
1145  std::vector< const TrackingRecHit * > childs = multihit->recHits();
1146  for(std::vector<const TrackingRecHit*>::const_iterator it=childs.begin();it!=childs.end();++it) {
1147  insertMeasurement(collection,*it,trackid);
1148  }
1149  }
1150 }
virtual std::vector< const TrackingRecHit * > recHits() const
Access to component RecHits (if any)
void insertMeasurement(std::multimap< const uint32_t, std::pair< LocalPoint, double > > &, const TransientTrackingRecHit *, double)
void TrackerDpgAnalysis::insertMeasurement ( std::multimap< const uint32_t, std::pair< LocalPoint, std::pair< double, double > > > &  collection,
const TransientTrackingRecHit hit,
double  alpha,
double  beta 
)
protected

Definition at line 1208 of file TrackerDpgAnalysis.cc.

References runEdmFileComparison::collection.

1209 {
1210  if(!hit) return;
1211  const TSiPixelRecHit* pixhit = dynamic_cast<const TSiPixelRecHit*>(hit);
1212  if(pixhit) {
1213  collection.insert(std::make_pair(pixhit->geographicalId().rawId(),std::make_pair(pixhit->localPosition(),std::make_pair(alpha,beta))));
1214  }
1215 }
const double beta
float alpha
Definition: AMPTWrapper.h:95
void TrackerDpgAnalysis::insertMeasurement ( std::multimap< const uint32_t, std::pair< std::pair< float, float >, int > > &  collection,
const TrackingRecHit hit,
int  trackid 
)
protected

Definition at line 1251 of file TrackerDpgAnalysis.cc.

References runEdmFileComparison::collection.

1252 {
1253  if(!hit) return;
1254  const SiPixelRecHit* pixhit = dynamic_cast<const SiPixelRecHit*>(hit);
1255  if(pixhit) {
1256  collection.insert(std::make_pair(pixhit->geographicalId().rawId(),std::make_pair(std::make_pair(pixhit->cluster()->x(),pixhit->cluster()->y()),trackid)));
1257  }
1258 }
Pixel Reconstructed Hit.
std::map< size_t, int > TrackerDpgAnalysis::inVertex ( const reco::TrackCollection tracks,
const reco::VertexCollection vertices,
uint32_t  firstVertex 
)
protected

Definition at line 1152 of file TrackerDpgAnalysis.cc.

References convertSQLitetoXML_cfg::output, and v.

Referenced by analyze().

1153 {
1154  // build reverse map track -> vertex
1155  std::map<size_t,int> output;
1156  uint32_t vertexid = firstVertex;
1157  for(reco::VertexCollection::const_iterator v = vertices.begin(); v!=vertices.end(); ++v,++vertexid) {
1158  reco::Vertex::trackRef_iterator it = v->tracks_begin();
1159  reco::Vertex::trackRef_iterator lastTrack = v->tracks_end();
1160  for(;it!=lastTrack;++it) {
1161  output[it->key()] = vertexid;
1162  }
1163  }
1164  return output;
1165 }
std::vector< TrackBaseRef >::const_iterator trackRef_iterator
The iteratator for the vector&lt;TrackRef&gt;
Definition: Vertex.h:38
mathSSE::Vec4< T > v
std::vector< int > TrackerDpgAnalysis::onTrack ( edm::Handle< edmNew::DetSetVector< SiStripCluster > > &  clusters,
const reco::TrackCollection trackVec,
uint32_t  firstTrack 
)
protected

Definition at line 1099 of file TrackerDpgAnalysis.cc.

References begin, cl, end, insertMeasurement(), and query::result.

Referenced by analyze().

1101 {
1102  std::vector<int> result;
1103  // first, build a list of positions and trackid on tracks
1104  std::multimap<const uint32_t,std::pair<int,int> > onTrackPositions;
1105  uint32_t trackid = firstTrack;
1106  for(reco::TrackCollection::const_iterator itTrack = trackVec.begin(); itTrack!=trackVec.end();++itTrack,++trackid) {
1107  for(trackingRecHit_iterator it = itTrack->recHitsBegin(); it!=itTrack->recHitsEnd(); ++it) {
1108  const TrackingRecHit* hit = &(**it);
1109  insertMeasurement(onTrackPositions,hit,trackid);
1110  }
1111  }
1112  // then loop over the clusters to check
1113  int thetrackid = -1;
1114  for (edmNew::DetSetVector<SiStripCluster>::const_iterator DSViter=clusters->begin(); DSViter!=clusters->end();DSViter++ ) {
1117  std::pair< std::multimap<uint32_t,std::pair<int,int> >::const_iterator,
1118  std::multimap<uint32_t,std::pair<int,int> >::const_iterator> range =
1119  onTrackPositions.equal_range(DSViter->id());
1120  for(edmNew::DetSet<SiStripCluster>::const_iterator iter=begin;iter!=end;++iter) {
1121  thetrackid = -1;
1122  for(std::multimap<uint32_t,std::pair<int,int> >::const_iterator cl = range.first; cl!= range.second; ++cl) {
1123  if(fabs(cl->second.first-iter->barycenter())<2) {
1124  thetrackid = cl->second.second;
1125  }
1126  }
1127  result.push_back(thetrackid);
1128  }
1129  }
1130  return result;
1131 }
boost::transform_iterator< IterHelp, const_IdIter > const_iterator
data_type const * const_iterator
Definition: DetSetNew.h:25
tuple result
Definition: query.py:137
#define end
Definition: vmac.h:38
float cl
Definition: Combine.cc:71
void insertMeasurement(std::multimap< const uint32_t, std::pair< LocalPoint, double > > &, const TransientTrackingRecHit *, double)
#define begin
Definition: vmac.h:31
std::vector< int > TrackerDpgAnalysis::onTrack ( edm::Handle< edmNew::DetSetVector< SiPixelCluster > > &  clusters,
const reco::TrackCollection trackVec,
uint32_t  firstTrack 
)
protected

Definition at line 1217 of file TrackerDpgAnalysis.cc.

References begin, cl, end, insertMeasurement(), and query::result.

1219 {
1220  std::vector<int> result;
1221  // first, build a list of positions and trackid on tracks
1222  std::multimap<const uint32_t,std::pair<std::pair<float, float>,int> > onTrackPositions;
1223  uint32_t trackid = firstTrack;
1224  for(reco::TrackCollection::const_iterator itTrack = trackVec.begin(); itTrack!=trackVec.end();++itTrack,++trackid) {
1225  for(trackingRecHit_iterator it = itTrack->recHitsBegin(); it!=itTrack->recHitsEnd(); ++it) {
1226  const TrackingRecHit* hit = &(**it);
1227  insertMeasurement(onTrackPositions,hit,trackid);
1228  }
1229  }
1230  // then loop over the clusters to check
1231  int thetrackid = -1;
1232  for (edmNew::DetSetVector<SiPixelCluster>::const_iterator DSViter=clusters->begin(); DSViter!=clusters->end();DSViter++ ) {
1235  for(edmNew::DetSet<SiPixelCluster>::const_iterator iter=begin;iter!=end;++iter) {
1236  thetrackid = -1;
1237  std::pair< std::multimap<uint32_t,std::pair<std::pair<float, float>,int> >::const_iterator,
1238  std::multimap<uint32_t,std::pair<std::pair<float, float>,int> >::const_iterator> range =
1239  onTrackPositions.equal_range(DSViter->id());
1240  for(std::multimap<uint32_t,std::pair<std::pair<float, float>,int> >::const_iterator cl = range.first; cl!= range.second; ++cl) {
1241  if((fabs(cl->second.first.first-iter->x())<2)&&(fabs(cl->second.first.second-iter->y())<2)) {
1242  thetrackid = cl->second.second;
1243  }
1244  }
1245  result.push_back(thetrackid);
1246  }
1247  }
1248  return result;
1249 }
boost::transform_iterator< IterHelp, const_IdIter > const_iterator
data_type const * const_iterator
Definition: DetSetNew.h:25
tuple result
Definition: query.py:137
#define end
Definition: vmac.h:38
float cl
Definition: Combine.cc:71
void insertMeasurement(std::multimap< const uint32_t, std::pair< LocalPoint, double > > &, const TransientTrackingRecHit *, double)
#define begin
Definition: vmac.h:31
std::vector< double > TrackerDpgAnalysis::onTrackAngles ( edm::Handle< edmNew::DetSetVector< SiStripCluster > > &  clusters,
const std::vector< Trajectory > &  trajVec 
)
protected

Definition at line 1045 of file TrackerDpgAnalysis.cc.

References angle(), begin, cl, end, insertMeasurement(), Topology::measurementPosition(), query::result, GeomDetUnit::topology(), tracker_, and PV2DBase< T, PVType, FrameType >::x().

Referenced by analyze().

1047 {
1048  std::vector<double> result;
1049  // first, build a list of positions and angles on trajectories
1050  std::multimap<const uint32_t,std::pair<LocalPoint,double> > onTrackPositions;
1051  for(std::vector<Trajectory>::const_iterator traj = trajVec.begin(); traj< trajVec.end(); ++traj) {
1052  Trajectory::DataContainer measurements = traj->measurements();
1053  for(Trajectory::DataContainer::iterator meas = measurements.begin(); meas!= measurements.end(); ++meas) {
1054  double tla = meas->updatedState().localDirection().theta();
1055  insertMeasurement(onTrackPositions,&(*(meas->recHit())),tla);
1056  }
1057  }
1058  // then loop over the clusters to check
1059  double angle = 0.;
1060  for (edmNew::DetSetVector<SiStripCluster>::const_iterator DSViter=clusters->begin(); DSViter!=clusters->end();DSViter++ ) {
1063  std::pair< std::multimap<uint32_t,std::pair<LocalPoint,double> >::const_iterator,
1064  std::multimap<uint32_t,std::pair<LocalPoint,double> >::const_iterator> range =
1065  onTrackPositions.equal_range(DSViter->id());
1066  const GeomDetUnit* gdu = static_cast<const GeomDetUnit*>(tracker_->idToDet(DSViter->id()));
1067  for(edmNew::DetSet<SiStripCluster>::const_iterator iter=begin;iter!=end;++iter) {
1068  angle = 0.;
1069  for(std::multimap<uint32_t,std::pair<LocalPoint,double> >::const_iterator cl = range.first; cl!= range.second; ++cl) {
1070  if(fabs(gdu->topology().measurementPosition(cl->second.first).x()-iter->barycenter())<2) {
1071  angle = cl->second.second;
1072  }
1073  }
1074  result.push_back(angle);
1075  }
1076  }
1077  return result;
1078 }
boost::transform_iterator< IterHelp, const_IdIter > const_iterator
data_type const * const_iterator
Definition: DetSetNew.h:25
edm::ESHandle< TrackerGeometry > tracker_
virtual const Topology & topology() const =0
std::vector< TrajectoryMeasurement > DataContainer
Definition: Trajectory.h:42
tuple result
Definition: query.py:137
virtual MeasurementPoint measurementPosition(const LocalPoint &) const =0
#define end
Definition: vmac.h:38
float cl
Definition: Combine.cc:71
void insertMeasurement(std::multimap< const uint32_t, std::pair< LocalPoint, double > > &, const TransientTrackingRecHit *, double)
#define begin
Definition: vmac.h:31
T x() const
Definition: PV2DBase.h:44
T angle(T x1, T y1, T z1, T x2, T y2, T z2)
Definition: angle.h:11
std::vector< std::pair< double, double > > TrackerDpgAnalysis::onTrackAngles ( edm::Handle< edmNew::DetSetVector< SiPixelCluster > > &  clusters,
const std::vector< Trajectory > &  trajVec 
)
protected

Definition at line 1167 of file TrackerDpgAnalysis.cc.

References alpha, begin, beta, cl, end, insertMeasurement(), Topology::measurementPosition(), query::result, GeomDetUnit::topology(), tracker_, PV2DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::x(), PV2DBase< T, PVType, FrameType >::y(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().

1169 {
1170  std::vector<std::pair<double,double> > result;
1171  // first, build a list of positions and angles on trajectories
1172  std::multimap<const uint32_t,std::pair<LocalPoint,std::pair<double,double> > > onTrackPositions;
1173  for(std::vector<Trajectory>::const_iterator traj = trajVec.begin(); traj< trajVec.end(); ++traj) {
1174  Trajectory::DataContainer measurements = traj->measurements();
1175  for(Trajectory::DataContainer::iterator meas = measurements.begin(); meas!= measurements.end(); ++meas) {
1176  LocalVector localDir = meas->updatedState().localDirection();
1177  double alpha = atan2(localDir.z(), localDir.x());
1178  double beta = atan2(localDir.z(), localDir.y());
1179  insertMeasurement(onTrackPositions,&(*(meas->recHit())),alpha,beta);
1180  }
1181  }
1182  // then loop over the clusters to check
1183  double alpha = 0.;
1184  double beta = 0.;
1185  for (edmNew::DetSetVector<SiPixelCluster>::const_iterator DSViter=clusters->begin(); DSViter!=clusters->end();DSViter++ ) {
1188  for(edmNew::DetSet<SiPixelCluster>::const_iterator iter=begin;iter!=end;++iter) {
1189  alpha = 0.;
1190  beta = 0.;
1191  std::pair< std::multimap<uint32_t,std::pair<LocalPoint,std::pair<double, double> > >::const_iterator,
1192  std::multimap<uint32_t,std::pair<LocalPoint,std::pair<double, double> > >::const_iterator> range =
1193  onTrackPositions.equal_range(DSViter->id());
1194  const GeomDetUnit* gdu = static_cast<const GeomDetUnit*>(tracker_->idToDet(DSViter->id()));
1195  for(std::multimap<uint32_t,std::pair<LocalPoint,std::pair<double, double> > >::const_iterator cl = range.first; cl!= range.second; ++cl) {
1196  if(fabs(gdu->topology().measurementPosition(cl->second.first).x()-iter->x())<2 &&
1197  fabs(gdu->topology().measurementPosition(cl->second.first).y()-iter->y())<2 ) {
1198  alpha = cl->second.second.first;
1199  beta = cl->second.second.second;
1200  }
1201  }
1202  result.push_back(std::make_pair(alpha,beta));
1203  }
1204  }
1205  return result;
1206 }
const double beta
float alpha
Definition: AMPTWrapper.h:95
boost::transform_iterator< IterHelp, const_IdIter > const_iterator
T y() const
Definition: PV2DBase.h:45
T y() const
Definition: PV3DBase.h:62
data_type const * const_iterator
Definition: DetSetNew.h:25
edm::ESHandle< TrackerGeometry > tracker_
virtual const Topology & topology() const =0
std::vector< TrajectoryMeasurement > DataContainer
Definition: Trajectory.h:42
T z() const
Definition: PV3DBase.h:63
tuple result
Definition: query.py:137
virtual MeasurementPoint measurementPosition(const LocalPoint &) const =0
#define end
Definition: vmac.h:38
float cl
Definition: Combine.cc:71
void insertMeasurement(std::multimap< const uint32_t, std::pair< LocalPoint, double > > &, const TransientTrackingRecHit *, double)
#define begin
Definition: vmac.h:31
T x() const
Definition: PV2DBase.h:44
T x() const
Definition: PV3DBase.h:61
double TrackerDpgAnalysis::sumPtSquared ( const reco::Vertex v)
protected

Definition at line 1358 of file TrackerDpgAnalysis.cc.

References reco::Vertex::tracks_begin(), and reco::Vertex::tracks_end().

Referenced by analyze().

1358  {
1359  double sum = 0.;
1360  double pT;
1361  for (reco::Vertex::trackRef_iterator it = v.tracks_begin(); it != v.tracks_end(); it++) {
1362  pT = (**it).pt();
1363  sum += pT*pT;
1364  }
1365  return sum;
1366 }
trackRef_iterator tracks_end() const
last iterator over tracks
Definition: Vertex.cc:45
std::vector< TrackBaseRef >::const_iterator trackRef_iterator
The iteratator for the vector&lt;TrackRef&gt;
Definition: Vertex.h:38
trackRef_iterator tracks_begin() const
first iterator over tracks
Definition: Vertex.cc:40
std::string TrackerDpgAnalysis::toStringId ( uint32_t  rawid)
protected

Definition at line 1350 of file TrackerDpgAnalysis.cc.

References dbtoconf::out, and convertSQLitetoXML_cfg::output.

Referenced by beginRun().

1350  {
1351  std::string out;
1352  std::stringstream output;
1353  output << rawid << " (0x" << std::hex << rawid << std::dec << ")";
1354  out = output.str();
1355  return out;
1356 }
tuple out
Definition: dbtoconf.py:99
std::string TrackerDpgAnalysis::toStringName ( uint32_t  rawid)
protected

Definition at line 1260 of file TrackerDpgAnalysis.cc.

References cond::rpcobgas::detid, TIDDetId::diskNumber(), TOBDetId::isDoubleSide(), TIBDetId::isDoubleSide(), TIDDetId::isDoubleSide(), TECDetId::isDoubleSide(), TIBDetId::isExternalString(), TECDetId::isFrontPetal(), TIDDetId::isFrontRing(), TOBDetId::isRPhi(), TIBDetId::isRPhi(), TIDDetId::isRPhi(), TECDetId::isRPhi(), TOBDetId::isZPlusSide(), TIBDetId::isZPlusSide(), TIDDetId::isZPlusSide(), TECDetId::isZPlusSide(), TOBDetId::layerNumber(), TIBDetId::layerNumber(), TOBDetId::moduleNumber(), TIBDetId::moduleNumber(), TIDDetId::moduleNumber(), TECDetId::moduleNumber(), dbtoconf::out, convertSQLitetoXML_cfg::output, TECDetId::petalNumber(), TIDDetId::ringNumber(), TECDetId::ringNumber(), TOBDetId::rodNumber(), TIBDetId::stringNumber(), SiStripDetId::subDetector(), and TECDetId::wheelNumber().

Referenced by beginRun().

1260  {
1261  SiStripDetId detid(rawid);
1262  std::string out;
1263  std::stringstream output;
1264  switch(detid.subDetector()) {
1265  case 3:
1266  {
1267  output << "TIB";
1268  TIBDetId tib(rawid);
1269  output << (tib.isZPlusSide() ? "+" : "-");
1270  output << " layer ";
1271  output << tib.layerNumber();
1272  output << ", string ";
1273  output << tib.stringNumber();
1274  output << (tib.isExternalString() ? " external" : " internal");
1275  output << ", module ";
1276  output << tib.moduleNumber();
1277  if(tib.isDoubleSide()) {
1278  output << " (double)";
1279  } else {
1280  output << (tib.isRPhi() ? " (rphi)" : " (stereo)");
1281  }
1282  break;
1283  }
1284  case 4:
1285  {
1286  output << "TID";
1287  TIDDetId tid(rawid);
1288  output << (tid.isZPlusSide() ? "+" : "-");
1289  output << " disk ";
1290  output << tid.diskNumber();
1291  output << ", ring ";
1292  output << tid.ringNumber();
1293  output << (tid.isFrontRing() ? " front" : " back");
1294  output << ", module ";
1295  output << tid.moduleNumber();
1296  if(tid.isDoubleSide()) {
1297  output << " (double)";
1298  } else {
1299  output << (tid.isRPhi() ? " (rphi)" : " (stereo)");
1300  }
1301  break;
1302  }
1303  case 5:
1304  {
1305  output << "TOB";
1306  TOBDetId tob(rawid);
1307  output << (tob.isZPlusSide() ? "+" : "-");
1308  output << " layer ";
1309  output << tob.layerNumber();
1310  output << ", rod ";
1311  output << tob.rodNumber();
1312  output << ", module ";
1313  output << tob.moduleNumber();
1314  if(tob.isDoubleSide()) {
1315  output << " (double)";
1316  } else {
1317  output << (tob.isRPhi() ? " (rphi)" : " (stereo)");
1318  }
1319  break;
1320  }
1321  case 6:
1322  {
1323  output << "TEC";
1324  TECDetId tec(rawid);
1325  output << (tec.isZPlusSide() ? "+" : "-");
1326  output << " disk ";
1327  output << tec.wheelNumber();
1328  output << " sector ";
1329  output << tec.petalNumber();
1330  output << (tec.isFrontPetal() ? " Front Petal" : " Back Petal");
1331  output << ", module ";
1332  output << tec.ringNumber();
1333  output << tec.moduleNumber();
1334  if(tec.isDoubleSide()) {
1335  output << " (double)";
1336  } else {
1337  output << (tec.isRPhi() ? " (rphi)" : " (stereo)");
1338  }
1339  break;
1340  }
1341  default:
1342  {
1343  output << "UNKNOWN";
1344  }
1345  }
1346  out = output.str();
1347  return out;
1348 }
tuple out
Definition: dbtoconf.py:99
Detector identifier class for the strip tracker.
Definition: SiStripDetId.h:17

Member Data Documentation

float TrackerDpgAnalysis::alpha_
private

Definition at line 177 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::angle_
private

Definition at line 162 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::aplanarity_
private

Definition at line 186 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::beta_
private

Definition at line 177 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::bsDxdz_
private

Definition at line 185 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::bsDydz_
private

Definition at line 185 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

edm::InputTag TrackerDpgAnalysis::bsLabel_
private

Definition at line 139 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::bsSigmaZ_
private

Definition at line 185 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::bsX0_
private

Definition at line 185 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::bsY0_
private

Definition at line 185 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::bsZ0_
private

Definition at line 185 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

uint32_t TrackerDpgAnalysis::bx_
private

Definition at line 188 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

edm::ESHandle<SiStripFedCabling> TrackerDpgAnalysis::cabling_
private

Definition at line 142 of file TrackerDpgAnalysis.cc.

Referenced by beginRun().

std::string TrackerDpgAnalysis::cablingFileName_
private

Definition at line 191 of file TrackerDpgAnalysis.cc.

Referenced by beginRun(), and TrackerDpgAnalysis().

uint16_t TrackerDpgAnalysis::ccuAdd_
private

Definition at line 170 of file TrackerDpgAnalysis.cc.

Referenced by beginRun(), and TrackerDpgAnalysis().

uint16_t TrackerDpgAnalysis::ccuChan_
private

Definition at line 170 of file TrackerDpgAnalysis.cc.

Referenced by beginRun(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::charge_
private

Definition at line 184 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::chargeCorr_
private

Definition at line 177 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::chi2_
private

Definition at line 167 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::clBareCharge_
private

Definition at line 165 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::clBareNoise_
private

Definition at line 165 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::clCorrectedCharge_
private

Definition at line 163 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::clCorrectedSignalOverNoise_
private

Definition at line 163 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::clNormalizedCharge_
private

Definition at line 164 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::clNormalizedNoise_
private

Definition at line 164 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::clPosition_
private

Definition at line 166 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::clPositionX_
private

Definition at line 177 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::clPositionY_
private

Definition at line 177 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::clSignalOverNoise_
private

Definition at line 164 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

uint32_t TrackerDpgAnalysis::clSize_
private

Definition at line 176 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

uint32_t TrackerDpgAnalysis::clSizeX_
private

Definition at line 176 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

uint32_t TrackerDpgAnalysis::clSizeY_
private

Definition at line 176 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

edm::InputTag TrackerDpgAnalysis::clusterLabel_
private

Definition at line 139 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

TTree* TrackerDpgAnalysis::clusters_
private

Definition at line 147 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::clWidth_
private

Definition at line 166 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

std::multimap<const uint32_t,const FedChannelConnection*> TrackerDpgAnalysis::connections_
private

Definition at line 144 of file TrackerDpgAnalysis.cc.

Referenced by beginRun().

uint32_t TrackerDpgAnalysis::dcuId_
private

Definition at line 169 of file TrackerDpgAnalysis.cc.

Referenced by beginRun(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::dedx1_
private

Definition at line 168 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

edm::InputTag TrackerDpgAnalysis::dedx1Label_
private

Definition at line 139 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::dedx2_
private

Definition at line 168 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

edm::InputTag TrackerDpgAnalysis::dedx2Label_
private

Definition at line 139 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::dedx3_
private

Definition at line 168 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

edm::InputTag TrackerDpgAnalysis::dedx3Label_
private

Definition at line 139 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

uint32_t TrackerDpgAnalysis::dedxNoM_
private

Definition at line 171 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::delay_
private

Definition at line 186 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), beginRun(), and TrackerDpgAnalysis().

std::vector<std::string> TrackerDpgAnalysis::delayFileNames_
private

Definition at line 192 of file TrackerDpgAnalysis.cc.

Referenced by beginRun(), and TrackerDpgAnalysis().

uint32_t TrackerDpgAnalysis::detid_
private

Definition at line 169 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), beginRun(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::distance_
private

Definition at line 166 of file TrackerDpgAnalysis.cc.

float TrackerDpgAnalysis::dxy_
private

Definition at line 181 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::dxyCorr_
private

Definition at line 181 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::dxyerr_
private

Definition at line 181 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::dz_
private

Definition at line 181 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::dzCorr_
private

Definition at line 181 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::dzerr_
private

Definition at line 181 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::errorX_
private

Definition at line 161 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::errorY_
private

Definition at line 161 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::eta_
private

Definition at line 167 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::etaerr_
private

Definition at line 180 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

TTree* TrackerDpgAnalysis::event_
private

Definition at line 153 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), endJob(), and TrackerDpgAnalysis().

uint32_t TrackerDpgAnalysis::eventid_
private

Definition at line 157 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::fBz_
private

Definition at line 177 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

uint16_t TrackerDpgAnalysis::fecCrate_
private

Definition at line 170 of file TrackerDpgAnalysis.cc.

Referenced by beginRun(), and TrackerDpgAnalysis().

uint16_t TrackerDpgAnalysis::fecRing_
private

Definition at line 170 of file TrackerDpgAnalysis.cc.

Referenced by beginRun(), and TrackerDpgAnalysis().

uint16_t TrackerDpgAnalysis::fecSlot_
private

Definition at line 170 of file TrackerDpgAnalysis.cc.

Referenced by beginRun(), and TrackerDpgAnalysis().

uint16_t TrackerDpgAnalysis::fedCh_
private

Definition at line 170 of file TrackerDpgAnalysis.cc.

Referenced by beginRun(), and TrackerDpgAnalysis().

uint16_t TrackerDpgAnalysis::fedId_
private

Definition at line 170 of file TrackerDpgAnalysis.cc.

Referenced by beginRun(), and TrackerDpgAnalysis().

uint16_t TrackerDpgAnalysis::fiberLength_
private

Definition at line 170 of file TrackerDpgAnalysis.cc.

Referenced by beginRun(), and TrackerDpgAnalysis().

uint32_t TrackerDpgAnalysis::foundhits_
private

Definition at line 171 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

uint32_t TrackerDpgAnalysis::foundhitsPixels_
private

Definition at line 174 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

uint32_t TrackerDpgAnalysis::foundhitsStrips_
private

Definition at line 174 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

bool TrackerDpgAnalysis::functionality_events_
private

Definition at line 145 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

bool TrackerDpgAnalysis::functionality_missingHits_
private

Definition at line 145 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

bool TrackerDpgAnalysis::functionality_offtrackClusters_
private

Definition at line 145 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

bool TrackerDpgAnalysis::functionality_ontrackClusters_
private

Definition at line 145 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

bool TrackerDpgAnalysis::functionality_pixclusters_
private

Definition at line 145 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

bool TrackerDpgAnalysis::functionality_pixvertices_
private

Definition at line 145 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

bool TrackerDpgAnalysis::functionality_tracks_
private

Definition at line 145 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

bool TrackerDpgAnalysis::functionality_vertices_
private

Definition at line 145 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

uint32_t* TrackerDpgAnalysis::globaltrackid_
private

Definition at line 159 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

uint32_t TrackerDpgAnalysis::globalvertexid_
private

Definition at line 158 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::globalX_
private

Definition at line 160 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), beginRun(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::globalY_
private

Definition at line 160 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), beginRun(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::globalZ_
private

Definition at line 160 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), beginRun(), and TrackerDpgAnalysis().

std::vector<std::string> TrackerDpgAnalysis::hlNames_
private

Definition at line 194 of file TrackerDpgAnalysis.cc.

Referenced by beginRun().

HLTConfigProvider TrackerDpgAnalysis::hltConfig_
private

Definition at line 195 of file TrackerDpgAnalysis.cc.

Referenced by beginRun().

bool TrackerDpgAnalysis::HLTDecisionBits_[256]
private

Definition at line 187 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

edm::InputTag TrackerDpgAnalysis::HLTLabel_
private

Definition at line 139 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), beginRun(), and TrackerDpgAnalysis().

bool TrackerDpgAnalysis::isFake_pvtx_
private

Definition at line 183 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

bool TrackerDpgAnalysis::isValid_pvtx_
private

Definition at line 183 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

bool TrackerDpgAnalysis::L1DecisionBits_[192]
private

Definition at line 187 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

edm::InputTag TrackerDpgAnalysis::L1Label_
private

Definition at line 139 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

bool TrackerDpgAnalysis::L1TechnicalBits_[64]
private

Definition at line 187 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

uint16_t TrackerDpgAnalysis::lldChannel_
private

Definition at line 170 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), beginRun(), and TrackerDpgAnalysis().

uint32_t TrackerDpgAnalysis::lostHits_
private

Definition at line 171 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

uint32_t TrackerDpgAnalysis::losthitsPixels_
private

Definition at line 174 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

uint32_t TrackerDpgAnalysis::losthitsStrips_
private

Definition at line 174 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

float* TrackerDpgAnalysis::lowPixelProbabilityFraction_
private

Definition at line 173 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

uint16_t TrackerDpgAnalysis::lumiSegment_
private

Definition at line 189 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::maxCharge_
private

Definition at line 162 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::measX_
private

Definition at line 161 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::measY_
private

Definition at line 161 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

std::vector<TTree*> TrackerDpgAnalysis::missingHits_
private

Definition at line 150 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

char * TrackerDpgAnalysis::moduleId_
private

Definition at line 190 of file TrackerDpgAnalysis.cc.

Referenced by beginRun(), TrackerDpgAnalysis(), and ~TrackerDpgAnalysis().

char* TrackerDpgAnalysis::moduleName_
private

Definition at line 190 of file TrackerDpgAnalysis.cc.

Referenced by beginRun(), TrackerDpgAnalysis(), and ~TrackerDpgAnalysis().

uint32_t TrackerDpgAnalysis::nclusters_
private

Definition at line 171 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

uint32_t TrackerDpgAnalysis::nclustersOntrack_
private

Definition at line 171 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

uint32_t TrackerDpgAnalysis::ndof_
private

Definition at line 171 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

uint32_t TrackerDpgAnalysis::nLayers_
private

Definition at line 174 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

const int TrackerDpgAnalysis::nMaxPVs_ = 50
staticprivate

Definition at line 138 of file TrackerDpgAnalysis.cc.

uint32_t TrackerDpgAnalysis::npixClusters_
private

Definition at line 171 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

uint32_t TrackerDpgAnalysis::npixClustersOntrack_
private

Definition at line 171 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

uint32_t TrackerDpgAnalysis::nPixelVertices_
private

Definition at line 174 of file TrackerDpgAnalysis.cc.

Referenced by analyze().

uint32_t* TrackerDpgAnalysis::ntracks_
private

Definition at line 172 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

uint32_t TrackerDpgAnalysis::nTracks_pvtx_
private

Definition at line 175 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

uint32_t * TrackerDpgAnalysis::ntrajs_
private

Definition at line 172 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

uint32_t TrackerDpgAnalysis::nVertices_
private

Definition at line 174 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

bool TrackerDpgAnalysis::onTrack_
private

Definition at line 156 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

uint32_t TrackerDpgAnalysis::orbit_
private

Definition at line 188 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

uint32_t TrackerDpgAnalysis::orbitL1_
private

Definition at line 188 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::p_
private

Definition at line 184 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::phi_
private

Definition at line 167 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::phierr_
private

Definition at line 180 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

uint16_t TrackerDpgAnalysis::physicsDeclared_
private

Definition at line 189 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

TTree* TrackerDpgAnalysis::pixclusters_
private

Definition at line 148 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

edm::InputTag TrackerDpgAnalysis::pixelclusterLabel_
private

Definition at line 139 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

edm::InputTag TrackerDpgAnalysis::pixelVertexLabel_
private

Definition at line 139 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

TTree* TrackerDpgAnalysis::pixelVertices_
private

Definition at line 152 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::planarity_
private

Definition at line 186 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

edm::ParameterSet TrackerDpgAnalysis::pset_
private

Definition at line 193 of file TrackerDpgAnalysis.cc.

Referenced by TrackerDpgAnalysis().

TTree* TrackerDpgAnalysis::psumap_
private

Definition at line 154 of file TrackerDpgAnalysis.cc.

Referenced by beginRun(), endJob(), and TrackerDpgAnalysis().

char * TrackerDpgAnalysis::PSUname_
private

Definition at line 190 of file TrackerDpgAnalysis.cc.

Referenced by beginRun(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::pt_
private

Definition at line 184 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::pterr_
private

Definition at line 180 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::qoverp_
private

Definition at line 182 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

uint32_t TrackerDpgAnalysis::quality_
private

Definition at line 171 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

TTree* TrackerDpgAnalysis::readoutmap_
private

Definition at line 155 of file TrackerDpgAnalysis.cc.

Referenced by beginRun(), endJob(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::recx_err_pvtx_
private

Definition at line 178 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::recx_pvtx_
private

Definition at line 178 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::recy_err_pvtx_
private

Definition at line 178 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::recy_pvtx_
private

Definition at line 178 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::recz_err_pvtx_
private

Definition at line 178 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::recz_pvtx_
private

Definition at line 178 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

uint32_t TrackerDpgAnalysis::runid_
private

Definition at line 157 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::sphericity_
private

Definition at line 186 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

uint32_t TrackerDpgAnalysis::store_
private

Definition at line 188 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::stripLength_
private

Definition at line 166 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::sumptsq_pvtx_
private

Definition at line 178 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::thickness_
private

Definition at line 166 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::thrustValue_
private

Definition at line 186 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::thrustX_
private

Definition at line 186 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::thrustY_
private

Definition at line 186 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::thrustZ_
private

Definition at line 186 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

uint32_t TrackerDpgAnalysis::time_
private

Definition at line 188 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

edm::ESHandle<TrackerGeometry> TrackerDpgAnalysis::tracker_
private

Definition at line 143 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), beginRun(), and onTrackAngles().

uint32_t * TrackerDpgAnalysis::trackid_
private

Definition at line 159 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

std::vector<edm::InputTag> TrackerDpgAnalysis::trackLabel_
private

Definition at line 141 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

std::vector<TTree*> TrackerDpgAnalysis::tracks_
private

Definition at line 149 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), endJob(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::trkWeightpvtx_
private

Definition at line 182 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

uint32_t TrackerDpgAnalysis::type_
private
uint32_t TrackerDpgAnalysis::vertexid_
private

Definition at line 157 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

edm::InputTag TrackerDpgAnalysis::vertexLabel_
private

Definition at line 139 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

TTree* TrackerDpgAnalysis::vertices_
private

Definition at line 151 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), endJob(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::xPCA_
private

Definition at line 182 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::yPCA_
private

Definition at line 182 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().

float TrackerDpgAnalysis::zPCA_
private

Definition at line 182 of file TrackerDpgAnalysis.cc.

Referenced by analyze(), and TrackerDpgAnalysis().