CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
TrackerSectorStruct::CorrelationHists Struct Reference

#include <TrackerSectorStruct.h>

Public Member Functions

 CorrelationHists ()
 
void fillCorrHists (const TString, const TrackStruct::HitParameterStruct &hitParameterStruct, double variable)
 
void fillCorrHistsX (const TrackStruct::HitParameterStruct &hitParameterStruct, double variable)
 
void fillCorrHistsY (const TrackStruct::HitParameterStruct &hitParameterStruct, double variable)
 

Public Attributes

TH2F * NorResXVsVar
 
TProfile * PNorResXVsVar
 
TProfile * PProbXVsVar
 
TH2F * ProbXVsVar
 
TProfile * PSigmaXHitVsVar
 
TProfile * PSigmaXTrkVsVar
 
TProfile * PSigmaXVsVar
 
TH2F * SigmaXHitVsVar
 
TH2F * SigmaXTrkVsVar
 
TH2F * SigmaXVsVar
 
TH1F * Variable
 

Detailed Description

Definition at line 44 of file TrackerSectorStruct.h.

Constructor & Destructor Documentation

TrackerSectorStruct::CorrelationHists::CorrelationHists ( )
inline

Member Function Documentation

void TrackerSectorStruct::CorrelationHists::fillCorrHists ( const TString  xY,
const TrackStruct::HitParameterStruct hitParameterStruct,
double  variable 
)
inline

Definition at line 296 of file TrackerSectorStruct.h.

References TrackStruct::HitParameterStruct::errX, TrackStruct::HitParameterStruct::errXHit, TrackStruct::HitParameterStruct::errXTrk, TrackStruct::HitParameterStruct::errY, TrackStruct::HitParameterStruct::errYHit, TrackStruct::HitParameterStruct::errYTrk, TrackStruct::HitParameterStruct::norResX, TrackStruct::HitParameterStruct::norResY, TrackStruct::HitParameterStruct::probX, and TrackStruct::HitParameterStruct::probY.

Referenced by fillCorrHistsX().

296  {
297  float norRes(999.);
298  float prob(999.);
299  float errHit(999.);
300  float errTrk(999.);
301  float err(999.);
302  if(xY=="X"){
303  norRes = hitParameterStruct.norResX;
304  prob = hitParameterStruct.probX;
305  errHit = hitParameterStruct.errXHit;
306  errTrk = hitParameterStruct.errXTrk;
307  err = hitParameterStruct.errX;
308  }
309  if(xY=="Y"){
310  norRes = hitParameterStruct.norResY;
311  prob = hitParameterStruct.probY;
312  errHit = hitParameterStruct.errYHit;
313  errTrk = hitParameterStruct.errYTrk;
314  err = hitParameterStruct.errY;
315  }
316 
317  if(Variable){Variable->Fill(variable);}
318 
319  if(NorResXVsVar){
320  NorResXVsVar->Fill(variable,norRes);
321  PNorResXVsVar->Fill(variable,norRes);
322  }
323  if(ProbXVsVar){
324  ProbXVsVar->Fill(variable,prob);
325  PProbXVsVar->Fill(variable,prob);
326  }
327  if(SigmaXHitVsVar){
328  SigmaXHitVsVar->Fill(variable,errHit*10000.);
329  PSigmaXHitVsVar->Fill(variable,errHit*10000.);
330  }
331  if(SigmaXTrkVsVar){
332  SigmaXTrkVsVar->Fill(variable,errTrk*10000.);
333  PSigmaXTrkVsVar->Fill(variable,errTrk*10000.);
334  }
335  if(SigmaXVsVar){
336  SigmaXVsVar->Fill(variable,err*10000.);
337  PSigmaXVsVar->Fill(variable,err*10000.);
338  }
339 
340 }
void TrackerSectorStruct::CorrelationHists::fillCorrHistsX ( const TrackStruct::HitParameterStruct hitParameterStruct,
double  variable 
)
inline

Definition at line 288 of file TrackerSectorStruct.h.

References fillCorrHists().

288  {
289  return fillCorrHists("X", hitParameterStruct, variable);
290 }
void fillCorrHists(const TString, const TrackStruct::HitParameterStruct &hitParameterStruct, double variable)
void TrackerSectorStruct::CorrelationHists::fillCorrHistsY ( const TrackStruct::HitParameterStruct hitParameterStruct,
double  variable 
)
inline

Definition at line 292 of file TrackerSectorStruct.h.

292  {
293  return fillCorrHists("Y", hitParameterStruct, variable);
294 }
void fillCorrHists(const TString, const TrackStruct::HitParameterStruct &hitParameterStruct, double variable)

Member Data Documentation

TH2F* TrackerSectorStruct::CorrelationHists::NorResXVsVar

Definition at line 56 of file TrackerSectorStruct.h.

Referenced by TrackerSectorStruct::bookCorrHists().

TProfile* TrackerSectorStruct::CorrelationHists::PNorResXVsVar

Definition at line 58 of file TrackerSectorStruct.h.

Referenced by TrackerSectorStruct::bookCorrHists().

TProfile * TrackerSectorStruct::CorrelationHists::PProbXVsVar

Definition at line 58 of file TrackerSectorStruct.h.

Referenced by TrackerSectorStruct::bookCorrHists().

TH2F * TrackerSectorStruct::CorrelationHists::ProbXVsVar

Definition at line 56 of file TrackerSectorStruct.h.

Referenced by TrackerSectorStruct::bookCorrHists().

TProfile * TrackerSectorStruct::CorrelationHists::PSigmaXHitVsVar

Definition at line 58 of file TrackerSectorStruct.h.

Referenced by TrackerSectorStruct::bookCorrHists().

TProfile * TrackerSectorStruct::CorrelationHists::PSigmaXTrkVsVar

Definition at line 58 of file TrackerSectorStruct.h.

Referenced by TrackerSectorStruct::bookCorrHists().

TProfile * TrackerSectorStruct::CorrelationHists::PSigmaXVsVar

Definition at line 58 of file TrackerSectorStruct.h.

Referenced by TrackerSectorStruct::bookCorrHists().

TH2F * TrackerSectorStruct::CorrelationHists::SigmaXHitVsVar

Definition at line 56 of file TrackerSectorStruct.h.

Referenced by TrackerSectorStruct::bookCorrHists().

TH2F * TrackerSectorStruct::CorrelationHists::SigmaXTrkVsVar

Definition at line 56 of file TrackerSectorStruct.h.

Referenced by TrackerSectorStruct::bookCorrHists().

TH2F * TrackerSectorStruct::CorrelationHists::SigmaXVsVar

Definition at line 56 of file TrackerSectorStruct.h.

Referenced by TrackerSectorStruct::bookCorrHists().

TH1F* TrackerSectorStruct::CorrelationHists::Variable

Definition at line 55 of file TrackerSectorStruct.h.

Referenced by TrackerSectorStruct::bookCorrHists().