CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
TkOffTreeVariables Struct Reference

container to hold data to be written into TTree More...

#include <TkOffTreeVariables.h>

Public Member Functions

void clear ()
 set to empty values More...
 
void clearMergeAffectedPart ()
 set those values to empty that are affected by merging More...
 
 TkOffTreeVariables ()
 constructor initialises to empty values More...
 

Public Attributes

UInt_t blade
 
Float_t chi2PerDofX
 
Float_t chi2PerDofY
 
UInt_t entries
 
Float_t fitMeanNormX
 
Float_t fitMeanNormY
 
Float_t fitMeanX
 
Float_t fitMeanY
 
Float_t fitSigmaNormX
 
Float_t fitSigmaNormY
 
Float_t fitSigmaX
 
Float_t fitSigmaY
 
UInt_t half
 
std::string histNameLocalX
 
std::string histNameLocalY
 
std::string histNameNormLocalX
 
std::string histNameNormX
 
std::string histNameNormY
 
std::string histNameX
 
std::string histNameY
 
Bool_t isDoubleSide
 
Bool_t isStereo
 
UInt_t layer
 
Float_t meanLocalX
 
Float_t meanNormLocalX
 
Float_t meanNormX
 
Float_t meanNormY
 
Float_t meanResXvsX
 
Float_t meanResXvsY
 
Float_t meanResYvsX
 
Float_t meanResYvsY
 
Float_t meanX
 
Float_t meanY
 
Float_t medianX
 
Float_t medianY
 
UInt_t module
 
UInt_t moduleId
 
Float_t numberOfOutliers
 
Float_t numberOfOverflows
 
Float_t numberOfUnderflows
 
UInt_t outerInner
 
UInt_t panel
 
UInt_t petal
 
Float_t phiDirection
 
Float_t posEta
 
Float_t posPhi
 
Float_t posR
 
Float_t posX
 
Float_t posY
 
Float_t posZ
 
std::string profileNameResXvsX
 
std::string profileNameResXvsY
 
std::string profileNameResYvsX
 
std::string profileNameResYvsY
 
Float_t rDirection
 
UInt_t ring
 
Float_t rmsLocalX
 
Float_t rmsNormLocalX
 
Float_t rmsNormX
 
Float_t rmsNormY
 
Float_t rmsResXvsX
 
Float_t rmsResXvsY
 
Float_t rmsResYvsX
 
Float_t rmsResYvsY
 
Float_t rmsX
 
Float_t rmsY
 
UInt_t rod
 
Float_t rOrZDirection
 
UInt_t side
 
Float_t sigmaNormX
 
Float_t sigmaX
 
UInt_t subDetId
 
Float_t zDirection
 

Detailed Description

container to hold data to be written into TTree

Definition at line 9 of file TkOffTreeVariables.h.

Constructor & Destructor Documentation

◆ TkOffTreeVariables()

TkOffTreeVariables::TkOffTreeVariables ( )
inline

constructor initialises to empty values

Definition at line 11 of file TkOffTreeVariables.h.

References clear().

11 { this->clear(); }
void clear()
set to empty values

Member Function Documentation

◆ clear()

void TkOffTreeVariables::clear ( )
inline

set to empty values

Definition at line 14 of file TkOffTreeVariables.h.

References blade, clearMergeAffectedPart(), half, histNameLocalX, histNameLocalY, histNameNormLocalX, histNameNormX, histNameNormY, histNameX, histNameY, isDoubleSide, isStereo, layer, moduleId, outerInner, panel, petal, phiDirection, posEta, posPhi, posR, posX, posY, posZ, profileNameResXvsX, profileNameResXvsY, profileNameResYvsX, profileNameResYvsY, rDirection, ring, rod, rOrZDirection, side, subDetId, and zDirection.

Referenced by TrackerOfflineValidationSummary::fillTree(), and TkOffTreeVariables().

14  {
15  // First clear things that are changing if TTrees are merged:
16  this->clearMergeAffectedPart();
17 
18  // Now the rest:
19  // Float_t's
21  // Int_t's
23  // Bool_t's
24  isDoubleSide = isStereo = false;
25  // std::string's
26  histNameLocalX = histNameNormLocalX = histNameLocalY /* = histNameNormLocalY */
29  }
std::string profileNameResXvsX
void clearMergeAffectedPart()
set those values to empty that are affected by merging
std::string profileNameResYvsX
std::string histNameLocalY
std::string histNameNormLocalX
std::string histNameLocalX
std::string profileNameResXvsY
std::string profileNameResYvsY

◆ clearMergeAffectedPart()

void TkOffTreeVariables::clearMergeAffectedPart ( )
inline

set those values to empty that are affected by merging

Definition at line 31 of file TkOffTreeVariables.h.

References chi2PerDofX, chi2PerDofY, entries, fitMeanNormX, fitMeanNormY, fitMeanX, fitMeanY, fitSigmaNormX, fitSigmaNormY, fitSigmaX, fitSigmaY, meanLocalX, meanNormLocalX, meanNormX, meanNormY, meanResXvsX, meanResXvsY, meanResYvsX, meanResYvsY, meanX, meanY, medianX, medianY, numberOfOutliers, numberOfOverflows, numberOfUnderflows, rmsLocalX, rmsNormLocalX, rmsNormX, rmsNormY, rmsResXvsX, rmsResXvsY, rmsResYvsX, rmsResYvsY, rmsX, rmsY, sigmaNormX, and sigmaX.

Referenced by clear().

31  {
32  // variable Float_t's
37 
39 
40  // variable Int_t's
41  entries = 0;
42  }

Member Data Documentation

◆ blade

UInt_t TkOffTreeVariables::blade

◆ chi2PerDofX

Float_t TkOffTreeVariables::chi2PerDofX

◆ chi2PerDofY

Float_t TkOffTreeVariables::chi2PerDofY

◆ entries

UInt_t TkOffTreeVariables::entries

◆ fitMeanNormX

Float_t TkOffTreeVariables::fitMeanNormX

◆ fitMeanNormY

Float_t TkOffTreeVariables::fitMeanNormY

◆ fitMeanX

Float_t TkOffTreeVariables::fitMeanX

◆ fitMeanY

Float_t TkOffTreeVariables::fitMeanY

◆ fitSigmaNormX

Float_t TkOffTreeVariables::fitSigmaNormX

◆ fitSigmaNormY

Float_t TkOffTreeVariables::fitSigmaNormY

◆ fitSigmaX

Float_t TkOffTreeVariables::fitSigmaX

◆ fitSigmaY

Float_t TkOffTreeVariables::fitSigmaY

◆ half

UInt_t TkOffTreeVariables::half

◆ histNameLocalX

std::string TkOffTreeVariables::histNameLocalX

◆ histNameLocalY

std::string TkOffTreeVariables::histNameLocalY

◆ histNameNormLocalX

std::string TkOffTreeVariables::histNameNormLocalX

◆ histNameNormX

std::string TkOffTreeVariables::histNameNormX

◆ histNameNormY

std::string TkOffTreeVariables::histNameNormY

◆ histNameX

std::string TkOffTreeVariables::histNameX

◆ histNameY

std::string TkOffTreeVariables::histNameY

◆ isDoubleSide

Bool_t TkOffTreeVariables::isDoubleSide

◆ isStereo

Bool_t TkOffTreeVariables::isStereo

◆ layer

UInt_t TkOffTreeVariables::layer

◆ meanLocalX

Float_t TkOffTreeVariables::meanLocalX

◆ meanNormLocalX

Float_t TkOffTreeVariables::meanNormLocalX

◆ meanNormX

Float_t TkOffTreeVariables::meanNormX

◆ meanNormY

Float_t TkOffTreeVariables::meanNormY

◆ meanResXvsX

Float_t TkOffTreeVariables::meanResXvsX

◆ meanResXvsY

Float_t TkOffTreeVariables::meanResXvsY

◆ meanResYvsX

Float_t TkOffTreeVariables::meanResYvsX

◆ meanResYvsY

Float_t TkOffTreeVariables::meanResYvsY

◆ meanX

Float_t TkOffTreeVariables::meanX

◆ meanY

Float_t TkOffTreeVariables::meanY

◆ medianX

Float_t TkOffTreeVariables::medianX

◆ medianY

Float_t TkOffTreeVariables::medianY

◆ module

UInt_t TkOffTreeVariables::module

◆ moduleId

UInt_t TkOffTreeVariables::moduleId

◆ numberOfOutliers

Float_t TkOffTreeVariables::numberOfOutliers

◆ numberOfOverflows

Float_t TkOffTreeVariables::numberOfOverflows

◆ numberOfUnderflows

Float_t TkOffTreeVariables::numberOfUnderflows

◆ outerInner

UInt_t TkOffTreeVariables::outerInner

◆ panel

UInt_t TkOffTreeVariables::panel

◆ petal

UInt_t TkOffTreeVariables::petal

◆ phiDirection

Float_t TkOffTreeVariables::phiDirection

◆ posEta

Float_t TkOffTreeVariables::posEta

◆ posPhi

Float_t TkOffTreeVariables::posPhi

◆ posR

Float_t TkOffTreeVariables::posR

◆ posX

Float_t TkOffTreeVariables::posX

◆ posY

Float_t TkOffTreeVariables::posY

◆ posZ

Float_t TkOffTreeVariables::posZ

◆ profileNameResXvsX

std::string TkOffTreeVariables::profileNameResXvsX

◆ profileNameResXvsY

std::string TkOffTreeVariables::profileNameResXvsY

◆ profileNameResYvsX

std::string TkOffTreeVariables::profileNameResYvsX

◆ profileNameResYvsY

std::string TkOffTreeVariables::profileNameResYvsY

◆ rDirection

Float_t TkOffTreeVariables::rDirection

◆ ring

UInt_t TkOffTreeVariables::ring

◆ rmsLocalX

Float_t TkOffTreeVariables::rmsLocalX

◆ rmsNormLocalX

Float_t TkOffTreeVariables::rmsNormLocalX

◆ rmsNormX

Float_t TkOffTreeVariables::rmsNormX

◆ rmsNormY

Float_t TkOffTreeVariables::rmsNormY

◆ rmsResXvsX

Float_t TkOffTreeVariables::rmsResXvsX

◆ rmsResXvsY

Float_t TkOffTreeVariables::rmsResXvsY

◆ rmsResYvsX

Float_t TkOffTreeVariables::rmsResYvsX

◆ rmsResYvsY

Float_t TkOffTreeVariables::rmsResYvsY

◆ rmsX

Float_t TkOffTreeVariables::rmsX

◆ rmsY

Float_t TkOffTreeVariables::rmsY

◆ rod

UInt_t TkOffTreeVariables::rod

◆ rOrZDirection

Float_t TkOffTreeVariables::rOrZDirection

◆ side

UInt_t TkOffTreeVariables::side

◆ sigmaNormX

Float_t TkOffTreeVariables::sigmaNormX

◆ sigmaX

Float_t TkOffTreeVariables::sigmaX

Definition at line 50 of file TkOffTreeVariables.h.

Referenced by clearMergeAffectedPart().

◆ subDetId

UInt_t TkOffTreeVariables::subDetId

◆ zDirection

Float_t TkOffTreeVariables::zDirection