test
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
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 ( )
inline

constructor initialises to empty values

Definition at line 12 of file TkOffTreeVariables.h.

References clear().

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

Member Function Documentation

void TkOffTreeVariables::clear ( )
inline

set to empty values

Definition at line 15 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 Vispa.Views.WidgetView.WidgetView::closeEvent(), Vispa.Views.BoxDecayView.BoxDecayView::closeEvent(), TrackerOfflineValidationSummary::fillTree(), Vispa.Share.FindAlgorithm.FindAlgorithm::findUsingFindDialog(), Vispa.Views.LineDecayView.LineDecayView::setDataObjects(), Vispa.Views.WidgetView.WidgetView::setDataObjects(), BeautifulSoup.Tag::setString(), TkOffTreeVariables(), Vispa.Views.TreeView.TreeView::updateContent(), Vispa.Views.TableView.TableView::updateContent(), Vispa.Views.BoxDecayView.BoxDecayView::updateContent(), and Vispa.Views.PropertyView.PropertyView::updateContent().

15  {
16  // First clear things that are changing if TTrees are merged:
17  this->clearMergeAffectedPart();
18 
19  // Now the rest:
20  // Float_t's
21  posR = posPhi = posEta = posX = posY = posZ
23  // Int_t's
25  = layer = side = half = rod
26  = ring = petal
27  = blade = panel
28  = outerInner = module = 0;
29  // Bool_t's
30  isDoubleSide = isStereo = false;
31  // std::string's
33  = histNameLocalY /* = histNameNormLocalY */
35  = histNameY = histNameNormY = "";
38  = profileNameResYvsY = "";
39 
40  }
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
Definition: vlib.h:208
std::string profileNameResYvsY
void TkOffTreeVariables::clearMergeAffectedPart ( )
inline

set those values to empty that are affected by merging

Definition at line 42 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().

43  {
44  // variable Float_t's
46  = medianX = medianY
49  = sigmaX = sigmaNormX
53 
56 
57  // variable Int_t's
58  entries = 0;
59  }

Member Data Documentation

UInt_t TkOffTreeVariables::blade
Float_t TkOffTreeVariables::chi2PerDofX
Float_t TkOffTreeVariables::chi2PerDofY
UInt_t TkOffTreeVariables::entries
Float_t TkOffTreeVariables::fitMeanNormX
Float_t TkOffTreeVariables::fitMeanNormY
Float_t TkOffTreeVariables::fitMeanX
Float_t TkOffTreeVariables::fitMeanY
Float_t TkOffTreeVariables::fitSigmaNormX
Float_t TkOffTreeVariables::fitSigmaNormY
Float_t TkOffTreeVariables::fitSigmaX
Float_t TkOffTreeVariables::fitSigmaY
UInt_t TkOffTreeVariables::half
std::string TkOffTreeVariables::histNameLocalX
std::string TkOffTreeVariables::histNameLocalY

Definition at line 92 of file TkOffTreeVariables.h.

Referenced by clear(), and TrackerOfflineValidation::fillTree().

std::string TkOffTreeVariables::histNameNormLocalX
std::string TkOffTreeVariables::histNameNormX
std::string TkOffTreeVariables::histNameNormY
std::string TkOffTreeVariables::histNameX
std::string TkOffTreeVariables::histNameY
Bool_t TkOffTreeVariables::isDoubleSide
Bool_t TkOffTreeVariables::isStereo
UInt_t TkOffTreeVariables::layer
Float_t TkOffTreeVariables::meanLocalX
Float_t TkOffTreeVariables::meanNormLocalX
Float_t TkOffTreeVariables::meanNormX
Float_t TkOffTreeVariables::meanNormY
Float_t TkOffTreeVariables::meanResXvsX
Float_t TkOffTreeVariables::meanResXvsY
Float_t TkOffTreeVariables::meanResYvsX
Float_t TkOffTreeVariables::meanResYvsY
Float_t TkOffTreeVariables::meanX
Float_t TkOffTreeVariables::meanY
Float_t TkOffTreeVariables::medianX
Float_t TkOffTreeVariables::medianY
UInt_t TkOffTreeVariables::module
UInt_t TkOffTreeVariables::moduleId
Float_t TkOffTreeVariables::numberOfOutliers
Float_t TkOffTreeVariables::numberOfOverflows
Float_t TkOffTreeVariables::numberOfUnderflows
UInt_t TkOffTreeVariables::outerInner
UInt_t TkOffTreeVariables::panel
UInt_t TkOffTreeVariables::petal
Float_t TkOffTreeVariables::phiDirection
Float_t TkOffTreeVariables::posEta
Float_t TkOffTreeVariables::posPhi
Float_t TkOffTreeVariables::posR
Float_t TkOffTreeVariables::posX
Float_t TkOffTreeVariables::posY
Float_t TkOffTreeVariables::posZ
std::string TkOffTreeVariables::profileNameResXvsX

Definition at line 98 of file TkOffTreeVariables.h.

Referenced by clear(), and TrackerOfflineValidation::fillTree().

std::string TkOffTreeVariables::profileNameResXvsY

Definition at line 98 of file TkOffTreeVariables.h.

Referenced by clear(), and TrackerOfflineValidation::fillTree().

std::string TkOffTreeVariables::profileNameResYvsX

Definition at line 98 of file TkOffTreeVariables.h.

Referenced by clear(), and TrackerOfflineValidation::fillTree().

std::string TkOffTreeVariables::profileNameResYvsY

Definition at line 98 of file TkOffTreeVariables.h.

Referenced by clear(), and TrackerOfflineValidation::fillTree().

Float_t TkOffTreeVariables::rDirection
UInt_t TkOffTreeVariables::ring
Float_t TkOffTreeVariables::rmsLocalX
Float_t TkOffTreeVariables::rmsNormLocalX
Float_t TkOffTreeVariables::rmsNormX
Float_t TkOffTreeVariables::rmsNormY
Float_t TkOffTreeVariables::rmsResXvsX
Float_t TkOffTreeVariables::rmsResXvsY
Float_t TkOffTreeVariables::rmsResYvsX
Float_t TkOffTreeVariables::rmsResYvsY
Float_t TkOffTreeVariables::rmsX
Float_t TkOffTreeVariables::rmsY
UInt_t TkOffTreeVariables::rod
Float_t TkOffTreeVariables::rOrZDirection
UInt_t TkOffTreeVariables::side
Float_t TkOffTreeVariables::sigmaNormX
Float_t TkOffTreeVariables::sigmaX

Definition at line 68 of file TkOffTreeVariables.h.

Referenced by clearMergeAffectedPart().

UInt_t TkOffTreeVariables::subDetId
Float_t TkOffTreeVariables::zDirection