57 void initializeForward();
91 throw cms::Exception(
"PixelForwardTemplateSmearerPlugin:") <<
"SiPixel Forward Template Not Loaded Correctly!";
114 for (
unsigned cotalphaHistBin=1; cotalphaHistBin<=
rescotAlpha_binN; ++cotalphaHistBin)
116 for (
unsigned cotbetaHistBin=1; cotbetaHistBin<=
rescotBeta_binN; ++cotbetaHistBin)
118 for(
unsigned qbinBin=1; qbinBin<=
resqbin_binN; ++qbinBin )
120 unsigned int edgePixelHistN = cotalphaHistBin*1000 + cotbetaHistBin*10 + qbinBin;
124 unsigned int PixelHistN = 10000 + cotbetaHistBin*100 + cotalphaHistBin*10 + qbinBin;
131 for (
unsigned cotalphaHistBin=1; cotalphaHistBin<=
rescotAlpha_binN; ++cotalphaHistBin)
133 for (
unsigned cotbetaHistBin=1; cotbetaHistBin<=
rescotBeta_binN; ++cotbetaHistBin)
135 unsigned int SingleBigPixelHistN = 100000 + cotalphaHistBin*100 + cotbetaHistBin;
139 unsigned int SinglePixelHistN = cotbetaHistBin*10 + cotalphaHistBin;
149 "PixelForwardTemplateSmearerPlugin" T getParameter(std::string const &) const
virtual ~PixelForwardTemplateSmearerPlugin()
std::unique_ptr< TFile > theRegularPixelResolutionFile
unsigned int rescotAlpha_binN
std::string theMergedPixelResolutionYFileName
std::unique_ptr< TFile > theEdgePixelResolutionFile
std::string theRegularPixelResolutionFileName
static bool pushfile(int filenum, std::vector< SiPixelTemplateStore > &thePixelTemp_)
unsigned int resqbin_binN
double rescotAlpha_binMin
std::string theMergedPixelResolutionXFileName
PixelForwardTemplateSmearerPlugin(const std::string &name, const edm::ParameterSet &config, edm::ConsumesCollector &consumesCollector)
std::string theEdgePixelResolutionFileName
std::unique_ptr< TFile > theMergingProbabilityFile
double rescotBeta_binWidth
double rescotAlpha_binWidth
std::unique_ptr< TFile > theMergedPixelResolutionXFile
std::string theBigPixelResolutionFileName
std::map< unsigned int, const SimpleHistogramGenerator * > theYHistos
unsigned int rescotBeta_binN
std::map< unsigned int, const SimpleHistogramGenerator * > theXHistos
std::unique_ptr< TFile > theBigPixelResolutionFile
std::vector< SiPixelTemplateStore > thePixelTemp_
std::string theMergingProbabilityFileName
std::unique_ptr< TFile > theMergedPixelResolutionYFile
std::string fullPath() const
#define DEFINE_EDM_PLUGIN(factory, type, name)