1 #ifndef _SiPixelActionExecutor_h_
2 #define _SiPixelActionExecutor_h_
24 #define PI_12 0.261799
28 #define NLev1 4 // Number of HalfCylinders in Endcap or number of Shells in Barrel, which is bigger
29 #define NLev2 3 // Number of Disks in Endcap or number of Layers in Barrel, which is bigger
30 #define NLev3 22 // Number of Blades in Endcap or number of Ladders in Barrel, which is bigger
31 #define NLev4 7 // Number of Modules - different for Endcap and Barrel, which is bigger
78 int & sum_barrel_freq,
79 int & sum_endcap_freq,
80 int & sum_grandbarrel_freq,
81 int & sum_grandendcap_freq,
118 std::vector<std::string> & me_names,
124 std::vector<std::string> & me_names);
126 std::vector<std::string> & me_names,
129 std::vector<std::string> & me_names,
134 std::vector<MonitorElement*> & mes);
void dumpRefValues(DQMStore *bei, edm::EventSetup const &eSetup)
void bookDeviations(DQMStore *bei, bool isUpgrade)
MonitorElement * PixelOccupancyMap
void dumpBarrelRefValues(DQMStore *bei, edm::EventSetup const &eSetup)
void fillGrandBarrelSummaryHistos(DQMStore *bei, std::vector< std::string > &me_names, bool isUpgrade)
MonitorElement * HitEfficiency_Dp3
static const HistoName names[]
void fillOccupancy(DQMStore *bei, bool isbarrel)
void createTkMap(DQMStore *bei, std::string mEName, std::string theTKType)
MonitorElement * HitEfficiency_L4
MonitorElement * DEV_size_Barrel
MonitorElement * HitEfficiency_L3
void createMaps(DQMStore *bei, std::string type, std::string name, funcType ff)
void bookOccupancyPlots(DQMStore *bei, bool hiRes, bool isbarrel)
SiPixelConfigParser * configParser_
void createEfficiency(DQMStore *bei, bool isUpgrade)
MonitorElement * DEV_nclusters_Barrel
MonitorElement * HitEfficiency_Dm2
MonitorElement * HitEfficiency_L2
void dumpBarrelModIds(DQMStore *bei, edm::EventSetup const &eSetup)
MonitorElement * getSummaryME(DQMStore *bei, std::string me_name, bool isUpgrade)
void bookTrackerMaps(DQMStore *bei, std::string name)
void fillEfficiency(DQMStore *bei, bool isbarrel, bool isUpgrade)
void fillSummary(DQMStore *bei, std::string dir_name, std::vector< std::string > &me_names, bool isbarrel, bool isUpgrade)
void fillLayout(DQMStore *bei)
void setupQTests(DQMStore *bei)
MonitorElement * OccupancyMap
std::vector< std::string > summaryMENames
SiPixelConfigWriter * configWriter_
void prephistosE(MonitorElement *me[NCyl], DQMStore *bei, const Double_t map[][NLev2][NLev3][NLev4], std::string name, Double_t min, Double_t max)
std::vector< std::string > tkMapMENames
void createOccupancy(DQMStore *bei)
const T & max(const T &a, const T &b)
void bookEfficiency(DQMStore *bei, bool isUpgrade)
edm::ESHandle< SiPixelFedCablingMap > theCablingMap
MonitorElement * DEV_adc_Endcap
void fillDeviations(DQMStore *bei)
void createLayout(DQMStore *bei)
MonitorElement * DEV_charge_Endcap
Double_t mapMin(const Double_t map[][NLev2][NLev3][NLev4], bool isBarrel)
void fillGrandEndcapSummaryHistos(DQMStore *bei, std::vector< std::string > &me_names, bool isUpgrade)
void createSummary(DQMStore *bei, bool isUpgrade)
int getTkMapMENames(std::vector< std::string > &names)
void dumpEndcapModIds(DQMStore *bei, edm::EventSetup const &eSetup)
int createMap(Double_t map[][NLev2][NLev3][NLev4], std::string type, DQMStore *bei, funcType ff, bool isBarrel)
SiPixelActionExecutor(bool offlineXMLfile, bool Tier0Flag)
MonitorElement * DEV_charge_Barrel
MonitorElement * HitEfficiency_Dm3
void dumpEndcapRefValues(DQMStore *bei, edm::EventSetup const &eSetup)
void getData(Double_t map[][NLev2][NLev3][NLev4], std::string type, DQMStore *bei, funcType ff, Int_t i, Int_t j, Int_t k, Int_t l)
void GetBladeSubdirs(DQMStore *bei, std::vector< std::string > &blade_subdirs)
MonitorElement * HitEfficiency_L1
MonitorElement * DEV_nclusters_Endcap
MonitorElement * HitEfficiency_Dp1
Double_t mapMax(const Double_t map[][NLev2][NLev3][NLev4], bool isBarrel)
MonitorElement * DEV_size_Endcap
void prephistosB(MonitorElement *me[NCyl], DQMStore *bei, const Double_t map[][NLev2][NLev3][NLev4], std::string name, Double_t min, Double_t max)
MonitorElement * getFEDSummaryME(DQMStore *bei, std::string me_name)
MonitorElement * HitEfficiency_Dp2
void getGrandSummaryME(DQMStore *bei, int nbin, std::string &me_name, std::vector< MonitorElement * > &mes)
MonitorElement * DEV_ndigis_Endcap
MonitorElement * HitEfficiency_Dm1
void checkQTestResults(DQMStore *bei)
MonitorElement * DEV_ndigis_Barrel
MonitorElement * DEV_adc_Barrel
void dumpModIds(DQMStore *bei, edm::EventSetup const &eSetup)
void fillFEDErrorSummary(DQMStore *bei, std::string dir_name, std::vector< std::string > &me_names)