CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
SiPixelGainCalibrationAnalysis Class Reference

#include <CalibTracker/SiPixelGainCalibrationAnalysis/interface/SiPixelGainCalibrationAnalysis.h>

Inheritance diagram for SiPixelGainCalibrationAnalysis:
SiPixelOfflineCalibAnalysisBase edm::EDAnalyzer edm::EDConsumerBase

Public Member Functions

virtual bool checkCorrectCalibrationType ()
 
virtual bool doFits (uint32_t detid, std::vector< SiPixelCalibDigi >::const_iterator ipix)
 
void doSetup (const edm::ParameterSet &)
 
 SiPixelGainCalibrationAnalysis (const edm::ParameterSet &iConfig)
 
 ~SiPixelGainCalibrationAnalysis ()
 
- Public Member Functions inherited from SiPixelOfflineCalibAnalysisBase
void addTF1ToDQMMonitoringElement (MonitorElement *ele, TF1 *func)
 
MonitorElementbookDQMHistogram1D (uint32_t detid, std::string name, std::string title, int nchX, double lowX, double highX)
 
MonitorElementbookDQMHistogram1D (uint32_t detid, std::string name, std::string title, int nchX, float *xbinsize)
 
MonitorElementbookDQMHistogram2D (uint32_t detid, std::string name, std::string title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
 
MonitorElementbookDQMHistoPlaquetteSummary2D (uint32_t detid, std::string name, std::string title)
 
std::vector< uint32_t > & getRunNumbers ()
 
bool setDQMDirectory (std::string dirName)
 
bool setDQMDirectory (uint32_t detID)
 
 SiPixelOfflineCalibAnalysisBase (const edm::ParameterSet &)
 
 SiPixelOfflineCalibAnalysisBase ()
 
std::string translateDetIdToString (uint32_t detid)
 
 ~SiPixelOfflineCalibAnalysisBase ()
 
- Public Member Functions inherited from edm::EDAnalyzer
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzer ()
 
ModuleDescription const & moduleDescription () const
 
std::string workerType () const
 
virtual ~EDAnalyzer ()
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
 EDConsumerBase ()
 
ProductHolderIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
std::vector
< ProductHolderIndexAndSkipBit >
const & 
itemsToGetFromEvent () const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
bool registeredToConsume (ProductHolderIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &)
 
virtual ~EDConsumerBase ()
 

Private Member Functions

std::vector< float > CalculateAveragePerColumn (uint32_t detid, std::string label)
 
virtual void calibrationEnd ()
 
virtual void calibrationSetup (const edm::EventSetup &iSetup)
 
void fillDatabase ()
 
virtual void newDetID (uint32_t detid)
 
void printSummary ()
 

Private Attributes

bool appendMode_
 
bool bookBIGCalibPayload_
 
std::map< uint32_t, std::map
< std::string, MonitorElement * > > 
bookkeeper_
 
std::map< uint32_t, std::map
< std::string, MonitorElement * > > 
bookkeeper_pixels_
 
double chi2ProbThreshold_
 
double chi2Threshold_
 
edm::ParameterSet conf_
 
uint32_t currentDetID_
 
bool filldb_
 
std::string fitfunction_
 
TF1 * func_
 
float gainhi_
 
float gainlow_
 
TGraphErrors * graph_
 
bool ignoreMode_
 
std::vector< uint32_t > listofdetids_
 
double maxChi2InHist_
 
double maxGainInHist_
 
uint16_t min_nentries_
 
int nfitparameters_
 
float pedhi_
 
float pedlow_
 
double plateau_max_slope_
 
std::string recordName_
 
bool reject_badpoints_
 
double reject_badpoints_frac_
 
bool reject_first_point_
 
bool reject_plateaupoints_
 
bool reject_single_entries_
 
bool saveALLHistograms_
 
bool savePixelHists_
 
double scalarVcalHigh_VcalLow_
 
int * statusNumbers_
 
bool sum_gain_cols_
 
bool sum_ped_cols_
 
std::ofstream summary_
 
bool useVcalHigh_
 
bool writeSummary_
 

Additional Inherited Members

- Public Types inherited from edm::EDAnalyzer
typedef EDAnalyzer ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from SiPixelOfflineCalibAnalysisBase
static const std::vector< short > * getVcalValues ()
 
- Static Public Member Functions inherited from edm::EDAnalyzer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &)
 
- Static Public Attributes inherited from SiPixelOfflineCalibAnalysisBase
static TF1 * fitFunction_ = NULL
 
- Protected Member Functions inherited from SiPixelOfflineCalibAnalysisBase
uint32_t & EventNumber ()
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
- Protected Attributes inherited from SiPixelOfflineCalibAnalysisBase
edm::ESHandle
< SiPixelCalibConfiguration
calib_
 
std::string calibrationMode_
 
edm::ESHandle< TrackerGeometrygeom_
 
short nTriggers_
 
edm::ESHandle
< SiPixelFedCablingMap
theCablingMap_
 
- Static Protected Attributes inherited from SiPixelOfflineCalibAnalysisBase
static std::vector< short > vCalValues_
 

Detailed Description

Description: <one line="" class="" summary>="">

Implementation: <Notes on="" implementation>="">

Definition at line 48 of file SiPixelGainCalibrationAnalysis.h.

Constructor & Destructor Documentation

SiPixelGainCalibrationAnalysis::SiPixelGainCalibrationAnalysis ( const edm::ParameterSet iConfig)
explicit

Definition at line 34 of file SiPixelGainCalibrationAnalysis.cc.

SiPixelGainCalibrationAnalysis::~SiPixelGainCalibrationAnalysis ( )

Definition at line 86 of file SiPixelGainCalibrationAnalysis.cc.

Member Function Documentation

std::vector< float > SiPixelGainCalibrationAnalysis::CalculateAveragePerColumn ( uint32_t  detid,
std::string  label 
)
private

Definition at line 93 of file SiPixelGainCalibrationAnalysis.cc.

void SiPixelGainCalibrationAnalysis::calibrationEnd ( )
privatevirtual

Reimplemented from SiPixelOfflineCalibAnalysisBase.

Definition at line 173 of file SiPixelGainCalibrationAnalysis.cc.

void SiPixelGainCalibrationAnalysis::calibrationSetup ( const edm::EventSetup iSetup)
privatevirtual

Reimplemented from SiPixelOfflineCalibAnalysisBase.

Definition at line 127 of file SiPixelGainCalibrationAnalysis.cc.

bool SiPixelGainCalibrationAnalysis::checkCorrectCalibrationType ( )
virtual

Reimplemented from SiPixelOfflineCalibAnalysisBase.

Definition at line 111 of file SiPixelGainCalibrationAnalysis.cc.

bool SiPixelGainCalibrationAnalysis::doFits ( uint32_t  detid,
std::vector< SiPixelCalibDigi >::const_iterator  ipix 
)
virtual

Reimplemented from SiPixelOfflineCalibAnalysisBase.

Definition at line 190 of file SiPixelGainCalibrationAnalysis.cc.

void SiPixelGainCalibrationAnalysis::doSetup ( const edm::ParameterSet )
void SiPixelGainCalibrationAnalysis::fillDatabase ( )
private

Definition at line 182 of file SiPixelGainCalibrationAnalysis.cc.

void SiPixelGainCalibrationAnalysis::newDetID ( uint32_t  detid)
privatevirtual

Reimplemented from SiPixelOfflineCalibAnalysisBase.

Definition at line 471 of file SiPixelGainCalibrationAnalysis.cc.

void SiPixelGainCalibrationAnalysis::printSummary ( )
private

Definition at line 132 of file SiPixelGainCalibrationAnalysis.cc.

Member Data Documentation

bool SiPixelGainCalibrationAnalysis::appendMode_
private

Definition at line 103 of file SiPixelGainCalibrationAnalysis.h.

bool SiPixelGainCalibrationAnalysis::bookBIGCalibPayload_
private

Definition at line 89 of file SiPixelGainCalibrationAnalysis.h.

std::map<uint32_t,std::map<std::string, MonitorElement *> > SiPixelGainCalibrationAnalysis::bookkeeper_
private

Definition at line 70 of file SiPixelGainCalibrationAnalysis.h.

std::map<uint32_t,std::map<std::string, MonitorElement *> > SiPixelGainCalibrationAnalysis::bookkeeper_pixels_
private

Definition at line 71 of file SiPixelGainCalibrationAnalysis.h.

double SiPixelGainCalibrationAnalysis::chi2ProbThreshold_
private

Definition at line 92 of file SiPixelGainCalibrationAnalysis.h.

double SiPixelGainCalibrationAnalysis::chi2Threshold_
private

Definition at line 91 of file SiPixelGainCalibrationAnalysis.h.

edm::ParameterSet SiPixelGainCalibrationAnalysis::conf_
private

Definition at line 68 of file SiPixelGainCalibrationAnalysis.h.

uint32_t SiPixelGainCalibrationAnalysis::currentDetID_
private

Definition at line 120 of file SiPixelGainCalibrationAnalysis.h.

bool SiPixelGainCalibrationAnalysis::filldb_
private

Definition at line 98 of file SiPixelGainCalibrationAnalysis.h.

std::string SiPixelGainCalibrationAnalysis::fitfunction_
private

Definition at line 75 of file SiPixelGainCalibrationAnalysis.h.

TF1* SiPixelGainCalibrationAnalysis::func_
private

Definition at line 76 of file SiPixelGainCalibrationAnalysis.h.

float SiPixelGainCalibrationAnalysis::gainhi_
private

Definition at line 111 of file SiPixelGainCalibrationAnalysis.h.

float SiPixelGainCalibrationAnalysis::gainlow_
private

Definition at line 110 of file SiPixelGainCalibrationAnalysis.h.

TGraphErrors* SiPixelGainCalibrationAnalysis::graph_
private

Definition at line 77 of file SiPixelGainCalibrationAnalysis.h.

bool SiPixelGainCalibrationAnalysis::ignoreMode_
private

Definition at line 80 of file SiPixelGainCalibrationAnalysis.h.

std::vector<uint32_t> SiPixelGainCalibrationAnalysis::listofdetids_
private

Definition at line 79 of file SiPixelGainCalibrationAnalysis.h.

double SiPixelGainCalibrationAnalysis::maxChi2InHist_
private

Definition at line 94 of file SiPixelGainCalibrationAnalysis.h.

double SiPixelGainCalibrationAnalysis::maxGainInHist_
private

Definition at line 93 of file SiPixelGainCalibrationAnalysis.h.

uint16_t SiPixelGainCalibrationAnalysis::min_nentries_
private

Definition at line 114 of file SiPixelGainCalibrationAnalysis.h.

int SiPixelGainCalibrationAnalysis::nfitparameters_
private

Definition at line 74 of file SiPixelGainCalibrationAnalysis.h.

float SiPixelGainCalibrationAnalysis::pedhi_
private

Definition at line 113 of file SiPixelGainCalibrationAnalysis.h.

float SiPixelGainCalibrationAnalysis::pedlow_
private

Definition at line 112 of file SiPixelGainCalibrationAnalysis.h.

double SiPixelGainCalibrationAnalysis::plateau_max_slope_
private

Definition at line 86 of file SiPixelGainCalibrationAnalysis.h.

std::string SiPixelGainCalibrationAnalysis::recordName_
private

Definition at line 102 of file SiPixelGainCalibrationAnalysis.h.

bool SiPixelGainCalibrationAnalysis::reject_badpoints_
private

Definition at line 83 of file SiPixelGainCalibrationAnalysis.h.

double SiPixelGainCalibrationAnalysis::reject_badpoints_frac_
private

Definition at line 88 of file SiPixelGainCalibrationAnalysis.h.

bool SiPixelGainCalibrationAnalysis::reject_first_point_
private

Definition at line 87 of file SiPixelGainCalibrationAnalysis.h.

bool SiPixelGainCalibrationAnalysis::reject_plateaupoints_
private

Definition at line 84 of file SiPixelGainCalibrationAnalysis.h.

bool SiPixelGainCalibrationAnalysis::reject_single_entries_
private

Definition at line 85 of file SiPixelGainCalibrationAnalysis.h.

bool SiPixelGainCalibrationAnalysis::saveALLHistograms_
private

Definition at line 95 of file SiPixelGainCalibrationAnalysis.h.

bool SiPixelGainCalibrationAnalysis::savePixelHists_
private

Definition at line 90 of file SiPixelGainCalibrationAnalysis.h.

double SiPixelGainCalibrationAnalysis::scalarVcalHigh_VcalLow_
private

Definition at line 116 of file SiPixelGainCalibrationAnalysis.h.

int* SiPixelGainCalibrationAnalysis::statusNumbers_
private

Definition at line 121 of file SiPixelGainCalibrationAnalysis.h.

bool SiPixelGainCalibrationAnalysis::sum_gain_cols_
private

Definition at line 97 of file SiPixelGainCalibrationAnalysis.h.

bool SiPixelGainCalibrationAnalysis::sum_ped_cols_
private

Definition at line 96 of file SiPixelGainCalibrationAnalysis.h.

std::ofstream SiPixelGainCalibrationAnalysis::summary_
private

Definition at line 119 of file SiPixelGainCalibrationAnalysis.h.

bool SiPixelGainCalibrationAnalysis::useVcalHigh_
private

Definition at line 115 of file SiPixelGainCalibrationAnalysis.h.

bool SiPixelGainCalibrationAnalysis::writeSummary_
private

Definition at line 99 of file SiPixelGainCalibrationAnalysis.h.