Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:44:26

0001 //   COCOA class implementation file
0002 //Id:  NtupleManager.cc
0003 //CAT: Analysis
0004 //
0005 //   History: v1.0
0006 //   Luca Scodellaro
0007 #include "Alignment/CocoaFit/interface/NtupleObjects.h"
0008 
0009 ClassImp(FitParam);
0010 ClassImp(OptObject);
0011 ClassImp(Sensor2DMeas);
0012 ClassImp(DistancemeterMeas);
0013 ClassImp(Distancemeter1DimMeas);
0014 ClassImp(TiltmeterMeas);
0015 ClassImp(CopsMeas);
0016 
0017 FitParam::FitParam() {
0018   Name = "Null";
0019   Quality = "Null";
0020   InitialValue = -999.;
0021   FittedValue = -999.;
0022   InitialSigma = -999.;
0023   FittedSigma = -999.;
0024   OptObjectIndex = -999;
0025 }
0026 
0027 OptObject::OptObject() {
0028   Name = "Null";
0029   Type = "Null";
0030   Parent = -999;
0031   for (int i = 0; i < 3; i++) {
0032     CentreGlobal[i] = -999.;
0033     AnglesGlobal[i] = -999.;
0034     CentreLocal[i] = -999.;
0035     AnglesLocal[i] = -999.;
0036   }
0037 }
0038 
0039 Sensor2DMeas::Sensor2DMeas() {
0040   Name = "Null";
0041   OptObjectIndex = -999;
0042   for (int i = 0; i < 2; i++) {
0043     Position[i] = -999.;
0044     PosError[i] = -999.;
0045     SimulatedPosition[i] = -999.;
0046   }
0047 }
0048 
0049 DistancemeterMeas::DistancemeterMeas() {
0050   Name = "Null";
0051   OptObjectIndex = -999;
0052   Distance = -999.;
0053   DisError = -999.;
0054   SimulatedDistance = -999.;
0055 }
0056 
0057 Distancemeter1DimMeas::Distancemeter1DimMeas() {
0058   Name = "Null";
0059   OptObjectIndex = -999;
0060   Distance = -999.;
0061   DisError = -999.;
0062   SimulatedDistance = -999.;
0063 }
0064 
0065 TiltmeterMeas::TiltmeterMeas() {
0066   Name = "Null";
0067   OptObjectIndex = -999;
0068   Angle = -999.;
0069   AngError = -999.;
0070   SimulatedAngle = -999.;
0071 }
0072 
0073 CopsMeas::CopsMeas() {
0074   Name = "Null";
0075   OptObjectIndex = -999;
0076   for (int i = 0; i < 4; i++) {
0077     Position[i] = -999.;
0078     PosError[i] = -999.;
0079     SimulatedPosition[i] = -999.;
0080   }
0081 }