CMS 3D CMS Logo

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

#include <Measurement.h>

Inheritance diagram for Measurement:
MeasurementCOPS MeasurementDiffEntry MeasurementDistancemeter MeasurementDistancemeter3dim MeasurementSensor2D MeasurementTiltmeter

Public Member Functions

void addAffectingEntriesFromOptO (const OpticalObject *optoP)
 
void AddOptOListItem (OpticalObject *opto)
 
void AddOptONameListItem (ALIstring optos)
 
const std::vector< Entry * > & affectingEntryList () const
 
void buildAffectingEntryList ()
 
void buildOptOList ()
 
virtual void buildOptONamesList (const std::vector< ALIstring > &wl)
 
void calculateOriginalSimulatedValue ()
 
virtual void calculateSimulatedValue (ALIbool firstTime)
 
void construct ()
 
void constructFromOA (OpticalAlignMeasurementInfo &measInfo)
 
void copyMeas (Measurement *meas, const std::string &subsstr1, const std::string &subsstr2)
 
virtual void correctValueAndSigma ()
 
std::vector< ALIdoubleDerivativeRespectEntry (Entry *entry)
 
const ALIuint dim () const
 
void DumpBadOrderOptOs ()
 
void fillData (ALIuint coor, const std::vector< ALIstring > &wl)
 
void fillData (ALIuint coor, OpticalAlignParam *oaParam)
 
const CLHEP::Hep3Vector & getLightRayDirection () const
 
const CLHEP::Hep3Vector & getLightRayPosition () const
 
ALIstring getMeasuringBehaviour (const std::vector< OpticalObject * >::const_iterator vocite)
 
const OpticalObjectgetPreviousOptO (const OpticalObject *Popto) const
 
 Measurement (const ALIint measdim, ALIstring &type, ALIstring &name)
 
 Measurement ()
 
const ALIstringname () const
 
const std::vector
< OpticalObject * > & 
OptOList () const
 
const std::vector< ALIstring > & OptONameList () const
 
void postConstruct ()
 
const ALIstringsensorName ()
 
virtual void setConversionFactor (const std::vector< ALIstring > &wordlist)
 
void SetDimension (ALIuint dim)
 
void setLightRayDirection (const CLHEP::Hep3Vector &lightRayDirection)
 
void setLightRayPosition (const CLHEP::Hep3Vector &lightRayPosition)
 
void setName ()
 
void setSigma (ALIint coor, ALIdouble val)
 
void setType (ALIstring type)
 
void setValue (ALIint coor, ALIdouble val)
 
void setValueSimulated (ALIint coor, ALIdouble value)
 
void setValueSimulated_orig (ALIint coor, ALIdouble value)
 
virtual void setXlaserLine (ALIuint ii, int val)
 
const ALIdoublesigma () const
 
const ALIdouble sigma (ALIuint ii) const
 
virtual const ALIdouble sigmaDimensionFactor () const
 
const ALIstringtype () const
 
const ALIdoublevalue () const
 
const ALIdouble value (ALIuint ii) const
 
virtual const ALIdouble valueDimensionFactor () const
 
bool valueIsSimulated (ALIint coor)
 
const ALIdouble valueSimulated (ALIuint ii) const
 
const ALIdouble valueSimulated_orig (ALIuint ii) const
 
const ALIstring valueType (ALIuint ii) const
 
virtual int xlaserLine (ALIuint ii)
 
virtual ~Measurement ()
 

Static Public Member Functions

static ALIstring getCurrentDate ()
 
static ALIstring getCurrentTime ()
 
static ALIstringmeasurementsFileName ()
 
static void setCurrentDate (const std::vector< ALIstring > &wl)
 set the date of the current measurement More...
 
static void setMeasurementsFileName (const ALIstring &filename)
 

Static Public Attributes

static ALIdouble cameraScaleFactor = 1.
 
static ALIbool only1 = 0
 
static ALIstring only1Date = ""
 
static ALIstring only1Time = ""
 

Protected Member Functions

void printStartCalculateSimulatedValue (const Measurement *meas)
 
void Substitute2p (ALIstring &ref, const ALIstring &firstref, int NtwoPoints)
 

Private Attributes

std::vector< OpticalObject * > _OptOList
 
std::vector< ALIstring_OptONameList
 
std::vector< Entry * > theAffectingEntryList
 
ALIuint theDim
 
CLHEP::Hep3Vector theLightRayDirection
 
CLHEP::Hep3Vector theLightRayPosition
 
ALIstring theName
 
ALIdoubletheSigma
 
ALIstring theType
 
ALIdoubletheValue
 
ALIbooltheValueIsSimulated
 
ALIdoubletheValueSimulated
 
ALIdoubletheValueSimulated_orig
 
ALIstringtheValueType
 

Static Private Attributes

static ALIstring theCurrentDate = "99/99/99"
 
static ALIstring theCurrentTime = "99:99"
 
static ALIstring theMeasurementsFileName = ""
 

Detailed Description

Definition at line 27 of file Measurement.h.

Constructor & Destructor Documentation

Measurement::Measurement ( const ALIint  measdim,
ALIstring type,
ALIstring name 
)

Definition at line 45 of file Measurement.cc.

Measurement::Measurement ( )
inline

Definition at line 32 of file Measurement.h.

Measurement::~Measurement ( )
virtual

Definition at line 580 of file Measurement.cc.

Member Function Documentation

void Measurement::addAffectingEntriesFromOptO ( const OpticalObject optoP)

Definition at line 390 of file Measurement.cc.

void Measurement::AddOptOListItem ( OpticalObject opto)
inline

Definition at line 188 of file Measurement.h.

void Measurement::AddOptONameListItem ( ALIstring  optos)
inline

Definition at line 184 of file Measurement.h.

Referenced by MeasurementDiffEntry::buildOptONamesList().

const std::vector<Entry*>& Measurement::affectingEntryList ( ) const
inline

Definition at line 113 of file Measurement.h.

void Measurement::buildAffectingEntryList ( )

Definition at line 375 of file Measurement.cc.

void Measurement::buildOptOList ( )

Definition at line 317 of file Measurement.cc.

void Measurement::buildOptONamesList ( const std::vector< ALIstring > &  wl)
virtual

Reimplemented in MeasurementDiffEntry.

Definition at line 178 of file Measurement.cc.

void Measurement::calculateOriginalSimulatedValue ( )

Definition at line 453 of file Measurement.cc.

virtual void Measurement::calculateSimulatedValue ( ALIbool  firstTime)
inlinevirtual
void Measurement::construct ( )

Definition at line 63 of file Measurement.cc.

void Measurement::constructFromOA ( OpticalAlignMeasurementInfo measInfo)

Definition at line 96 of file Measurement.cc.

void Measurement::copyMeas ( Measurement meas,
const std::string &  subsstr1,
const std::string &  subsstr2 
)

Definition at line 650 of file Measurement.cc.

virtual void Measurement::correctValueAndSigma ( )
inlinevirtual
std::vector< ALIdouble > Measurement::DerivativeRespectEntry ( Entry entry)

Definition at line 512 of file Measurement.cc.

const ALIuint Measurement::dim ( ) const
inline
void Measurement::DumpBadOrderOptOs ( )
void Measurement::fillData ( ALIuint  coor,
const std::vector< ALIstring > &  wl 
)

Definition at line 201 of file Measurement.cc.

Referenced by CocoaDaqReaderText::ReadNextEvent().

void Measurement::fillData ( ALIuint  coor,
OpticalAlignParam oaParam 
)

Definition at line 278 of file Measurement.cc.

static ALIstring Measurement::getCurrentDate ( )
inlinestatic

Definition at line 152 of file Measurement.h.

static ALIstring Measurement::getCurrentTime ( )
inlinestatic

Definition at line 155 of file Measurement.h.

const CLHEP::Hep3Vector& Measurement::getLightRayDirection ( ) const
inline

Definition at line 162 of file Measurement.h.

const CLHEP::Hep3Vector& Measurement::getLightRayPosition ( ) const
inline

Definition at line 159 of file Measurement.h.

ALIstring Measurement::getMeasuringBehaviour ( const std::vector< OpticalObject * >::const_iterator  vocite)
const OpticalObject * Measurement::getPreviousOptO ( const OpticalObject Popto) const
static ALIstring& Measurement::measurementsFileName ( )
inlinestatic

Definition at line 213 of file Measurement.h.

const ALIstring& Measurement::name ( ) const
inline
const std::vector<OpticalObject*>& Measurement::OptOList ( ) const
inline
const std::vector<ALIstring>& Measurement::OptONameList ( ) const
inline

Definition at line 105 of file Measurement.h.

void Measurement::postConstruct ( )

Definition at line 155 of file Measurement.cc.

void Measurement::printStartCalculateSimulatedValue ( const Measurement meas)
protected
const ALIstring& Measurement::sensorName ( )
inline

Definition at line 94 of file Measurement.h.

virtual void Measurement::setConversionFactor ( const std::vector< ALIstring > &  wordlist)
inlinevirtual
void Measurement::setCurrentDate ( const std::vector< ALIstring > &  wl)
static

set the date of the current measurement

Definition at line 632 of file Measurement.cc.

Referenced by CocoaDaqReaderText::ReadNextEvent().

void Measurement::SetDimension ( ALIuint  dim)
inline

Definition at line 180 of file Measurement.h.

void Measurement::setLightRayDirection ( const CLHEP::Hep3Vector &  lightRayDirection)
inline

Definition at line 224 of file Measurement.h.

void Measurement::setLightRayPosition ( const CLHEP::Hep3Vector &  lightRayPosition)
inline

Definition at line 222 of file Measurement.h.

static void Measurement::setMeasurementsFileName ( const ALIstring filename)
inlinestatic

Definition at line 216 of file Measurement.h.

void Measurement::setName ( )

Definition at line 698 of file Measurement.cc.

void Measurement::setSigma ( ALIint  coor,
ALIdouble  val 
)
inline
void Measurement::setType ( ALIstring  type)
inline

Definition at line 176 of file Measurement.h.

void Measurement::setValue ( ALIint  coor,
ALIdouble  val 
)
inline
void Measurement::setValueSimulated ( ALIint  coor,
ALIdouble  value 
)
inline
void Measurement::setValueSimulated_orig ( ALIint  coor,
ALIdouble  value 
)
inline

Definition at line 192 of file Measurement.h.

virtual void Measurement::setXlaserLine ( ALIuint  ii,
int  val 
)
inlinevirtual

Reimplemented in MeasurementCOPS.

Definition at line 209 of file Measurement.h.

const ALIdouble* Measurement::sigma ( ) const
inline
const ALIdouble Measurement::sigma ( ALIuint  ii) const
inline

Definition at line 136 of file Measurement.h.

virtual const ALIdouble Measurement::sigmaDimensionFactor ( ) const
inlinevirtual

Definition at line 148 of file Measurement.h.

Referenced by MeasurementTiltmeter::setConversionFactor().

void Measurement::Substitute2p ( ALIstring ref,
const ALIstring firstref,
int  NtwoPoints 
)
protected

Definition at line 424 of file Measurement.cc.

const ALIstring& Measurement::type ( ) const
inline

Definition at line 86 of file Measurement.h.

Referenced by MeasurementCOPS::calculateSimulatedValue().

const ALIdouble* Measurement::value ( ) const
inline
const ALIdouble Measurement::value ( ALIuint  ii) const
inline

Definition at line 128 of file Measurement.h.

Referenced by average.Average::average().

virtual const ALIdouble Measurement::valueDimensionFactor ( ) const
inlinevirtual
bool Measurement::valueIsSimulated ( ALIint  coor)
inline

Definition at line 205 of file Measurement.h.

const ALIdouble Measurement::valueSimulated ( ALIuint  ii) const
inline
const ALIdouble Measurement::valueSimulated_orig ( ALIuint  ii) const
inline

Definition at line 121 of file Measurement.h.

const ALIstring Measurement::valueType ( ALIuint  ii) const
inline

Definition at line 140 of file Measurement.h.

Referenced by CocoaDaqReaderText::ReadNextEvent().

virtual int Measurement::xlaserLine ( ALIuint  ii)
inlinevirtual

Reimplemented in MeasurementCOPS.

Definition at line 199 of file Measurement.h.

Member Data Documentation

std::vector<OpticalObject*> Measurement::_OptOList
private

Definition at line 256 of file Measurement.h.

std::vector<ALIstring> Measurement::_OptONameList
private

Definition at line 254 of file Measurement.h.

ALIdouble Measurement::cameraScaleFactor = 1.
static

Definition at line 209 of file Measurement.h.

ALIbool Measurement::only1 = 0
static

Definition at line 267 of file Measurement.h.

ALIstring Measurement::only1Date = ""
static

Definition at line 268 of file Measurement.h.

ALIstring Measurement::only1Time = ""
static

Definition at line 269 of file Measurement.h.

std::vector<Entry*> Measurement::theAffectingEntryList
private

Definition at line 258 of file Measurement.h.

ALIstring Measurement::theCurrentDate = "99/99/99"
staticprivate

Definition at line 264 of file Measurement.h.

ALIstring Measurement::theCurrentTime = "99:99"
staticprivate

Definition at line 265 of file Measurement.h.

ALIuint Measurement::theDim
private

Definition at line 235 of file Measurement.h.

CLHEP::Hep3Vector Measurement::theLightRayDirection
private

Definition at line 261 of file Measurement.h.

CLHEP::Hep3Vector Measurement::theLightRayPosition
private

Definition at line 260 of file Measurement.h.

ALIstring Measurement::theMeasurementsFileName = ""
staticprivate

Definition at line 262 of file Measurement.h.

ALIstring Measurement::theName
private

Definition at line 239 of file Measurement.h.

ALIdouble* Measurement::theSigma
private

Definition at line 238 of file Measurement.h.

ALIstring Measurement::theType
private

Definition at line 236 of file Measurement.h.

ALIdouble* Measurement::theValue
private

Definition at line 237 of file Measurement.h.

ALIbool* Measurement::theValueIsSimulated
private

Definition at line 251 of file Measurement.h.

ALIdouble* Measurement::theValueSimulated
private

Definition at line 243 of file Measurement.h.

ALIdouble* Measurement::theValueSimulated_orig
private

Definition at line 245 of file Measurement.h.

ALIstring* Measurement::theValueType
private

Definition at line 240 of file Measurement.h.