1 #ifndef _CSCFAKEDBNOISEMATRIX_H
2 #define _CSCFAKEDBNOISEMATRIX_H
19 #include <boost/shared_ptr.hpp>
28 typedef boost::shared_ptr<CSCDBNoiseMatrix>
Pointer;
47 const int MAX_SIZE = 252288;
48 const int FACTOR=1000;
51 cndbmatrix->
matrix.resize(MAX_SIZE);
57 for(
int i=0;
i<MAX_SIZE;
i++){
58 cndbmatrix->
matrix[
i].elem33 = (
short int) (10.0*FACTOR+0.5);
59 cndbmatrix->
matrix[
i].elem34 = (
short int) (4.0*FACTOR+0.5);
60 cndbmatrix->
matrix[
i].elem35 = (
short int) (3.0*FACTOR+0.5);
61 cndbmatrix->
matrix[
i].elem44 = (
short int) (10.0*FACTOR+0.5);
62 cndbmatrix->
matrix[
i].elem45 = (
short int) (8.0*FACTOR+0.5);
63 cndbmatrix->
matrix[
i].elem46 = (
short int) (2.0*FACTOR+0.5);
64 cndbmatrix->
matrix[
i].elem55 = (
short int) (10.0*FACTOR+0.5);
65 cndbmatrix->
matrix[
i].elem56 = (
short int) (5.0*FACTOR+0.5);
66 cndbmatrix->
matrix[
i].elem57 = (
short int) (3.0*FACTOR+0.5);
67 cndbmatrix->
matrix[
i].elem66 = (
short int) (10.0*FACTOR+0.5);
68 cndbmatrix->
matrix[
i].elem67 = (
short int) (4.0*FACTOR+0.5);
69 cndbmatrix->
matrix[
i].elem77 = (
short int) (10.0*FACTOR+0.5);
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &)
static CSCDBNoiseMatrix * prefillDBNoiseMatrix()
CSCFakeDBNoiseMatrix(const edm::ParameterSet &)
boost::shared_ptr< CSCDBNoiseMatrix > Pointer
Pointer produceDBNoiseMatrix(const CSCDBNoiseMatrixRcd &)
NoiseMatrixContainer matrix