CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
LMFLaserPulseDat.h
Go to the documentation of this file.
1 #ifndef LMFPULSEDAT_H
2 #define LMFPULSEDAT_H
3 
4 /*
5  Copyright (c) Giovanni.Organtini@roma1.infn.it 2010
6  */
7 
9 
10 #include <math.h>
11 
20  public:
22  LMFLaserPulseDat(oracle::occi::Environment* env,
23  oracle::occi::Connection* conn);
25  LMFLaserPulseDat(std::string color);
26  LMFLaserPulseDat(int color);
27  LMFLaserPulseDat(oracle::occi::Environment* env,
28  oracle::occi::Connection* conn, std::string color);
29  LMFLaserPulseDat(oracle::occi::Environment* env,
30  oracle::occi::Connection* conn, int color);
31  LMFLaserPulseDat(EcalDBConnection *c, std::string color);
32  LMFLaserPulseDat(EcalDBConnection *c, int color);
34 
35  std::string getTableName() const {
36  return "LMF_LASER_" + getColor() + "_PULSE_DAT";
37  }
38 
47 
48  int getFitMethod(EcalLogicID &id);
50  float getMTQTime(EcalLogicID &id);
51  float getMTQRise(EcalLogicID &id);
52  float getMTQFWHM(EcalLogicID &id);
53  float getMTQFW20(EcalLogicID &id);
54  float getMTQFW80(EcalLogicID &id);
55  float getMTQSliding(EcalLogicID &id);
56 
57  bool isValid();
58  // to do: complete list of set/get methods
59 
60  private:
61  void init();
62 };
63 
64 #endif
LMFLaserPulseDat & setFitMethod(EcalLogicID &id, int v)
float getMTQFW20(EcalLogicID &id)
LMFLaserPulseDat & setMTQAmplification(EcalLogicID &id, float v)
std::string getColor() const
LMFLaserPulseDat & setMTQSliding(EcalLogicID &id, float v)
float getMTQAmplification(EcalLogicID &id)
LMFLaserPulseDat & setMTQRise(EcalLogicID &id, float v)
LMFLaserPulseDat & setMTQFW80(EcalLogicID &id, float v)
LMFLaserPulseDat & setMTQFW20(EcalLogicID &id, float v)
float getMTQSliding(EcalLogicID &id)
float getMTQRise(EcalLogicID &id)
int getFitMethod(EcalLogicID &id)
std::string getTableName() const
float getMTQFWHM(EcalLogicID &id)
float getMTQFW80(EcalLogicID &id)
LMFLaserPulseDat & setMTQTime(EcalLogicID &id, float v)
float getMTQTime(EcalLogicID &id)
mathSSE::Vec4< T > v
LMFLaserPulseDat & setMTQFWHM(EcalLogicID &id, float v)