CMS 3D CMS Logo

CastorSimParameters.h

Go to the documentation of this file.
00001 #ifndef CastorSim_CastorSimParameters_h
00002 #define CastorSim_CastorSimParameters_h
00003 
00004 #include "SimCalorimetry/CaloSimAlgos/interface/CaloSimParameters.h"
00005 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00006 #include "CalibFormats/CastorObjects/interface/CastorDbService.h"
00007 
00008 class CastorSimParameters : public CaloSimParameters
00009 {
00010 public:
00011 
00012 CastorSimParameters(double simHitToPhotoelectrons, double photoelectronsToAnalog, double samplingFactor, double timePhase, bool syncPhase);
00013 CastorSimParameters(const edm::ParameterSet & p);
00014 
00015   /*
00016   CastorSimParameters(double simHitToPhotoelectrons, double photoelectronsToAnalog,
00017                 double samplingFactor, double timePhase,
00018                 int readoutFrameSize, int binOfMaximum,
00019                 bool doPhotostatistics, bool syncPhase,
00020                 int firstRing, const std::vector<double> & samplingFactors);
00021  CastorSimParameters(const edm::ParameterSet & p);
00022   */
00023 
00024 virtual ~CastorSimParameters() {}
00025 
00026 void setDbService(const CastorDbService * service) {theDbService = service;}
00027 
00028 //virtual double simHitToPhotoelectrons(const DetId & detId) const;
00029 
00030 virtual double photoelectronsToAnalog(const DetId & detId) const;
00031 
00032 double fCtoGeV(const DetId & detId) const;
00033 
00036 //  virtual double samplingFactor(const DetId & detId) const;
00037 
00038 
00039 private:
00040 const CastorDbService * theDbService;
00041 double theSamplingFactor;
00042 //std::vector<double> theSamplingFactors;
00043 };
00044 
00045 #endif
00046   

Generated on Tue Jun 9 17:46:14 2009 for CMSSW by  doxygen 1.5.4