#include <NtupleManager.h>
Public Member Functions | |
void | BookNtuple () |
void | BookNtuple () |
void | FillChi2 () |
void | FillChi2 () |
void | FillFitParameters (MatrixMeschach *AtWAMatrix) |
void | FillFitParameters (MatrixMeschach *AtWAMatrix) |
void | FillMeasurements () |
void | FillMeasurements () |
void | FillNtupleTree () |
void | FillNtupleTree () |
void | FillOptObjects (MatrixMeschach *AtWAMatrix) |
void | FillOptObjects (MatrixMeschach *AtWAMatrix) |
void | InitNtuple () |
void | InitNtuple () |
NtupleManager () | |
NtupleManager () | |
void | WriteNtuple () |
void | WriteNtuple () |
~NtupleManager () | |
~NtupleManager () | |
Static Public Member Functions | |
static NtupleManager * | getInstance () |
static NtupleManager * | getInstance () |
Private Member Functions | |
void | GetGlobalAngles (const CLHEP::HepRotation &rmGlob, double *theta) |
void | GetGlobalAngles (const CLHEP::HepRotation &rmGlob, double *theta) |
Private Attributes | |
double | Chi2CalibratedParameters |
double | Chi2Measurements |
TClonesArray * | CloneCopsMeas |
TClonesArray * | CloneDistancemeter1DimMeas |
TClonesArray * | CloneDistancemeterMeas |
TClonesArray * | CloneFitParam |
TClonesArray * | CloneOptObject |
TClonesArray * | CloneSensor2DMeas |
TClonesArray * | CloneTiltmeterMeas |
TTree * | CocoaTree |
CopsMeas * | CopsMeasA |
Distancemeter1DimMeas * | Distancemeter1DimMeasA |
DistancemeterMeas * | DistancemeterMeasA |
FitParam * | FitParamA |
int | NCops |
int | NDegreesOfFreedom |
int | NDistancemeter |
int | NDistancemeter1Dim |
int | NFitParameters |
int | NOptObjects |
int | NSensor2D |
int | NTiltmeter |
OptObject * | OptObjectA |
Sensor2DMeas * | Sensor2DMeasA |
TFile * | theRootFile |
TiltmeterMeas * | TiltmeterMeasA |
Static Private Attributes | |
static NtupleManager * | instance = 0 |
Definition at line 20 of file NtupleManager.h.
|
inline |
|
inline |
Definition at line 26 of file NtupleManager.h.
|
inline |
Definition at line 25 of file NtupleManager.h.
|
inline |
Definition at line 26 of file NtupleManager.h.
void NtupleManager::BookNtuple | ( | ) |
Definition at line 41 of file NtupleManager.cc.
References Chi2CalibratedParameters, Chi2Measurements, CloneCopsMeas, CloneDistancemeter1DimMeas, CloneDistancemeterMeas, CloneFitParam, CloneOptObject, CloneSensor2DMeas, CloneTiltmeterMeas, CocoaTree, NCops, NDegreesOfFreedom, NDistancemeter, NDistancemeter1Dim, NFitParameters, NOptObjects, NSensor2D, NTiltmeter, and theRootFile.
Referenced by Fit::startFit().
void NtupleManager::BookNtuple | ( | ) |
void NtupleManager::FillChi2 | ( | ) |
void NtupleManager::FillChi2 | ( | ) |
Definition at line 129 of file NtupleManager.cc.
References begin, Chi2CalibratedParameters, Chi2Measurements, Model::EntryList(), Model::MeasurementList(), and NDegreesOfFreedom.
Referenced by Fit::fitNextEvent().
void NtupleManager::FillFitParameters | ( | MatrixMeschach * | AtWAMatrix | ) |
void NtupleManager::FillFitParameters | ( | MatrixMeschach * | AtWAMatrix | ) |
Definition at line 166 of file NtupleManager.cc.
References begin, CloneOptObject, gather_cfg::cout, Model::EntryList(), vdt::fe, FitParamA, FitParam::FittedSigma, FitParam::FittedValue, FittedEntry::getEntryName(), FittedEntry::getName(), FittedEntry::getOptOName(), FittedEntry::getOrder(), FittedEntry::getOrigSigma(), FittedEntry::getOrigValue(), FittedEntry::getQuality(), FittedEntry::getSigma(), FittedEntry::getValue(), if(), FitParam::InitialSigma, FitParam::InitialValue, MatrixMeschach::Mat(), FitParam::Name, OptObject::Name, NFitParameters, NOptObjects, FitParam::OptObjectIndex, FitParam::Quality, and mathSSE::sqrt().
Referenced by Fit::fitNextEvent().
void NtupleManager::FillMeasurements | ( | ) |
Definition at line 307 of file NtupleManager.cc.
References TiltmeterMeas::AngError, TiltmeterMeas::Angle, begin, CloneOptObject, CopsMeasA, createTree::dd, DistancemeterMeas::DisError, Distancemeter1DimMeas::DisError, DistancemeterMeas::Distance, Distancemeter1DimMeas::Distance, Distancemeter1DimMeasA, DistancemeterMeasA, i, prof2calltree::last, Model::MeasurementList(), OptObject::Name, Sensor2DMeas::Name, DistancemeterMeas::Name, Distancemeter1DimMeas::Name, TiltmeterMeas::Name, CopsMeas::Name, NCops, NDistancemeter, NDistancemeter1Dim, NOptObjects, NSensor2D, NTiltmeter, Sensor2DMeas::OptObjectIndex, DistancemeterMeas::OptObjectIndex, Distancemeter1DimMeas::OptObjectIndex, TiltmeterMeas::OptObjectIndex, CopsMeas::OptObjectIndex, Sensor2DMeas::PosError, CopsMeas::PosError, Sensor2DMeas::Position, CopsMeas::Position, Sensor2DMeasA, TiltmeterMeas::SimulatedAngle, DistancemeterMeas::SimulatedDistance, Distancemeter1DimMeas::SimulatedDistance, Sensor2DMeas::SimulatedPosition, CopsMeas::SimulatedPosition, TiltmeterMeasA, and groupFilesInBlocks::tt.
Referenced by Fit::fitNextEvent().
void NtupleManager::FillMeasurements | ( | ) |
void NtupleManager::FillNtupleTree | ( | ) |
Definition at line 114 of file NtupleManager.cc.
References CocoaTree.
Referenced by Fit::fitNextEvent().
void NtupleManager::FillNtupleTree | ( | ) |
void NtupleManager::FillOptObjects | ( | MatrixMeschach * | AtWAMatrix | ) |
Definition at line 251 of file NtupleManager.cc.
References OptObject::AnglesGlobal, OptObject::AnglesLocal, begin, OptObject::CentreGlobal, OptObject::CentreLocal, GetGlobalAngles(), i, OptObject::Name, NOptObjects, OptObjectA, Model::OptOList(), OptObject::Parent, createTree::pp, theta(), OptObject::Type, XCoor, YCoor, and ZCoor.
Referenced by Fit::fitNextEvent().
void NtupleManager::FillOptObjects | ( | MatrixMeschach * | AtWAMatrix | ) |
|
private |
Definition at line 382 of file NtupleManager.cc.
References alpha, beta, funct::cos(), gather_cfg::cout, alignCSCRings::e, M_PI, funct::sin(), and create_public_lumi_plots::xy.
Referenced by FillOptObjects().
|
private |
|
static |
Definition at line 29 of file NtupleManager.cc.
References instance, and NtupleManager().
Referenced by Fit::fitNextEvent(), and Fit::startFit().
|
static |
void NtupleManager::InitNtuple | ( | ) |
void NtupleManager::InitNtuple | ( | ) |
Definition at line 96 of file NtupleManager.cc.
References Chi2CalibratedParameters, Chi2Measurements, CloneFitParam, NCops, NDegreesOfFreedom, NDistancemeter, NDistancemeter1Dim, NFitParameters, NOptObjects, NSensor2D, and NTiltmeter.
Referenced by Fit::fitNextEvent().
void NtupleManager::WriteNtuple | ( | ) |
void NtupleManager::WriteNtuple | ( | ) |
Definition at line 121 of file NtupleManager.cc.
References theRootFile.
Referenced by Fit::startFit().
|
private |
Definition at line 60 of file NtupleManager.h.
Referenced by BookNtuple(), FillChi2(), and InitNtuple().
|
private |
Definition at line 60 of file NtupleManager.h.
Referenced by BookNtuple(), FillChi2(), and InitNtuple().
|
private |
Definition at line 55 of file NtupleManager.h.
Referenced by BookNtuple().
|
private |
Definition at line 53 of file NtupleManager.h.
Referenced by BookNtuple().
|
private |
Definition at line 52 of file NtupleManager.h.
Referenced by BookNtuple().
|
private |
Definition at line 49 of file NtupleManager.h.
Referenced by BookNtuple(), and InitNtuple().
|
private |
Definition at line 50 of file NtupleManager.h.
Referenced by BookNtuple(), FillFitParameters(), and FillMeasurements().
|
private |
Definition at line 51 of file NtupleManager.h.
Referenced by BookNtuple().
|
private |
Definition at line 54 of file NtupleManager.h.
Referenced by BookNtuple().
|
private |
Definition at line 45 of file NtupleManager.h.
Referenced by BookNtuple(), and FillNtupleTree().
|
private |
Definition at line 55 of file NtupleManager.h.
Referenced by FillMeasurements().
|
private |
Definition at line 53 of file NtupleManager.h.
Referenced by FillMeasurements().
|
private |
Definition at line 52 of file NtupleManager.h.
Referenced by FillMeasurements().
|
private |
Definition at line 49 of file NtupleManager.h.
Referenced by FillFitParameters().
|
staticprivate |
Definition at line 39 of file NtupleManager.h.
Referenced by getInstance().
|
private |
Definition at line 68 of file NtupleManager.h.
Referenced by BookNtuple(), FillMeasurements(), and InitNtuple().
|
private |
Definition at line 61 of file NtupleManager.h.
Referenced by BookNtuple(), FillChi2(), and InitNtuple().
|
private |
Definition at line 65 of file NtupleManager.h.
Referenced by BookNtuple(), FillMeasurements(), and InitNtuple().
|
private |
Definition at line 66 of file NtupleManager.h.
Referenced by BookNtuple(), FillMeasurements(), and InitNtuple().
|
private |
Definition at line 62 of file NtupleManager.h.
Referenced by BookNtuple(), FillFitParameters(), and InitNtuple().
|
private |
Definition at line 63 of file NtupleManager.h.
Referenced by BookNtuple(), FillFitParameters(), FillMeasurements(), FillOptObjects(), and InitNtuple().
|
private |
Definition at line 64 of file NtupleManager.h.
Referenced by BookNtuple(), FillMeasurements(), and InitNtuple().
|
private |
Definition at line 67 of file NtupleManager.h.
Referenced by BookNtuple(), FillMeasurements(), and InitNtuple().
|
private |
Definition at line 50 of file NtupleManager.h.
Referenced by FillOptObjects().
|
private |
Definition at line 51 of file NtupleManager.h.
Referenced by FillMeasurements().
|
private |
Definition at line 43 of file NtupleManager.h.
Referenced by BookNtuple(), and WriteNtuple().
|
private |
Definition at line 54 of file NtupleManager.h.
Referenced by FillMeasurements().