41 void initializeBarrel();
72 throw cms::Exception(
"PixelBarrelTemplateSmearerPlugin:")<<
"SiPixel Barrel Template Not Loaded Correctly!"<<endl;
95 for (
unsigned cotalphaHistBin=1; cotalphaHistBin<=
rescotAlpha_binN; ++cotalphaHistBin)
97 for (
unsigned cotbetaHistBin=1; cotbetaHistBin<=
rescotBeta_binN; ++cotbetaHistBin)
99 unsigned int singleBigPixelHistN = 1*100000 + cotalphaHistBin*100 + cotbetaHistBin;
103 unsigned int singlePixelHistN = 1*10000 + cotbetaHistBin*10 + cotalphaHistBin;
107 for(
unsigned qbinBin=1; qbinBin<=
resqbin_binN; ++qbinBin )
109 unsigned int edgePixelHistN = cotalphaHistBin*1000 + cotbetaHistBin*10 + qbinBin;
113 unsigned int multiPixelBigHistN = 1*1000000 + 1*100000 + cotalphaHistBin*1000 + cotbetaHistBin * 10 + qbinBin;
117 unsigned int multiPixelHistN = 1*100000 + 1*10000 + cotbetaHistBin*100 + cotalphaHistBin*10 + qbinBin;
129 "PixelBarrelTemplateSmearerPlugin" T getParameter(std::string const &) const
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
PixelBarrelTemplateSmearerPlugin(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
virtual ~PixelBarrelTemplateSmearerPlugin()
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
#define DEFINE_EDM_PLUGIN(factory, type, name)
std::string fullPath() const