#include <RPCEfficiencySecond.h>
Class for RPC Monitoring: use RPCDigi and DT and CSC Segments.
Definition at line 39 of file RPCEfficiencySecond.h.
RPCEfficiencySecond::RPCEfficiencySecond | ( | const edm::ParameterSet & | iConfig | ) | [explicit] |
Definition at line 54 of file RPCEfficiencySecond.cc.
References barrel, debug, endcap, folderPath, edm::ParameterSet::getUntrackedParameter(), NameFile, and SaveFile.
{ SaveFile = iConfig.getUntrackedParameter<bool>("SaveFile", false); NameFile = iConfig.getUntrackedParameter<std::string>("NameFile","RPCEfficiency.root"); folderPath = iConfig.getUntrackedParameter<std::string>("folderPath","RPC/RPCEfficiency/"); debug = iConfig.getUntrackedParameter<bool>("debug",false); barrel = iConfig.getUntrackedParameter<bool>("barrel"); endcap = iConfig.getUntrackedParameter<bool>("endcap"); }
RPCEfficiencySecond::~RPCEfficiencySecond | ( | ) |
Definition at line 63 of file RPCEfficiencySecond.cc.
{}
void RPCEfficiencySecond::analyze | ( | const edm::Event & | iEvent, |
const edm::EventSetup & | iSetup | ||
) | [private, virtual] |
void RPCEfficiencySecond::beginRun | ( | const edm::Run & | , |
const edm::EventSetup & | iSetup | ||
) | [private, virtual] |
Reimplemented from edm::EDAnalyzer.
Definition at line 65 of file RPCEfficiencySecond.cc.
References AverageEffD1, AverageEffD1far, AverageEffD2, AverageEffD2far, AverageEffD3, AverageEffD3far, AverageEffDm1, AverageEffDm1far, AverageEffDm2, AverageEffDm2far, AverageEffDm3, AverageEffDm3far, AverageEffW0, AverageEffW0far, AverageEffW1, AverageEffW1far, AverageEffW2, AverageEffW2far, AverageEffWm1, AverageEffWm1far, AverageEffWm2, AverageEffWm2far, DQMStore::book1D(), DQMStore::book2D(), BXGlobD1, BXGlobD1far, BXGlobD2, BXGlobD2far, BXGlobD3, BXGlobD3far, BXGlobDm1, BXGlobDm1far, BXGlobDm2, BXGlobDm2far, BXGlobDm3, BXGlobDm3far, BXGlobW0, BXGlobW0far, BXGlobW1, BXGlobW1far, BXGlobW2, BXGlobW2far, BXGlobWm1, BXGlobWm1far, BXGlobWm2, BXGlobWm2far, gather_cfg::cout, dbe, debug, Disk1Summary, Disk2Summary, Disk3Summary, Diskm1Summary, Diskm2Summary, Diskm3Summary, EffDistroD1, EffDistroD1far, EffDistroD2, EffDistroD2far, EffDistroD3, EffDistroD3far, EffDistroDm1, EffDistroDm1far, EffDistroDm2, EffDistroDm2far, EffDistroDm3, EffDistroDm3far, EffDistroW0, EffDistroW0far, EffDistroW1, EffDistroW1far, EffDistroW2, EffDistroW2far, EffDistroWm1, EffDistroWm1far, EffDistroWm2, EffDistroWm2far, EffGlobD1, EffGlobD1far, EffGlobD2, EffGlobD2far, EffGlobD3, EffGlobD3far, EffGlobDm1, EffGlobDm1far, EffGlobDm2, EffGlobDm2far, EffGlobDm3, EffGlobDm3far, EffGlobW0, EffGlobW0far, EffGlobW1, EffGlobW1far, EffGlobW2, EffGlobW2far, EffGlobWm1, EffGlobWm1far, EffGlobWm2, EffGlobWm2far, ExGregD1R2, ExGregD1R3, ExGregD2R2, ExGregD2R3, ExGregD3R2, ExGregD3R3, ExsectorEffW0, ExsectorEffW1, ExsectorEffW2, ExsectorEffWm1, ExsectorEffWm2, folderPath, GregD1R2, GregD1R3, GregD2R2, GregD2R3, GregD3R2, GregD3R3, hGlobal2ResClu1La1, hGlobal2ResClu1La2, hGlobal2ResClu1La3, hGlobal2ResClu1La4, hGlobal2ResClu1La5, hGlobal2ResClu1La6, hGlobal2ResClu1R2A, hGlobal2ResClu1R2B, hGlobal2ResClu1R2C, hGlobal2ResClu1R3A, hGlobal2ResClu1R3B, hGlobal2ResClu1R3C, hGlobal2ResClu2La1, hGlobal2ResClu2La2, hGlobal2ResClu2La3, hGlobal2ResClu2La4, hGlobal2ResClu2La5, hGlobal2ResClu2La6, hGlobal2ResClu2R2A, hGlobal2ResClu2R2B, hGlobal2ResClu2R2C, hGlobal2ResClu2R3A, hGlobal2ResClu2R3B, hGlobal2ResClu2R3C, hGlobal2ResClu3La1, hGlobal2ResClu3La2, hGlobal2ResClu3La3, hGlobal2ResClu3La4, hGlobal2ResClu3La5, hGlobal2ResClu3La6, hGlobal2ResClu3R2A, hGlobal2ResClu3R2B, hGlobal2ResClu3R2C, hGlobal2ResClu3R3A, hGlobal2ResClu3R3B, hGlobal2ResClu3R3C, MaskedGlobD1, MaskedGlobD1far, MaskedGlobD2, MaskedGlobD2far, MaskedGlobD3, MaskedGlobD3far, MaskedGlobDm1, MaskedGlobDm1far, MaskedGlobDm2, MaskedGlobDm2far, MaskedGlobDm3, MaskedGlobDm3far, MaskedGlobW0, MaskedGlobW0far, MaskedGlobW1, MaskedGlobW1far, MaskedGlobW2, MaskedGlobW2far, MaskedGlobWm1, MaskedGlobWm1far, MaskedGlobWm2, MaskedGlobWm2far, NoPredictionD1, NoPredictionD1far, NoPredictionD2, NoPredictionD2far, NoPredictionD3, NoPredictionD3far, NoPredictionDm1, NoPredictionDm1far, NoPredictionDm2, NoPredictionDm2far, NoPredictionDm3, NoPredictionDm3far, NoPredictionW0, NoPredictionW0far, NoPredictionW1, NoPredictionW1far, NoPredictionW2, NoPredictionW2far, NoPredictionWm1, NoPredictionWm1far, NoPredictionWm2, NoPredictionWm2far, OcGregD1R2, OcGregD1R3, OcGregD2R2, OcGregD2R3, OcGregD3R2, OcGregD3R3, OcsectorEffW0, OcsectorEffW1, OcsectorEffW2, OcsectorEffWm1, OcsectorEffWm2, cmsCodeRules::cppFunctionSkipper::operator, sectorEffW0, sectorEffW1, sectorEffW2, sectorEffWm1, sectorEffWm2, DQMStore::setCurrentFolder(), statistics2, Wheel0Summary, Wheel1Summary, Wheel2Summary, Wheelm1Summary, and Wheelm2Summary.
{ dbe = edm::Service<DQMStore>().operator->(); if(debug) std::cout<<"Booking Residuals Barrel"<<std::endl; dbe->setCurrentFolder(folderPath+"ResidualsBarrel/"); //Barrel hGlobal2ResClu1La1 = dbe->book1D("GlobalResidualsClu1La1","RPC Residuals Layer 1 Cluster Size 1",101,-10.,10.); hGlobal2ResClu1La2 = dbe->book1D("GlobalResidualsClu1La2","RPC Residuals Layer 2 Cluster Size 1",101,-10.,10.); hGlobal2ResClu1La3 = dbe->book1D("GlobalResidualsClu1La3","RPC Residuals Layer 3 Cluster Size 1",101,-10.,10.); hGlobal2ResClu1La4 = dbe->book1D("GlobalResidualsClu1La4","RPC Residuals Layer 4 Cluster Size 1",101,-10.,10.); hGlobal2ResClu1La5 = dbe->book1D("GlobalResidualsClu1La5","RPC Residuals Layer 5 Cluster Size 1",101,-10.,10.); hGlobal2ResClu1La6 = dbe->book1D("GlobalResidualsClu1La6","RPC Residuals Layer 6 Cluster Size 1",101,-10.,10.); hGlobal2ResClu2La1 = dbe->book1D("GlobalResidualsClu2La1","RPC Residuals Layer 1 Cluster Size 2",101,-10.,10.); hGlobal2ResClu2La2 = dbe->book1D("GlobalResidualsClu2La2","RPC Residuals Layer 2 Cluster Size 2",101,-10.,10.); hGlobal2ResClu2La3 = dbe->book1D("GlobalResidualsClu2La3","RPC Residuals Layer 3 Cluster Size 2",101,-10.,10.); hGlobal2ResClu2La4 = dbe->book1D("GlobalResidualsClu2La4","RPC Residuals Layer 4 Cluster Size 2",101,-10.,10.); hGlobal2ResClu2La5 = dbe->book1D("GlobalResidualsClu2La5","RPC Residuals Layer 5 Cluster Size 2",101,-10.,10.); hGlobal2ResClu2La6 = dbe->book1D("GlobalResidualsClu2La6","RPC Residuals Layer 6 Cluster Size 2",101,-10.,10.); hGlobal2ResClu3La1 = dbe->book1D("GlobalResidualsClu3La1","RPC Residuals Layer 1 Cluster Size 3",101,-10.,10.); hGlobal2ResClu3La2 = dbe->book1D("GlobalResidualsClu3La2","RPC Residuals Layer 2 Cluster Size 3",101,-10.,10.); hGlobal2ResClu3La3 = dbe->book1D("GlobalResidualsClu3La3","RPC Residuals Layer 3 Cluster Size 3",101,-10.,10.); hGlobal2ResClu3La4 = dbe->book1D("GlobalResidualsClu3La4","RPC Residuals Layer 4 Cluster Size 3",101,-10.,10.); hGlobal2ResClu3La5 = dbe->book1D("GlobalResidualsClu3La5","RPC Residuals Layer 5 Cluster Size 3",101,-10.,10.); hGlobal2ResClu3La6 = dbe->book1D("GlobalResidualsClu3La6","RPC Residuals Layer 6 Cluster Size 3",101,-10.,10.); if(debug) std::cout<<"Booking Residuals EndCaps"<<std::endl; dbe->setCurrentFolder(folderPath+"ResidualsEndCaps/"); //Endcap hGlobal2ResClu1R3C = dbe->book1D("GlobalResidualsClu1R3C","RPC Residuals Ring 3 Roll C Cluster Size 1",101,-10.,10.); hGlobal2ResClu1R3B = dbe->book1D("GlobalResidualsClu1R3B","RPC Residuals Ring 3 Roll B Cluster Size 1",101,-10.,10.); hGlobal2ResClu1R3A = dbe->book1D("GlobalResidualsClu1R3A","RPC Residuals Ring 3 Roll A Cluster Size 1",101,-10.,10.); hGlobal2ResClu1R2C = dbe->book1D("GlobalResidualsClu1R2C","RPC Residuals Ring 2 Roll C Cluster Size 1",101,-10.,10.); hGlobal2ResClu1R2B = dbe->book1D("GlobalResidualsClu1R2B","RPC Residuals Ring 2 Roll B Cluster Size 1",101,-10.,10.); hGlobal2ResClu1R2A = dbe->book1D("GlobalResidualsClu1R2A","RPC Residuals Ring 2 Roll A Cluster Size 1",101,-10.,10.); hGlobal2ResClu2R3C = dbe->book1D("GlobalResidualsClu2R3C","RPC Residuals Ring 3 Roll C Cluster Size 2",101,-10.,10.); hGlobal2ResClu2R3B = dbe->book1D("GlobalResidualsClu2R3B","RPC Residuals Ring 3 Roll B Cluster Size 2",101,-10.,10.); hGlobal2ResClu2R3A = dbe->book1D("GlobalResidualsClu2R3A","RPC Residuals Ring 3 Roll A Cluster Size 2",101,-10.,10.); hGlobal2ResClu2R2C = dbe->book1D("GlobalResidualsClu2R2C","RPC Residuals Ring 2 Roll C Cluster Size 2",101,-10.,10.); hGlobal2ResClu2R2B = dbe->book1D("GlobalResidualsClu2R2B","RPC Residuals Ring 2 Roll B Cluster Size 2",101,-10.,10.); hGlobal2ResClu2R2A = dbe->book1D("GlobalResidualsClu2R2A","RPC Residuals Ring 2 Roll A Cluster Size 2",101,-10.,10.); hGlobal2ResClu3R3C = dbe->book1D("GlobalResidualsClu3R3C","RPC Residuals Ring 3 Roll C Cluster Size 3",101,-10.,10.); hGlobal2ResClu3R3B = dbe->book1D("GlobalResidualsClu3R3B","RPC Residuals Ring 3 Roll B Cluster Size 3",101,-10.,10.); hGlobal2ResClu3R3A = dbe->book1D("GlobalResidualsClu3R3A","RPC Residuals Ring 3 Roll A Cluster Size 3",101,-10.,10.); hGlobal2ResClu3R2C = dbe->book1D("GlobalResidualsClu3R2C","RPC Residuals Ring 2 Roll C Cluster Size 3",101,-10.,10.); hGlobal2ResClu3R2B = dbe->book1D("GlobalResidualsClu3R2B","RPC Residuals Ring 2 Roll B Cluster Size 3",101,-10.,10.); hGlobal2ResClu3R2A = dbe->book1D("GlobalResidualsClu3R2A","RPC Residuals Ring 2 Roll A Cluster Size 3",101,-10.,10.); if(debug) std::cout<<"Booking EffDistros"<<std::endl; dbe->setCurrentFolder(folderPath); if(debug) std::cout<<"Booking statistcs2"<<std::endl; dbe->setCurrentFolder(folderPath); statistics2 = dbe->book1D("AllStatistics","Analyzed Events DT and CSC Segments",33,0.5,33.5); //Barrel dbe->setCurrentFolder(folderPath+"Wheel_-2"); EffDistroWm2=dbe->book1D("EffDistroWheel_-2near","Efficiency Distribution for Near Side Wheel -2 ",20,0.5,100.5); EffDistroWm2far=dbe->book1D("EffDistroWheel_-2far","Efficiency Distribution for Far Side Wheel -2 ",20,0.5,100.5); EffGlobWm2=dbe->book1D("GlobEfficiencyWheel_-2near","Efficiency Near Side Wheel -2 ",101,0.5,101.5); EffGlobWm2far=dbe->book1D("GlobEfficiencyWheel_-2far","Efficiency Far Side Wheel -2",105,0.5,105.5); BXGlobWm2= dbe->book1D("GlobBXWheel_-2near","BX Near Side Wheel -2",101,0.5,101.5); BXGlobWm2far= dbe->book1D("GlobBXWheel_-2far","BX Far Side Wheel -2",105,0.5,105.5); MaskedGlobWm2= dbe->book1D("GlobMaskedWheel_-2near","Masked Near Side Wheel -2",101,0.5,101.5); MaskedGlobWm2far= dbe->book1D("GlobMaskedWheel_-2far","Masked Far Side Wheel -2",105,0.5,105.5); AverageEffWm2=dbe->book1D("AverageEfficiencyWheel_-2near","Average Efficiency Near Side Wheel -2 ",101,0.5,101.5); AverageEffWm2far =dbe->book1D("AverageEfficiencyWheel_-2far","Average Efficiency Far Side Wheel -2 ",105,0.5,105.5); NoPredictionWm2=dbe->book1D("NoPredictionWheel_-2near","No Predictions Near Side Wheel -2 ",101,0.5,101.5); NoPredictionWm2far=dbe->book1D("NoPredictionWheel_-2far","No Predictions Efficiency Far Side Wheel -2 ",105,0.5,105.5); dbe->setCurrentFolder(folderPath+"Wheel_-1"); EffDistroWm1=dbe->book1D("EffDistroWheel_-1near","Efficiency Distribution for Near Side Wheel -1 ",20,0.5,100.5); EffDistroWm1far=dbe->book1D("EffDistroWheel_-1far","Efficiency Distribution for Far Side Wheel -1 ",20,0.5,100.5); EffGlobWm1= dbe->book1D("GlobEfficiencyWheel_-1near","Efficiency Near Side Wheel -1",101,0.5,101.5); EffGlobWm1far=dbe->book1D("GlobEfficiencyWheel_-1far","Efficiency Far Side Wheel -1",105,0.5,105.5); BXGlobWm1= dbe->book1D("GlobBXWheel_-1near","BX Near Side Wheel -1",101,0.5,101.5); BXGlobWm1far= dbe->book1D("GlobBXWheel_-1far","BX Far Side Wheel -1",105,0.5,105.5); MaskedGlobWm1= dbe->book1D("GlobMaskedWheel_-1near","Masked Near Side Wheel -1",101,0.5,101.5); MaskedGlobWm1far= dbe->book1D("GlobMaskedWheel_-1far","Masked Far Side Wheel -1",105,0.5,105.5); AverageEffWm1=dbe->book1D("AverageEfficiencyWheel_-1near","Average Efficiency Near Side Wheel -1 ",101,0.5,101.5); AverageEffWm1far=dbe->book1D("AverageEfficiencyWheel_-1far","Average Efficiency Far Side Wheel -1 ",105,0.5,105.5); NoPredictionWm1=dbe->book1D("NoPredictionWheel_-1near","No Predictions Near Side Wheel -1 ",101,0.5,101.5); NoPredictionWm1far=dbe->book1D("NoPredictionWheel_-1far","No Predictions Efficiency Far Side Wheel -1 ",105,0.5,105.5); dbe->setCurrentFolder(folderPath+"Wheel_0"); EffDistroW0=dbe->book1D("EffDistroWheel_0near","Efficiency Distribution for Near Side Wheel 0 ",20,0.5,100.5); EffDistroW0far=dbe->book1D("EffDistroWheel_0far","Efficiency Distribution for Far Side Wheel 0 ",20,0.5,100.5); EffGlobW0 = dbe->book1D("GlobEfficiencyWheel_0near","Efficiency Near Side Wheel 0",101,0.5,101.5); EffGlobW0far =dbe->book1D("GlobEfficiencyWheel_0far","Efficiency Far Side Wheel 0",105,0.5,105.5); BXGlobW0 = dbe->book1D("GlobBXWheel_0near","BX Near Side Wheel 0",101,0.5,101.5); BXGlobW0far = dbe->book1D("GlobBXWheel_0far","BX Far Side Wheel 0",105,0.5,105.5); MaskedGlobW0 = dbe->book1D("GlobMaskedWheel_0near","Masked Near Side Wheel 0",101,0.5,101.5); MaskedGlobW0far = dbe->book1D("GlobMaskedWheel_0far","Masked Far Side Wheel 0",105,0.5,105.5); AverageEffW0=dbe->book1D("AverageEfficiencyWheel_0near","Average Efficiency Near Side Wheel 0 ",101,0.5,101.5); AverageEffW0far=dbe->book1D("AverageEfficiencyWheel_0far","Average Efficiency Far Side Wheel 0 ",105,0.5,105.5); NoPredictionW0=dbe->book1D("NoPredictionWheel_0near","No Predictions Near Side Wheel 0 ",101,0.5,101.5); NoPredictionW0far=dbe->book1D("NoPredictionWheel_0far","No Predictions Efficiency Far Side Wheel 0 ",105,0.5,105.5); dbe->setCurrentFolder(folderPath+"Wheel_1"); EffDistroW1=dbe->book1D("EffDistroWheel_1near","Efficiency Distribution for Near Side Wheel 1 ",20,0.5,100.5); EffDistroW1far=dbe->book1D("EffDistroWheel_1far","Efficiency Distribution for Far Side Wheel 1 ",20,0.5,100.5); EffGlobW1 = dbe->book1D("GlobEfficiencyWheel_1near","Efficiency Near Side Wheel 1",101,0.5,101.5); EffGlobW1far =dbe->book1D("GlobEfficiencyWheel_1far","Efficiency Far Side Wheel 1",105,0.5,105.5); BXGlobW1 = dbe->book1D("GlobBXWheel_1near","BX Near Side Wheel 1",101,0.5,101.5); BXGlobW1far = dbe->book1D("GlobBXWheel_1far","BX Far Side Wheel 1",105,0.5,105.5); MaskedGlobW1 = dbe->book1D("GlobMaskedWheel_1near","Masked Near Side Wheel 1",101,0.5,101.5); MaskedGlobW1far = dbe->book1D("GlobMaskedWheel_1far","Masked Far Side Wheel 1",105,0.5,105.5); AverageEffW1=dbe->book1D("AverageEfficiencyWheel_1near","Average Efficiency Near Side Wheel 1 ",101,0.5,101.5); AverageEffW1far=dbe->book1D("AverageEfficiencyWheel_1far","Average Efficiency Far Side Wheel 1 ",105,0.5,105.5); NoPredictionW1=dbe->book1D("NoPredictionWheel_1near","No Predictions Near Side Wheel 1 ",101,0.5,101.5); NoPredictionW1far=dbe->book1D("NoPredictionWheel_1far","No Predictions Efficiency Far Side Wheel 1 ",105,0.5,105.5); dbe->setCurrentFolder(folderPath+"Wheel_2"); EffDistroW2=dbe->book1D("EffDistroWheel_2near","Efficiency Distribution for Near Side Wheel 2 ",20,0.5,100.5); EffDistroW2far=dbe->book1D("EffDistroWheel_2far","Efficiency Distribution for Far Side Wheel 2 ",20,0.5,100.5); EffGlobW2 = dbe->book1D("GlobEfficiencyWheel_2near","Efficiency Near Side Wheel 2",101,0.5,101.5); EffGlobW2far =dbe->book1D("GlobEfficiencyWheel_2far","Efficiency Far Side Wheel 2",105,0.5,105.5); BXGlobW2 = dbe->book1D("GlobBXWheel_2near","BX Near Side Wheel 2",101,0.5,101.5); BXGlobW2far = dbe->book1D("GlobBXWheel_2far","BX Far Side Wheel 2",105,0.5,105.5); MaskedGlobW2 = dbe->book1D("GlobMaskedWheel_2near","Masked Near Side Wheel 2",101,0.5,101.5); MaskedGlobW2far = dbe->book1D("GlobMaskedWheel_2far","Masked Far Side Wheel 2",105,0.5,105.5); AverageEffW2=dbe->book1D("AverageEfficiencyWheel_2near","Average Efficiency Near Side Wheel 2 ",101,0.5,101.5); AverageEffW2far=dbe->book1D("AverageEfficiencyWheel_2far","Average Efficiency Far Side Wheel 2 ",105,0.5,105.5); NoPredictionW2=dbe->book1D("NoPredictionWheel_2near","No Predictions Near Side Wheel 2 ",101,0.5,101.5); NoPredictionW2far=dbe->book1D("NoPredictionWheel_2far","No Predictions Efficiency Far Side Wheel 2 ",105,0.5,105.5); //EndCap dbe->setCurrentFolder(folderPath+"Disk_3"); EffDistroD3=dbe->book1D("EffDistroDisk_3near","Efficiency Distribution Near Side Disk 3 ",20,0.5,100.5); EffDistroD3far=dbe->book1D("EffDistroDisk_3far","Efficiency Distribution Far Side Disk 3 ",20,0.5,100.5); EffGlobD3 = dbe->book1D("GlobEfficiencyDisk_3near","Efficiency Near Side Disk 3",109,0.5,109.5); EffGlobD3far =dbe->book1D("GlobEfficiencyDisk_3far","Efficiency Far Side Disk 3",109,0.5,109.5); BXGlobD3 = dbe->book1D("GlobBXDisk_3near","BX Near Side Disk 3",109,0.5,109.5); BXGlobD3far = dbe->book1D("GlobBXDisk_3far","BX Far Side Disk 3",109,0.5,109.5); MaskedGlobD3 = dbe->book1D("GlobMaskedDisk_3near","Masked Near Side Disk 3",109,0.5,109.5); MaskedGlobD3far = dbe->book1D("GlobMaskedDisk_3far","Masked Far Side Disk 3",109,0.5,109.5); AverageEffD3=dbe->book1D("AverageEfficiencyDisk_3near","Average Efficiency Near Side Disk 3 ",109,0.5,109.5); AverageEffD3far=dbe->book1D("AverageEfficiencyDisk_3far","Average Efficiency Far Side Disk 3 ",109,0.5,109.5); NoPredictionD3=dbe->book1D("NoPredictionDisk_3near","No Predictions Near Side Disk 3 ",109,0.5,109.5); NoPredictionD3far=dbe->book1D("NoPredictionDisk_3far","No Predictions Efficiency Far Side Disk 3 ",109,0.5,109.5); dbe->setCurrentFolder(folderPath+"Disk_2"); EffDistroD2=dbe->book1D("EffDistroDisk_2near","Efficiency Distribution Near Side Disk 2 ",20,0.5,100.5); EffDistroD2far=dbe->book1D("EffDistroDisk_2far","Efficiency Distribution Far Side Disk 2 ",20,0.5,100.5); EffGlobD2 = dbe->book1D("GlobEfficiencyDisk_2near","Efficiency Near Side Disk 2",109,0.5,109.5); EffGlobD2far =dbe->book1D("GlobEfficiencyDisk_2far","Efficiency Far Side Disk 2",109,0.5,109.5); BXGlobD2 = dbe->book1D("GlobBXDisk_2near","BX Near Side Disk 2",109,0.5,109.5); BXGlobD2far = dbe->book1D("GlobBXDisk_2far","BX Far Side Disk 2",109,0.5,109.5); MaskedGlobD2 = dbe->book1D("GlobMaskedDisk_2near","Masked Near Side Disk 2",109,0.5,109.5); MaskedGlobD2far = dbe->book1D("GlobMaskedDisk_2far","Masked Far Side Disk 2",109,0.5,109.5); AverageEffD2=dbe->book1D("AverageEfficiencyDisk_2near","Average Efficiency Near Side Disk 2 ",109,0.5,109.5); AverageEffD2far=dbe->book1D("AverageEfficiencyDisk_2far","Average Efficiency Far Side Disk 2 ",109,0.5,109.5); NoPredictionD2=dbe->book1D("NoPredictionDisk_2near","No Predictions Near Side Disk 2 ",109,0.5,109.5); NoPredictionD2far=dbe->book1D("NoPredictionDisk_2far","No Predictions Efficiency Far Side Disk 2 ",109,0.5,109.5); dbe->setCurrentFolder(folderPath+"Disk_1"); EffDistroD1=dbe->book1D("EffDistroDisk_1near","Efficiency Distribution Near Side Disk 1 ",20,0.5,100.5); EffDistroD1far=dbe->book1D("EffDistroDisk_1far","Efficiency Distribution Far Side Disk 1 ",20,0.5,100.5); EffGlobD1 = dbe->book1D("GlobEfficiencyDisk_1near","Efficiency Near Side Disk 1",109,0.5,109.5); EffGlobD1far =dbe->book1D("GlobEfficiencyDisk_1far","Efficiency Far Side Disk 1",109,0.5,109.5); BXGlobD1 = dbe->book1D("GlobBXDisk_1near","BX Near Side Disk 1",109,0.5,109.5); BXGlobD1far = dbe->book1D("GlobBXDisk_1far","BX Far Side Disk 1",109,0.5,109.5); MaskedGlobD1 = dbe->book1D("GlobMaskedDisk_1near","Masked Near Side Disk 1",109,0.5,109.5); MaskedGlobD1far = dbe->book1D("GlobMaskedDisk_1far","Masked Far Side Disk 1",109,0.5,109.5); AverageEffD1=dbe->book1D("AverageEfficiencyDisk_1near","Average Efficiency Near Side Disk 1 ",109,0.5,109.5); AverageEffD1far=dbe->book1D("AverageEfficiencyDisk_1far","Average Efficiency Far Side Disk 1 ",109,0.5,109.5); NoPredictionD1=dbe->book1D("NoPredictionDisk_1near","No Predictions Near Side Disk 1 ",109,0.5,109.5); NoPredictionD1far=dbe->book1D("NoPredictionDisk_1far","No Predictions Efficiency Far Side Disk 1 ",109,0.5,109.5); dbe->setCurrentFolder(folderPath+"Disk_-1"); EffDistroDm1=dbe->book1D("EffDistroDisk_m1near","Efficiency Distribution Near Side Disk - 1 ",20,0.5,100.5); EffDistroDm1far=dbe->book1D("EffDistroDisk_m1far","Efficiency Distribution Far Side Disk - 1 ",20,0.5,100.5); EffGlobDm1 = dbe->book1D("GlobEfficiencyDisk_m1near","Efficiency Near Side Disk -1",109,0.5,109.5); EffGlobDm1far =dbe->book1D("GlobEfficiencyDisk_m1far","Efficiency Far Side Disk -1",109,0.5,109.5); BXGlobDm1 = dbe->book1D("GlobBXDisk_m1near","BX Near Side Disk -1",109,0.5,109.5); BXGlobDm1far = dbe->book1D("GlobBXDisk_m1far","BX Far Side Disk -1",109,0.5,109.5); MaskedGlobDm1 = dbe->book1D("GlobMaskedDisk_m1near","Masked Near Side Disk -1",109,0.5,109.5); MaskedGlobDm1far = dbe->book1D("GlobMaskedDisk_m1far","Masked Far Side Disk -1",109,0.5,109.5); AverageEffDm1=dbe->book1D("AverageEfficiencyDisk_m1near","Average Efficiency Near Side Disk -1 ",109,0.5,109.5); AverageEffDm1far=dbe->book1D("AverageEfficiencyDisk_m1far","Average Efficiency Far Side Disk -1 ",109,0.5,109.5); NoPredictionDm1=dbe->book1D("NoPredictionDisk_m1near","No Predictions Near Side Disk -1 ",109,0.5,109.5); NoPredictionDm1far=dbe->book1D("NoPredictionDisk_m1far","No Predictions Efficiency Far Side Disk -1 ",109,0.5,109.5); dbe->setCurrentFolder(folderPath+"Disk_-2"); EffDistroDm2=dbe->book1D("EffDistroDisk_m2near","Efficiency Distribution Near Side Disk - 2 ",20,0.5,100.5); EffDistroDm2far=dbe->book1D("EffDistroDisk_m2far","Efficiency Distribution Far Side Disk - 2 ",20,0.5,100.5); EffGlobDm2 = dbe->book1D("GlobEfficiencyDisk_m2near","Efficiency Near Side Disk -2",109,0.5,109.5); EffGlobDm2far =dbe->book1D("GlobEfficiencyDisk_m2far","Efficiency Far Side Disk -2",109,0.5,109.5); BXGlobDm2 = dbe->book1D("GlobBXDisk_m2near","BX Near Side Disk -2",109,0.5,109.5); BXGlobDm2far = dbe->book1D("GlobBXDisk_m2far","BX Far Side Disk -2",109,0.5,109.5); MaskedGlobDm2 = dbe->book1D("GlobMaskedDisk_m2near","Masked Near Side Disk -2",109,0.5,109.5); MaskedGlobDm2far = dbe->book1D("GlobMaskedDisk_m2far","Masked Far Side Disk -2",109,0.5,109.5); AverageEffDm2=dbe->book1D("AverageEfficiencyDisk_m2near","Average Efficiency Near Side Disk -2 ",109,0.5,109.5); AverageEffDm2far=dbe->book1D("AverageEfficiencyDisk_m2far","Average Efficiency Far Side Disk -2 ",109,0.5,109.5); NoPredictionDm2=dbe->book1D("NoPredictionDisk_m2near","No Predictions Near Side Disk -2 ",109,0.5,109.5); NoPredictionDm2far=dbe->book1D("NoPredictionDisk_m2far","No Predictions Efficiency Far Side Disk -2 ",109,0.5,109.5); dbe->setCurrentFolder(folderPath+"Disk_-3"); EffDistroDm3=dbe->book1D("EffDistroDisk_m3near","Efficiency Distribution Near Side Disk - 3 ",20,0.5,100.5); EffDistroDm3far=dbe->book1D("EffDistroDisk_m3far","Efficiency Distribution Far Side Disk - 3 ",20,0.5,100.5); EffGlobDm3 = dbe->book1D("GlobEfficiencyDisk_m3near","Efficiency Near Side Disk -3",109,0.5,109.5); EffGlobDm3far =dbe->book1D("GlobEfficiencyDisk_m3far","Efficiency Far Side Disk -3",109,0.5,109.5); BXGlobDm3 = dbe->book1D("GlobBXDisk_m3near","BX Near Side Disk -3",109,0.5,109.5); BXGlobDm3far = dbe->book1D("GlobBXDisk_m3far","BX Far Side Disk -3",109,0.5,109.5); MaskedGlobDm3 = dbe->book1D("GlobMaskedDisk_m3near","Masked Near Side Disk -3",109,0.5,109.5); MaskedGlobDm3far = dbe->book1D("GlobMaskedDisk_m3far","Masked Far Side Disk -3",109,0.5,109.5); AverageEffDm3=dbe->book1D("AverageEfficiencyDisk_m3near","Average Efficiency Near Side Disk -3 ",109,0.5,109.5); AverageEffDm3far=dbe->book1D("AverageEfficiencyDisk_m3far","Average Efficiency Far Side Disk -3 ",109,0.5,109.5); NoPredictionDm3=dbe->book1D("NoPredictionDisk_m3near","No Predictions Near Side Disk -3 ",109,0.5,109.5); NoPredictionDm3far=dbe->book1D("NoPredictionDisk_m3far","No Predictions Efficiency Far Side Disk -3 ",109,0.5,109.5); //Summary Histograms dbe->setCurrentFolder(folderPath); std::string os; os="Efficiency_Roll_vs_Sector_Wheel_-2"; Wheelm2Summary = dbe->book2D(os, os, 12, 0.5,12.5, 21, 0.5, 21.5); os="Efficiency_Roll_vs_Sector_Wheel_-1"; Wheelm1Summary = dbe->book2D(os, os, 12, 0.5,12.5, 21, 0.5, 21.5); os="Efficiency_Roll_vs_Sector_Wheel_0"; Wheel0Summary = dbe->book2D(os, os, 12, 0.5,12.5, 21, 0.5, 21.5); os="Efficiency_Roll_vs_Sector_Wheel_+1"; Wheel1Summary = dbe->book2D(os, os, 12, 0.5,12.5, 21, 0.5, 21.5); os="Efficiency_Roll_vs_Sector_Wheel_+2"; Wheel2Summary = dbe->book2D(os, os, 12, 0.5,12.5, 21, 0.5, 21.5); os="Efficiency_Roll_vs_Segment_Disk_-3"; Diskm3Summary = dbe->book2D(os,os,36,0.5,36.5,6,0.5,6.5); os="Efficiency_Roll_vs_Segment_Disk_-2"; Diskm2Summary = dbe->book2D(os,os,36,0.5,36.5,6,0.5,6.5); os="Efficiency_Roll_vs_Segment_Disk_-1"; Diskm1Summary = dbe->book2D(os,os,36,0.5,36.5,6,0.5,6.5); os="Efficiency_Roll_vs_Segment_Disk_1"; Disk1Summary = dbe->book2D(os,os,36,0.5,36.5,6,0.5,6.5); os="Efficiency_Roll_vs_Segment_Disk_2"; Disk2Summary = dbe->book2D(os,os,36,0.5,36.5,6,0.5,6.5); os="Efficiency_Roll_vs_Segment_Disk_3"; Disk3Summary = dbe->book2D(os,os,36,0.5,36.5,6,0.5,6.5); //Azimutal Histograms dbe->setCurrentFolder(folderPath+"Azimutal/"); sectorEffWm2= dbe->book1D("AzimutalDistroWm2","Efficiency per Sector Wheel -2",12,0.5,12.5); sectorEffWm1= dbe->book1D("AzimutalDistroWm1","Efficiency per Sector Wheel -1",12,0.5,12.5); sectorEffW0= dbe->book1D("AzimutalDistroW0","Efficiency per Sector Wheel 0",12,0.5,12.5); sectorEffW1= dbe->book1D("AzimutalDistroW1","Efficiency per Sector Wheel 1",12,0.5,12.5); sectorEffW2= dbe->book1D("AzimutalDistroW2","Efficiency per Sector Wheel 2",12,0.5,12.5); OcsectorEffWm2= dbe->book1D("AzimutalDistroWm2","Occupancy per Sector Wheel -2",12,0.5,12.5); OcsectorEffWm1= dbe->book1D("AzimutalDistroWm1","Occupancy per Sector Wheel -1",12,0.5,12.5); OcsectorEffW0= dbe->book1D("AzimutalDistroW0","Ocuppancy per Sector Wheel 0",12,0.5,12.5); OcsectorEffW1= dbe->book1D("AzimutalDistroW1","Ocuppancy per Sector Wheel 1",12,0.5,12.5); OcsectorEffW2= dbe->book1D("AzimutalDistroW2","Ocupancy per Sector Wheel 2",12,0.5,12.5); ExsectorEffWm2= dbe->book1D("AzimutalDistroWm2","Expected per Sector Wheel -2",12,0.5,12.5); ExsectorEffWm1= dbe->book1D("AzimutalDistroWm1","Expected per Sector Wheel -1",12,0.5,12.5); ExsectorEffW0= dbe->book1D("AzimutalDistroW0","Expected per Sector Wheel 0",12,0.5,12.5); ExsectorEffW1= dbe->book1D("AzimutalDistroW1","Expected per Sector Wheel 1",12,0.5,12.5); ExsectorEffW2= dbe->book1D("AzimutalDistroW2","Expected per Sector Wheel 2",12,0.5,12.5); GregD1R2= dbe->book1D("GregDistroD1R2","Efficiency for Station 1 Ring 2",36,0.5,36.5); GregD1R3= dbe->book1D("GregDistroD1R3","Efficiency for Station 1 Ring 3",36,0.5,36.5); GregD2R2= dbe->book1D("GregDistroD2R2","Efficiency for Station 2 Ring 2",36,0.5,36.5); GregD2R3= dbe->book1D("GregDistroD2R3","Efficiency for Station 2 Ring 3",36,0.5,36.5); GregD3R2= dbe->book1D("GregDistroD3R2","Efficiency for Station 3 Ring 2",36,0.5,36.5); GregD3R3= dbe->book1D("GregDistroD3R3","Efficiency for Station 3 Ring 3",36,0.5,36.5); OcGregD1R2= dbe->book1D("OcGregDistroD1R2","Occupancy Distribution for Station 1 Ring 2",36,0.5,36.5); OcGregD1R3= dbe->book1D("OcGregDistroD1R3","Occupancy Distribution for Station 1 Ring 3",36,0.5,36.5); OcGregD2R2= dbe->book1D("OcGregDistroD2R2","Occupancy Distribution for Station 2 Ring 2",36,0.5,36.5); OcGregD2R3= dbe->book1D("OcGregDistroD2R3","Occupancy Distribution for Station 2 Ring 3",36,0.5,36.5); OcGregD3R2= dbe->book1D("OcGregDistroD3R2","Occupancy Distribution for Station 3 Ring 2",36,0.5,36.5); OcGregD3R3= dbe->book1D("OcGregDistroD3R3","Occupancy Distribution for Station 3 Ring 3",36,0.5,36.5); ExGregD1R2= dbe->book1D("ExGregDistroD1R2","Expected Distribution for Station 1 Ring 2",36,0.5,36.5); ExGregD1R3= dbe->book1D("ExGregDistroD1R3","Expected Distribution for Station 1 Ring 3",36,0.5,36.5); ExGregD2R2= dbe->book1D("ExGregDistroD2R2","Expected Distribution for Station 2 Ring 2",36,0.5,36.5); ExGregD2R3= dbe->book1D("ExGregDistroD2R3","Expected Distribution for Station 2 Ring 3",36,0.5,36.5); ExGregD3R2= dbe->book1D("ExGregDistroD3R2","Expected Distribution for Station 3 Ring 2",36,0.5,36.5); ExGregD3R3= dbe->book1D("ExGregDistroD3R3","Expected Distribution for Station 3 Ring 3",36,0.5,36.5); }
std::map< std::string, MonitorElement * > RPCEfficiencySecond::bookDetUnitSeg | ( | RPCDetId & | detId, |
int | nstrips, | ||
std::string | folder | ||
) | [private] |
Definition at line 14 of file RPCEfficiencyBookSecondStep.cc.
References DQMStore::book1D(), dbe, RPCBookFolderStructure::folderStructure(), RPCGeomServ::name(), RPCDetId::region(), and DQMStore::setCurrentFolder().
Referenced by endRun().
{ std::map<std::string, MonitorElement*> meMap; RPCBookFolderStructure * folderStr = new RPCBookFolderStructure(); //Anna std::string folder = folderPath+ "RollByRoll/" + folderStr->folderStructure(detId); delete folderStr; dbe->setCurrentFolder(folder); RPCGeomServ RPCname(detId); std::string nameRoll = RPCname.name(); char detUnitLabel[128]; char layerLabel[128]; sprintf(detUnitLabel ,"%s",nameRoll.c_str()); sprintf(layerLabel ,"%s",nameRoll.c_str()); char meId [128]; char meTitle [128]; //Begin booking DT if(detId.region()==0) { //std::cout<<"Booking "<<folder<<meId<<std::endl; sprintf(meId,"ExpectedOccupancyFromDT_%s",detUnitLabel); sprintf(meTitle,"ExpectedOccupancyFromDT_for_%s",layerLabel); meMap[meId] = dbe->book1D(meId, meTitle, nstrips, 0.5, nstrips+0.5); //std::cout<<"Booking "<<meId<<std::endl; sprintf(meId,"RPCDataOccupancyFromDT_%s",detUnitLabel); sprintf(meTitle,"RPCDataOccupancyFromDT_for_%s",layerLabel); meMap[meId] = dbe->book1D(meId, meTitle, nstrips, 0.5, nstrips+0.5); sprintf(meId,"Profile_%s",detUnitLabel); sprintf(meTitle,"Profile_for_%s",layerLabel); meMap[meId] = dbe->book1D(meId, meTitle, nstrips, 0.5, nstrips+0.5); //std::cout<<"Booking "<<folder<<meId<<std::endl; sprintf(meId,"BXDistribution_%s",detUnitLabel); sprintf(meTitle,"BXDistribution_for_%s",layerLabel); meMap[meId] = dbe->book1D(meId, meTitle, 11,-5.5, 5.5); }else{ //std::cout<<"Booking for the EndCap"<<detUnitLabel<<std::endl; //std::cout<<"Booking "<<meId<<std::endl; sprintf(meId,"ExpectedOccupancyFromCSC_%s",detUnitLabel); sprintf(meTitle,"ExpectedOccupancyFromCSC_for_%s",layerLabel); meMap[meId] = dbe->book1D(meId, meTitle, nstrips, 0.5, nstrips+0.5); //std::cout<<"Booking "<<meId<<std::endl; sprintf(meId,"RPCDataOccupancyFromCSC_%s",detUnitLabel); sprintf(meTitle,"RPCDataOccupancyFromCSC_for_%s",layerLabel); meMap[meId] = dbe->book1D(meId, meTitle, nstrips, 0.5, nstrips+0.5); //std::cout<<"Booking "<<meId<<std::endl; sprintf(meId,"Profile_%s",detUnitLabel); sprintf(meTitle,"Profile_for_%s",layerLabel); meMap[meId] = dbe->book1D(meId, meTitle, nstrips, 0.5, nstrips+0.5); //std::cout<<"Booking "<<meId<<std::endl; sprintf(meId,"BXDistribution_%s",detUnitLabel); sprintf(meTitle,"BXDistribution_for_%s",layerLabel); meMap[meId] = dbe->book1D(meId, meTitle, 11,-5.5, 5.5); } return meMap; }
void RPCEfficiencySecond::endJob | ( | void | ) | [private, virtual] |
void RPCEfficiencySecond::endRun | ( | const edm::Run & | r, |
const edm::EventSetup & | iSetup | ||
) | [private, virtual] |
Reimplemented from edm::EDAnalyzer.
Definition at line 359 of file RPCEfficiencySecond.cc.
References abs, AverageEffD1, AverageEffD1far, AverageEffD2, AverageEffD2far, AverageEffD3, AverageEffD3far, AverageEffDm1, AverageEffDm1far, AverageEffDm2, AverageEffDm2far, AverageEffDm3, AverageEffDm3far, AverageEffW0, AverageEffW0far, AverageEffW1, AverageEffW1far, AverageEffW2, AverageEffW2far, AverageEffWm1, AverageEffWm1far, AverageEffWm2, AverageEffWm2far, barrel, bookDetUnitSeg(), BXDistribution, BXGlobD1, BXGlobD1far, BXGlobD2, BXGlobD2far, BXGlobD3, BXGlobD3far, BXGlobDm1, BXGlobDm1far, BXGlobDm2, BXGlobDm2far, BXGlobDm3, BXGlobDm3far, BXGlobW0, BXGlobW0far, BXGlobW1, BXGlobW1far, BXGlobW2, BXGlobW2far, BXGlobWm1, BXGlobWm1far, BXGlobWm2, BXGlobWm2far, gather_cfg::cout, dbe, debug, Disk1Summary, Disk2Summary, Disk3Summary, Diskm1Summary, Diskm2Summary, Diskm3Summary, EffDistroD1, EffDistroD1far, EffDistroD2, EffDistroD2far, EffDistroD3, EffDistroD3far, EffDistroDm1, EffDistroDm1far, EffDistroDm2, EffDistroDm2far, EffDistroDm3, EffDistroDm3far, EffDistroW0, EffDistroW0far, EffDistroW1, EffDistroW1far, EffDistroW2, EffDistroW2far, EffDistroWm1, EffDistroWm1far, EffDistroWm2, EffDistroWm2far, EffGlobD1, EffGlobD1far, EffGlobD2, EffGlobD2far, EffGlobD3, EffGlobD3far, EffGlobDm1, EffGlobDm1far, EffGlobDm2, EffGlobDm2far, EffGlobDm3, EffGlobDm3far, EffGlobW0, EffGlobW0far, EffGlobW1, EffGlobW1far, EffGlobW2, EffGlobW2far, EffGlobWm1, EffGlobWm1far, EffGlobWm2, EffGlobWm2far, endcap, ExGregD1R2, ExGregD1R3, ExGregD2R2, ExGregD2R3, ExGregD3R2, ExGregD3R3, ExsectorEffW0, ExsectorEffW1, ExsectorEffW2, ExsectorEffWm1, ExsectorEffWm2, MonitorElement::Fill(), folderPath, RPCBookFolderStructure::folderStructure(), edm::EventSetup::get(), DQMStore::get(), MonitorElement::getBinContent(), MonitorElement::getMean(), MonitorElement::getRMS(), MonitorElement::getTH1F(), GregD1R2, GregD1R3, GregD2R2, GregD2R3, GregD3R2, GregD3R3, hGlobal2ResClu1La1, hGlobal2ResClu1La2, hGlobal2ResClu1La3, hGlobal2ResClu1La4, hGlobal2ResClu1La5, hGlobal2ResClu1La6, hGlobal2ResClu2La1, hGlobal2ResClu2La2, hGlobal2ResClu2La3, hGlobal2ResClu2La4, hGlobal2ResClu2La5, hGlobal2ResClu2La6, hGlobal2ResClu3La1, hGlobal2ResClu3La2, hGlobal2ResClu3La3, hGlobal2ResClu3La4, hGlobal2ResClu3La5, hGlobal2ResClu3La6, hGlobalResClu1La1, hGlobalResClu1La2, hGlobalResClu1La3, hGlobalResClu1La4, hGlobalResClu1La5, hGlobalResClu1La6, hGlobalResClu1R2A, hGlobalResClu1R2B, hGlobalResClu1R2C, hGlobalResClu1R3A, hGlobalResClu1R3B, hGlobalResClu1R3C, hGlobalResClu2La1, hGlobalResClu2La2, hGlobalResClu2La3, hGlobalResClu2La4, hGlobalResClu2La5, hGlobalResClu2La6, hGlobalResClu2R2A, hGlobalResClu2R2B, hGlobalResClu2R2C, hGlobalResClu2R3A, hGlobalResClu2R3B, hGlobalResClu2R3C, hGlobalResClu3La1, hGlobalResClu3La2, hGlobalResClu3La3, hGlobalResClu3La4, hGlobalResClu3La5, hGlobalResClu3La6, hGlobalResClu3R2A, hGlobalResClu3R2B, hGlobalResClu3R2C, hGlobalResClu3R3A, hGlobalResClu3R3B, hGlobalResClu3R3C, histoCSC, histoDT, histoPRO, histoRPC, i, j, gen::k, label, MaskedGlobD1, MaskedGlobD1far, MaskedGlobD2, MaskedGlobD2far, MaskedGlobD3, MaskedGlobD3far, MaskedGlobDm1, MaskedGlobDm1far, MaskedGlobDm2, MaskedGlobDm2far, MaskedGlobDm3, MaskedGlobDm3far, MaskedGlobW0, MaskedGlobW0far, MaskedGlobW1, MaskedGlobW1far, MaskedGlobW2, MaskedGlobW2far, MaskedGlobWm1, MaskedGlobWm1far, MaskedGlobWm2, MaskedGlobWm2far, meCollection, MultiGaussianStateTransform::N, RPCGeomServ::name(), NameFile, NoPredictionD1, NoPredictionD1far, NoPredictionD2, NoPredictionD2far, NoPredictionD3, NoPredictionD3far, NoPredictionDm1, NoPredictionDm1far, NoPredictionDm2, NoPredictionDm2far, NoPredictionDm3, NoPredictionDm3far, NoPredictionW0, NoPredictionW0far, NoPredictionW1, NoPredictionW1far, NoPredictionW2, NoPredictionW2far, NoPredictionWm1, NoPredictionWm1far, NoPredictionWm2, NoPredictionWm2far, connectstrParser::o, OcGregD1R2, OcGregD1R3, OcGregD2R2, OcGregD2R3, OcGregD3R2, OcGregD3R3, OcsectorEffW0, OcsectorEffW1, OcsectorEffW2, OcsectorEffWm1, OcsectorEffWm2, L1TEmulatorMonitor_cff::p, csvReporter::r, DetId::rawId(), RPCDetId::region(), RPCDetId::ring(), RPCChamber::rolls(), rollY(), DQMStore::save(), SaveFile, RPCDetId::sector(), sectorEffW0, sectorEffW1, sectorEffW2, sectorEffWm1, sectorEffWm2, RPCGeomServ::segment(), MonitorElement::setAxisRange(), MonitorElement::setAxisTitle(), MonitorElement::setBinContent(), MonitorElement::setBinError(), MonitorElement::setBinLabel(), RPCGeomServ::shortname(), mathSSE::sqrt(), RPCDetId::station(), statistics, statistics2, Wheel0Summary, Wheel1Summary, Wheel2Summary, Wheelm1Summary, Wheelm2Summary, ExpressReco_HICollisions_FallBack::x, and ExpressReco_HICollisions_FallBack::y.
{ if(debug) std::cout <<"\t Getting the RPC Geometry"<<std::endl; edm::ESHandle<RPCGeometry> rpcGeo; iSetup.get<MuonGeometryRecord>().get(rpcGeo); std::string label,folder; folder = folderPath; label = folder + "MuonSegEff/Statistics"; if(debug) std::cout<<"Getting statistcs="<<label<<std::endl; statistics = dbe->get(label); if(!statistics){ std::cout<<"Statistics Doesn't exist Not access to a monitor element"<<std::endl; std::cout<<label<<std::endl; edm::LogWarning("Missing rpcSource in the sequence") << " Statistics Doesn't exist."; return; } if(debug) std::cout<<"Cloning statistcs"<<std::endl; for(int i=1;i<=33;i++){ if(debug) std::cout<<statistics->getBinContent(i)<<std::endl; statistics2->setBinContent(i,statistics->getBinContent(i)); } statistics2->setBinLabel(1,"Events ",1); statistics2->setBinLabel(2,"Events with DT seg",1); statistics2->setBinLabel(3,"1 DT seg",1); statistics2->setBinLabel(4,"2 DT seg",1); statistics2->setBinLabel(5,"3 DT seg",1); statistics2->setBinLabel(6,"4 DT seg",1); statistics2->setBinLabel(7,"5 DT seg",1); statistics2->setBinLabel(8,"6 DT seg",1); statistics2->setBinLabel(9,"7 DT seg",1); statistics2->setBinLabel(10,"8 DT seg",1); statistics2->setBinLabel(11,"9 DT seg",1); statistics2->setBinLabel(12,"10 DT seg",1); statistics2->setBinLabel(13,"11 DT seg",1); statistics2->setBinLabel(14,"12 DT seg",1); statistics2->setBinLabel(15,"13 DT seg",1); statistics2->setBinLabel(16,"14 DT seg",1); statistics2->setBinLabel(17,"15 DT seg",1); statistics2->setBinLabel(18,"Events with CSC seg",1); statistics2->setBinLabel(16+3,"1 CSC seg",1); statistics2->setBinLabel(16+4,"2 CSC seg",1); statistics2->setBinLabel(16+5,"3 CSC seg",1); statistics2->setBinLabel(16+6,"4 CSC seg",1); statistics2->setBinLabel(16+7,"5 CSC seg",1); statistics2->setBinLabel(16+8,"6 CSC seg",1); statistics2->setBinLabel(16+9,"7 CSC seg",1); statistics2->setBinLabel(16+10,"8 CSC seg",1); statistics2->setBinLabel(16+11,"9 CSC seg",1); statistics2->setBinLabel(16+12,"10 CSC seg",1); statistics2->setBinLabel(16+13,"11 CSC seg",1); statistics2->setBinLabel(16+14,"12 CSC seg",1); statistics2->setBinLabel(16+15,"13 CSC seg",1); statistics2->setBinLabel(16+16,"14 CSC seg",1); statistics2->setBinLabel(16+17,"15 CSC seg",1); //Cloning Residuals. folder = folderPath+"MuonSegEff/Residuals/Barrel/"; label = folder + "GlobalResidualsClu1La1"; hGlobalResClu1La1 = dbe->get(label); label = folder + "GlobalResidualsClu1La2"; hGlobalResClu1La2 = dbe->get(label); label = folder + "GlobalResidualsClu1La3"; hGlobalResClu1La3 = dbe->get(label); label = folder + "GlobalResidualsClu1La4"; hGlobalResClu1La4 = dbe->get(label); label = folder + "GlobalResidualsClu1La5"; hGlobalResClu1La5 = dbe->get(label); label = folder + "GlobalResidualsClu1La6"; hGlobalResClu1La6 = dbe->get(label); label = folder + "GlobalResidualsClu2La1"; hGlobalResClu2La1 = dbe->get(label); label = folder + "GlobalResidualsClu2La2"; hGlobalResClu2La2 = dbe->get(label); label = folder + "GlobalResidualsClu2La3"; hGlobalResClu2La3 = dbe->get(label); label = folder + "GlobalResidualsClu2La4"; hGlobalResClu2La4 = dbe->get(label); label = folder + "GlobalResidualsClu2La5"; hGlobalResClu2La5 = dbe->get(label); label = folder + "GlobalResidualsClu2La6"; hGlobalResClu2La6 = dbe->get(label); label = folder + "GlobalResidualsClu3La1"; hGlobalResClu3La1 = dbe->get(label); label = folder + "GlobalResidualsClu3La2"; hGlobalResClu3La2 = dbe->get(label); label = folder + "GlobalResidualsClu3La3"; hGlobalResClu3La3 = dbe->get(label); label = folder + "GlobalResidualsClu3La4"; hGlobalResClu3La4 = dbe->get(label); label = folder + "GlobalResidualsClu3La5"; hGlobalResClu3La5 = dbe->get(label); label = folder + "GlobalResidualsClu3La6"; hGlobalResClu3La6 = dbe->get(label); if(debug) std::cout<<"Clonning for Barrel"<<std::endl; for(int i=1;i<=101;i++){ if(debug) std::cout<<"Global Residual"<<hGlobalResClu1La1->getBinContent(i)<<std::endl; hGlobal2ResClu1La1->setBinContent(i,hGlobalResClu1La1->getBinContent(i)); hGlobal2ResClu1La2->setBinContent(i,hGlobalResClu1La2->getBinContent(i)); hGlobal2ResClu1La3->setBinContent(i,hGlobalResClu1La3->getBinContent(i)); hGlobal2ResClu1La4->setBinContent(i,hGlobalResClu1La4->getBinContent(i)); hGlobal2ResClu1La5->setBinContent(i,hGlobalResClu1La5->getBinContent(i)); hGlobal2ResClu1La6->setBinContent(i,hGlobalResClu1La6->getBinContent(i)); hGlobal2ResClu2La1->setBinContent(i,hGlobalResClu2La1->getBinContent(i)); hGlobal2ResClu2La2->setBinContent(i,hGlobalResClu2La2->getBinContent(i)); hGlobal2ResClu2La3->setBinContent(i,hGlobalResClu2La3->getBinContent(i)); hGlobal2ResClu2La4->setBinContent(i,hGlobalResClu2La4->getBinContent(i)); hGlobal2ResClu2La5->setBinContent(i,hGlobalResClu2La5->getBinContent(i)); hGlobal2ResClu2La6->setBinContent(i,hGlobalResClu2La6->getBinContent(i)); hGlobal2ResClu3La1->setBinContent(i,hGlobalResClu3La1->getBinContent(i)); hGlobal2ResClu3La2->setBinContent(i,hGlobalResClu3La2->getBinContent(i)); hGlobal2ResClu3La3->setBinContent(i,hGlobalResClu3La3->getBinContent(i)); hGlobal2ResClu3La4->setBinContent(i,hGlobalResClu3La4->getBinContent(i)); hGlobal2ResClu3La5->setBinContent(i,hGlobalResClu3La5->getBinContent(i)); hGlobal2ResClu3La6->setBinContent(i,hGlobalResClu3La6->getBinContent(i)); } if(debug) std::cout<<"Clonning the EndCap"<<std::endl; folder = folderPath+"MuonSegEff/Residuals/EndCap/"; if(debug) std::cout<<folder<<std::endl; label = folder + "GlobalResidualsClu1R3C"; hGlobalResClu1R3C = dbe->get(label); //if(!hGlobalResClu1R3C)std::cout<<"hGlobal2ResClu1R3C dont exist"<<std::endl; //std::cout<<label<<std::endl; label = folder + "GlobalResidualsClu1R3B"; hGlobalResClu1R3B = dbe->get(label); //if(!hGlobalResClu1R3B)std::cout<<"hGlobal2ResClu1R3B dont exist"<<std::endl; //std::cout<<label<<std::endl; label = folder + "GlobalResidualsClu1R3A"; hGlobalResClu1R3A = dbe->get(label); label = folder + "GlobalResidualsClu1R2C"; hGlobalResClu1R2C = dbe->get(label); label = folder + "GlobalResidualsClu1R2B"; hGlobalResClu1R2B = dbe->get(label); label = folder + "GlobalResidualsClu1R2A"; hGlobalResClu1R2A = dbe->get(label); label = folder + "GlobalResidualsClu2R3C"; hGlobalResClu2R3C = dbe->get(label); label = folder + "GlobalResidualsClu2R3B"; hGlobalResClu2R3B = dbe->get(label); label = folder + "GlobalResidualsClu2R3A"; hGlobalResClu2R3A = dbe->get(label); label = folder + "GlobalResidualsClu2R2C"; hGlobalResClu2R2C = dbe->get(label); label = folder + "GlobalResidualsClu2R2B"; hGlobalResClu2R2B = dbe->get(label); label = folder + "GlobalResidualsClu2R2A"; hGlobalResClu2R2A = dbe->get(label); label = folder + "GlobalResidualsClu3R3C"; hGlobalResClu3R3C = dbe->get(label); label = folder + "GlobalResidualsClu3R3B"; hGlobalResClu3R3B = dbe->get(label); label = folder + "GlobalResidualsClu3R3A"; hGlobalResClu3R3A = dbe->get(label); label = folder + "GlobalResidualsClu3R2C"; hGlobalResClu3R2C = dbe->get(label); label = folder + "GlobalResidualsClu3R2B"; hGlobalResClu3R2B = dbe->get(label); label = folder + "GlobalResidualsClu3R2A"; hGlobalResClu3R2A = dbe->get(label); if(debug) std::cout<<"Going for!"<<std::endl; /*for(int i=1;i<=101;i++){ if(debug) std::cout<<i<<std::endl; hGlobal2ResClu1R3C->setBinContent(i,hGlobalResClu1R3C->getBinContent(i)); std::cout<<"hGlobal2ResClu1R3C"<<std::endl; hGlobal2ResClu1R3B->setBinContent(i,hGlobalResClu1R3B->getBinContent(i)); std::cout<<"hGlobal2ResClu1R3B"<<std::endl; hGlobal2ResClu1R3A->setBinContent(i,hGlobalResClu1R3A->getBinContent(i)); std::cout<<"hGlobal2ResClu1R3A"<<std::endl; hGlobal2ResClu1R2C->setBinContent(i,hGlobalResClu1R2C->getBinContent(i)); std::cout<<"hGlobal2ResClu1R2C"<<std::endl; hGlobal2ResClu1R2B->setBinContent(i,hGlobalResClu1R2B->getBinContent(i)); std::cout<<"hGlobal2ResClu1R2B"<<std::endl; hGlobal2ResClu1R2A->setBinContent(i,hGlobalResClu1R2A->getBinContent(i)); std::cout<<"hGlobal2ResClu1R2A"<<std::endl; hGlobal2ResClu2R3C->setBinContent(i,hGlobalResClu2R3C->getBinContent(i)); std::cout<<"hGlobal2ResClu2R3C"<<std::endl; hGlobal2ResClu2R3B->setBinContent(i,hGlobalResClu2R3B->getBinContent(i)); std::cout<<"hGlobal2ResClu2R3B"<<std::endl; hGlobal2ResClu2R3A->setBinContent(i,hGlobalResClu2R3A->getBinContent(i)); std::cout<<"hGlobal2ResClu2R3A"<<std::endl; hGlobal2ResClu2R2C->setBinContent(i,hGlobalResClu2R2C->getBinContent(i)); std::cout<<"hGlobal2ResClu2R2C"<<std::endl; hGlobal2ResClu2R2B->setBinContent(i,hGlobalResClu2R2B->getBinContent(i)); std::cout<<"hGlobal2ResClu2R2B"<<std::endl; hGlobal2ResClu2R2A->setBinContent(i,hGlobalResClu2R2A->getBinContent(i)); std::cout<<"hGlobal2ResClu2R2A"<<std::endl; hGlobal2ResClu3R3C->setBinContent(i,hGlobalResClu3R3C->getBinContent(i)); std::cout<<"hGlobal2ResClu3R3C"<<std::endl; hGlobal2ResClu3R3B->setBinContent(i,hGlobalResClu3R3B->getBinContent(i)); std::cout<<"hGlobal2ResClu3R3B"<<std::endl; hGlobal2ResClu3R3A->setBinContent(i,hGlobalResClu3R3A->getBinContent(i)); std::cout<<"hGlobal2ResClu3R3A"<<std::endl; hGlobal2ResClu3R2C->setBinContent(i,hGlobalResClu3R2C->getBinContent(i)); std::cout<<"hGlobal2ResClu3R2C"<<std::endl; hGlobal2ResClu3R2B->setBinContent(i,hGlobalResClu3R2B->getBinContent(i)); std::cout<<"hGlobal2ResClu3R2B"<<std::endl; hGlobal2ResClu3R2A->setBinContent(i,hGlobalResClu3R2A->getBinContent(i)); std::cout<<"hGlobal2ResClu3R2A"<<std::endl; }*/ //Setting Labels in Summary Label. std::stringstream binLabel; if(debug) std::cout<<"Putting Labels"<<std::endl; for(int i=1;i<=12;i++){ binLabel.str(""); binLabel<<"Sec "<<i; Wheelm2Summary->setBinLabel(i,binLabel.str(),1); Wheelm1Summary->setBinLabel(i,binLabel.str(),1); Wheel0Summary->setBinLabel(i,binLabel.str(),1); Wheel1Summary->setBinLabel(i,binLabel.str(),1); Wheel2Summary->setBinLabel(i,binLabel.str(),1); } binLabel.str(""); if(debug) std::cout<<"Default -1 for Barrel GUI"<<std::endl; for(int x = 1;x<=12;x++){ for(int y = 1;y<=21;y++){ Wheelm2Summary->setBinContent(x,y,-1); Wheelm1Summary->setBinContent(x,y,-1); Wheel0Summary->setBinContent(x,y,-1); Wheel1Summary->setBinContent(x,y,-1); Wheel2Summary->setBinContent(x,y,-1); } } for(int i=1;i<=36;i++){ binLabel.str(""); binLabel<<i; //if(debug) std::cout<<"Labeling EndCaps"<<binLabel.str()<<std::endl; Diskm3Summary->setBinLabel(i,binLabel.str(),1); Diskm2Summary->setBinLabel(i,binLabel.str(),1); Diskm1Summary->setBinLabel(i,binLabel.str(),1); Disk1Summary->setBinLabel(i,binLabel.str(),1); Disk2Summary->setBinLabel(i,binLabel.str(),1); Disk3Summary->setBinLabel(i,binLabel.str(),1); } for(int ri=2;ri<=3;ri++){ for(int roll=1;roll<=3;roll++){ binLabel.str(""); if(roll==3) binLabel<<"Ring "<<ri<<" A"; else if(roll==2) binLabel<<"Ring "<<ri<<" B"; else if(roll==1) binLabel<<"Ring "<<ri<<" C"; //if(debug) std::cout<<"Labeling EndCaps "<<binLabel.str()<<std::endl; Diskm3Summary->setBinLabel((ri-2)*3+roll,binLabel.str(),2); Diskm2Summary->setBinLabel((ri-2)*3+roll,binLabel.str(),2); Diskm1Summary->setBinLabel((ri-2)*3+roll,binLabel.str(),2); Disk1Summary->setBinLabel((ri-2)*3+roll,binLabel.str(),2); Disk2Summary->setBinLabel((ri-2)*3+roll,binLabel.str(),2); Disk3Summary->setBinLabel((ri-2)*3+roll,binLabel.str(),2); } } if(debug) std::cout<<"Default -1 for EndCap GUI"<<std::endl; for(int x = 1;x<=36;x++){ for(int y = 1;y<=6;y++){ Diskm3Summary->setBinContent(x,y,-1); Diskm2Summary->setBinContent(x,y,-1); Diskm1Summary->setBinContent(x,y,-1); Disk1Summary->setBinContent(x,y,-1); Disk2Summary->setBinContent(x,y,-1); Disk3Summary->setBinContent(x,y,-1); } } binLabel.str(""); std::vector<std::string> rollNamesInter (22); rollNamesInter[1]="RB1in B"; rollNamesInter[2]="RB1in F"; rollNamesInter[3]="RB1out B"; rollNamesInter[4]="RB1out F"; rollNamesInter[5]="RB2in B"; rollNamesInter[6]="RB2in M"; rollNamesInter[7]="RB2in F"; rollNamesInter[8]="RB2out B"; rollNamesInter[9]="RB2out F"; rollNamesInter[10]="RB3- B"; rollNamesInter[11]="RB3- F"; rollNamesInter[12]="RB3+ B"; rollNamesInter[13]="RB3+ F"; rollNamesInter[14]="RB4,-,-- B"; rollNamesInter[15]="RB4,-,-- F"; rollNamesInter[16]="RB4+,++ B"; rollNamesInter[17]="RB4+,++ F"; rollNamesInter[18]="RB4-+ B"; rollNamesInter[19]="RB4-+ F"; rollNamesInter[20]="RB4+- B"; rollNamesInter[21]="RB4+- F"; std::vector<std::string> rollNamesExter (22); for(int i=1;i<22;i++){ rollNamesExter[i]=rollNamesInter[i]; } rollNamesExter[6]="RB2in F"; rollNamesExter[7]="RB2out B"; rollNamesExter[8]="RB2out M"; //for(int i=1;i<22;i++){ // std::cout<<rollNamesExter[i]<<std::endl; // } for(int i=1;i<22;i++){ Wheelm1Summary->setBinLabel(i,rollNamesInter[i],2); Wheel0Summary->setBinLabel(i,rollNamesInter[i],2); Wheel1Summary->setBinLabel(i,rollNamesInter[i],2); } for(int i=1;i<22;i++){ Wheelm2Summary->setBinLabel(i,rollNamesExter[i],2); Wheel2Summary->setBinLabel(i,rollNamesExter[i],2); } int indexWheel[5]; for(int j=0;j<5;j++){ indexWheel[j]=0; } int indexWheelf[5]; for(int j=0;j<5;j++){ indexWheelf[j]=0; } int indexDisk[6]; for(int j=0;j<6;j++){ indexDisk[j]=0; } int indexDiskf[6]; for(int j=0;j<6;j++){ indexDiskf[j]=0; } for(TrackingGeometry::DetContainer::const_iterator it=rpcGeo->dets().begin();it<rpcGeo->dets().end();it++){ if(dynamic_cast< RPCChamber* >( *it ) != 0 ){ RPCChamber* ch = dynamic_cast< RPCChamber* >( *it ); std::vector< const RPCRoll*> roles = (ch->rolls()); for(std::vector<const RPCRoll*>::const_iterator r = roles.begin();r != roles.end(); ++r){ RPCDetId rpcId = (*r)->id(); RPCGeomServ rpcsrv(rpcId); std::string nameRoll = rpcsrv.name(); if(debug) std::cout<<"Booking for "<<nameRoll<<std::endl; meCollection[rpcId.rawId()] = bookDetUnitSeg(rpcId,(*r)->nstrips(),folderPath); } } } //if(debug) dbe->showDirStructure(); for(TrackingGeometry::DetContainer::const_iterator it=rpcGeo->dets().begin();it<rpcGeo->dets().end();it++){ if(dynamic_cast< RPCChamber* >( *it ) != 0 ){ RPCChamber* ch = dynamic_cast< RPCChamber* >( *it ); std::vector< const RPCRoll*> roles = (ch->rolls()); for(std::vector<const RPCRoll*>::const_iterator r = roles.begin();r != roles.end(); ++r){ RPCDetId rpcId = (*r)->id(); RPCGeomServ rpcsrv(rpcId); int sector = rpcId.sector(); std::string nameRoll = rpcsrv.name(); std::map<std::string, MonitorElement*> meMap=meCollection[rpcId.rawId()]; if(debug){ std::map<std::string, MonitorElement*>::const_iterator it; for (it = meMap.begin(); it != meMap.end(); ++it){ std::cout<<"Histo name:" <<it->first<<std::endl; } } if(meCollection.find(rpcId.rawId())==meCollection.end()){ std::cout<<"WARNING!!! Empty RecHit collection map"<<std::endl; } if(debug){ std::cout<<rpcId<<std::endl; //printing indexes std::cout<<"indexWheel="; for(int j=0;j<5;j++){ std::cout<<indexWheel[j]<<" "; } std::cout<<std::endl; std::cout<<"indexWheelf="; for(int j=0;j<5;j++){ std::cout<<indexWheelf[j]<<" "; } std::cout<<std::endl; std::cout<<"indexDisk="; for(int j=0;j<6;j++){ std::cout<<indexDisk[j]<<" "; } std::cout<<std::endl; std::cout<<"indexDiskf="; for(int j=0;j<6;j++){ std::cout<<indexDiskf[j]<<" "; } std::cout<<std::endl; } if(rpcId.region()==0){ std::stringstream meIdRPC, meIdDT, bxDistroId; std::string meIdPRO, meIdRPC2, meIdDT2, bxDistroId2; RPCBookFolderStructure * folderStr = new RPCBookFolderStructure(); std::string folder = folderPath+"MuonSegEff"; if(debug) std::cout<<"Setting the folder "<<folder<<std::endl; meIdRPC<<folder<<"/RPCDataOccupancyFromDT_"<<rpcId.rawId(); meIdDT<<folder<<"/ExpectedOccupancyFromDT_"<<rpcId.rawId(); bxDistroId<<folder<<"/BXDistribution_"<<rpcId.rawId(); std::string folder2 = folderPath+"RollByRoll/" + folderStr->folderStructure(rpcId); delete folderStr; meIdRPC2 = "RPCDataOccupancyFromDT_" + rpcsrv.name(); meIdDT2 = "ExpectedOccupancyFromDT_"+ rpcsrv.name(); bxDistroId2 = "BXDistribution_"+ rpcsrv.name(); meIdPRO = "Profile_"+ rpcsrv.name(); histoRPC= dbe->get(meIdRPC.str()); histoDT= dbe->get(meIdDT.str()); histoPRO=dbe->get(meIdPRO); BXDistribution = dbe->get(bxDistroId.str()); int NumberWithOutPrediction=0; double p = 0.; double o = 0.; float mybxhisto = 0.; float mybxerror = 0.; float ef = 0.; float er = 0.; float buffef = 0.; float buffer = 0.; float sumbuffef = 0.; float sumbuffer = 0.; float averageeff = 0.; float averageerr = 0.; int NumberStripsPointed = 0; if(debug) std::cout<<"Cloning BX"<<std::endl; //problema con sector 9 y sector 11 for(int i=1;i<=11;i++){ if(debug) std::cout<<i<<"-"<<BXDistribution->getBinContent(i)<<std::endl; meMap[bxDistroId2]->setBinContent(i,BXDistribution->getBinContent(i)); } if(histoRPC && histoDT && BXDistribution){ if(debug) std::cout <<rpcsrv.name()<<std::endl; for(int i=1;i<=int((*r)->nstrips());++i){ if(debug) std::cout<<"Cloning histoDT "<<meIdDT2<<std::endl; meMap[meIdDT2]->setBinContent(i,histoDT->getBinContent(i)); if(debug) std::cout<<"Cloning histoRPC:"<<meIdRPC2<<std::endl; meMap[meIdRPC2]->setBinContent(i,histoRPC->getBinContent(i)); if(meMap.find(meIdPRO)==meMap.end()){ std::cout<<"Empty Map"<<std::endl; } if(histoDT->getBinContent(i)!=0){ if(debug) std::cout<<"Inside the If"<<std::endl; buffef = float(histoRPC->getBinContent(i))/float(histoDT->getBinContent(i)); meMap[meIdPRO]->setBinContent(i,buffef); buffer = sqrt(buffef*(1.-buffef)/float(histoDT->getBinContent(i))); meMap[meIdPRO]->setBinError(i,buffer); sumbuffef=sumbuffef+buffef; sumbuffer = sumbuffer + buffer*buffer; NumberStripsPointed++; }else{ NumberWithOutPrediction++; } if(debug) std::cout<<"\t Strip="<<i<<" RPC="<<histoRPC->getBinContent(i)<<" DT="<<histoDT->getBinContent(i)<<" buffef="<<buffef<<" buffer="<<buffer<<" sumbuffef="<<sumbuffef<<" sumbuffer="<<sumbuffer<<" NumberStripsPointed="<<NumberStripsPointed<<" NumberWithOutPrediction"<<NumberWithOutPrediction<<std::endl; } p=histoDT->getTH1F()->Integral(); o=histoRPC->getTH1F()->Integral(); if(NumberStripsPointed!=0){ averageeff = (sumbuffef/float(NumberStripsPointed))*100.; averageerr = sqrt(sumbuffer/float(NumberStripsPointed))*100.; } mybxhisto = 50.+BXDistribution->getMean()*10; mybxerror = BXDistribution->getRMS()*10; } int Ring = rpcId.ring(); if(p!=0){ ef = float(o)/float(p); er = sqrt(ef*(1.-ef)/float(p)); } ef=ef*100; er=er*100; //Filling azimutal Wheel Histograms int wheel = rpcId.ring(); int sector = rpcId.sector(); int region = rpcId.region(); if(region ==0){ if(wheel==-2){ExsectorEffWm2->Fill(sector,p); OcsectorEffWm2->Fill(sector,o);} else if(wheel==-1){ExsectorEffWm1->Fill(sector,p); OcsectorEffWm1->Fill(sector,o);} else if(wheel==0){ExsectorEffW0->Fill(sector,p); OcsectorEffW0->Fill(sector,o);} else if(wheel==1){ExsectorEffW1->Fill(sector,p); OcsectorEffW1->Fill(sector,o);} else if(wheel==2){ExsectorEffW2->Fill(sector,p); OcsectorEffW2->Fill(sector,o);} } std::string camera = rpcsrv.name(); float nopredictionsratio = (float(NumberWithOutPrediction)/float((*r)->nstrips()))*100.; //Efficiency for Pigis Histos if(debug) std::cout<<"Pigi "<<camera<<" "<<rpcsrv.shortname()<<" " <<(*r)->id()<<std::endl; if(p > 100){//We need at least 100 predictions to fill the summary plot if(abs((*r)->id().ring())==2){ if(debug) std::cout<<rollY(rpcsrv.shortname(),rollNamesExter) <<"--"<<rpcsrv.shortname() <<" "<<rpcsrv.name() <<" averageEff"<<averageeff<<std::endl; if((*r)->id().ring()==2) Wheel2Summary->setBinContent((*r)->id().sector(),rollY(rpcsrv.shortname(),rollNamesExter),averageeff); else Wheelm2Summary->setBinContent((*r)->id().sector(),rollY(rpcsrv.shortname(),rollNamesExter),averageeff); }else{ if(debug) std::cout<<rollY(rpcsrv.shortname(),rollNamesInter) <<"--"<<rpcsrv.shortname() <<" "<<rpcsrv.name() <<" averageEff"<<averageeff<<std::endl; if((*r)->id().ring()==-1) Wheelm1Summary->setBinContent((*r)->id().sector(),rollY(rpcsrv.shortname(),rollNamesInter),averageeff); else if((*r)->id().ring()==0) Wheel0Summary->setBinContent((*r)->id().sector(),rollY(rpcsrv.shortname(),rollNamesInter),averageeff); else if((*r)->id().ring()==1) Wheel1Summary->setBinContent((*r)->id().sector(),rollY(rpcsrv.shortname(),rollNamesInter),averageeff); } } //Near Side float maskedratio =0; if((sector==1||sector==2||sector==3||sector==10||sector==11||sector==12)){ if(Ring==-2){ EffDistroWm2->Fill(averageeff); indexWheel[0]++; EffGlobWm2->setBinContent(indexWheel[0],ef); EffGlobWm2->setBinError(indexWheel[0],er); EffGlobWm2->setBinLabel(indexWheel[0],camera,1); BXGlobWm2->setBinContent(indexWheel[0],mybxhisto); BXGlobWm2->setBinError(indexWheel[0],mybxerror); BXGlobWm2->setBinLabel(indexWheel[0],camera,1); MaskedGlobWm2->setBinContent(indexWheel[0],maskedratio); MaskedGlobWm2->setBinLabel(indexWheel[0],camera,1); AverageEffWm2->setBinContent(indexWheel[0],averageeff); AverageEffWm2->setBinError(indexWheel[0],averageerr); AverageEffWm2->setBinLabel(indexWheel[0],camera,1); NoPredictionWm2->setBinContent(indexWheel[0],nopredictionsratio); NoPredictionWm2->setBinLabel(indexWheel[0],camera,1); }else if(Ring==-1){ EffDistroWm1->Fill(averageeff); indexWheel[1]++; EffGlobWm1->setBinContent(indexWheel[1],ef); EffGlobWm1->setBinError(indexWheel[1],er); EffGlobWm1->setBinLabel(indexWheel[1],camera,1); BXGlobWm1->setBinContent(indexWheel[1],mybxhisto); BXGlobWm1->setBinError(indexWheel[1],mybxerror); BXGlobWm1->setBinLabel(indexWheel[1],camera,1); MaskedGlobWm1->setBinContent(indexWheel[1],maskedratio); MaskedGlobWm1->setBinLabel(indexWheel[1],camera,1); AverageEffWm1->setBinContent(indexWheel[1],averageeff); AverageEffWm1->setBinError(indexWheel[1],averageerr); AverageEffWm1->setBinLabel(indexWheel[1],camera,1); NoPredictionWm1->setBinContent(indexWheel[1],nopredictionsratio); NoPredictionWm1->setBinLabel(indexWheel[1],camera,1); }else if(Ring==0){ EffDistroW0->Fill(averageeff); indexWheel[2]++; EffGlobW0->setBinContent(indexWheel[2],ef); EffGlobW0->setBinError(indexWheel[2],er); EffGlobW0->setBinLabel(indexWheel[2],camera,1); BXGlobW0->setBinContent(indexWheel[2],mybxhisto); BXGlobW0->setBinError(indexWheel[2],mybxerror); BXGlobW0->setBinLabel(indexWheel[2],camera,1); MaskedGlobW0->setBinContent(indexWheel[2],maskedratio); MaskedGlobW0->setBinLabel(indexWheel[2],camera,1); AverageEffW0->setBinContent(indexWheel[2],averageeff); AverageEffW0->setBinError(indexWheel[2],averageerr); AverageEffW0->setBinLabel(indexWheel[2],camera,1); NoPredictionW0->setBinContent(indexWheel[2],nopredictionsratio); NoPredictionW0->setBinLabel(indexWheel[2],camera,1); }else if(Ring==1){ EffDistroW1->Fill(averageeff); indexWheel[3]++; EffGlobW1->setBinContent(indexWheel[3],ef); EffGlobW1->setBinError(indexWheel[3],er); EffGlobW1->setBinLabel(indexWheel[3],camera,1); BXGlobW1->setBinContent(indexWheel[3],mybxhisto); BXGlobW1->setBinError(indexWheel[3],mybxerror); BXGlobW1->setBinLabel(indexWheel[3],camera,1); MaskedGlobW1->setBinContent(indexWheel[3],maskedratio); MaskedGlobW1->setBinLabel(indexWheel[3],camera,1); AverageEffW1->setBinContent(indexWheel[3],averageeff); AverageEffW1->setBinError(indexWheel[3],averageerr); AverageEffW1->setBinLabel(indexWheel[3],camera,1); NoPredictionW1->setBinContent(indexWheel[3],nopredictionsratio); NoPredictionW1->setBinLabel(indexWheel[3],camera,1); }else if(Ring==2){ EffDistroW2->Fill(averageeff); indexWheel[4]++; EffGlobW2->setBinContent(indexWheel[4],ef); EffGlobW2->setBinError(indexWheel[4],er); EffGlobW2->setBinLabel(indexWheel[4],camera,1); BXGlobW2->setBinContent(indexWheel[4],mybxhisto); BXGlobW2->setBinError(indexWheel[4],mybxerror); BXGlobW2->setBinLabel(indexWheel[4],camera,1); MaskedGlobW2->setBinContent(indexWheel[4],maskedratio); MaskedGlobW2->setBinLabel(indexWheel[4],camera,1); AverageEffW2->setBinContent(indexWheel[4],averageeff); AverageEffW2->setBinError(indexWheel[4],averageerr); AverageEffW2->setBinLabel(indexWheel[4],camera,1); NoPredictionW2->setBinContent(indexWheel[4],nopredictionsratio); NoPredictionW2->setBinLabel(indexWheel[4],camera,1); } }else{//Far Side if(Ring==-2){ EffDistroWm2far->Fill(averageeff); indexWheelf[0]++; EffGlobWm2far->setBinContent(indexWheelf[0],ef); EffGlobWm2far->setBinError(indexWheelf[0],er); EffGlobWm2far->setBinLabel(indexWheelf[0],camera,1); BXGlobWm2far->setBinContent(indexWheelf[0],mybxhisto); BXGlobWm2far->setBinError(indexWheelf[0],mybxerror); BXGlobWm2far->setBinLabel(indexWheelf[0],camera); MaskedGlobWm2far->setBinContent(indexWheelf[0],maskedratio); MaskedGlobWm2far->setBinLabel(indexWheelf[0],camera,1); AverageEffWm2far->setBinContent(indexWheelf[0],averageeff); AverageEffWm2far->setBinError(indexWheelf[0],averageerr); AverageEffWm2far->setBinLabel(indexWheelf[0],camera,1); NoPredictionWm2->setBinContent(indexWheel[0],nopredictionsratio); NoPredictionWm2->setBinLabel(indexWheel[0],camera,1); }else if(Ring==-1){ EffDistroWm1far->Fill(averageeff); indexWheelf[1]++; EffGlobWm1far->setBinContent(indexWheelf[1],ef); EffGlobWm1far->setBinError(indexWheelf[1],er); EffGlobWm1far->setBinLabel(indexWheelf[1],camera,1); BXGlobWm1far->setBinContent(indexWheelf[1],mybxhisto); BXGlobWm1far->setBinError(indexWheelf[1],mybxerror); BXGlobWm1far->setBinLabel(indexWheelf[1],camera,1); MaskedGlobWm1far->setBinContent(indexWheelf[1],maskedratio); MaskedGlobWm1far->setBinLabel(indexWheelf[1],camera,1); AverageEffWm1far->setBinContent(indexWheelf[1],averageeff); AverageEffWm1far->setBinError(indexWheelf[1],averageerr); AverageEffWm1far->setBinLabel(indexWheelf[1],camera,1); NoPredictionWm1far->setBinContent(indexWheelf[1],nopredictionsratio); NoPredictionWm1far->setBinLabel(indexWheelf[1],camera,1); }else if(Ring==0){ EffDistroW0far->Fill(averageeff); indexWheelf[2]++; EffGlobW0far->setBinContent(indexWheelf[2],ef); EffGlobW0far->setBinError(indexWheelf[2],er); EffGlobW0far->setBinLabel(indexWheelf[2],camera,1); BXGlobW0far->setBinContent(indexWheelf[2],mybxhisto); BXGlobW0far->setBinError(indexWheelf[2],mybxerror); BXGlobW0far->setBinLabel(indexWheelf[2],camera,1); MaskedGlobW0far->setBinContent(indexWheelf[2],maskedratio); MaskedGlobW0far->setBinLabel(indexWheelf[2],camera,1); AverageEffW0far->setBinContent(indexWheelf[2],averageeff); AverageEffW0far->setBinError(indexWheelf[2],averageerr); AverageEffW0far->setBinLabel(indexWheelf[2],camera,1); NoPredictionW0far->setBinContent(indexWheelf[2],nopredictionsratio); NoPredictionW0far->setBinLabel(indexWheelf[2],camera,1); }else if(Ring==1){ EffDistroW1far->Fill(averageeff); indexWheelf[3]++; EffGlobW1far->setBinContent(indexWheelf[3],ef); EffGlobW1far->setBinError(indexWheelf[3],er); EffGlobW1far->setBinLabel(indexWheelf[3],camera,1); BXGlobW1far->setBinContent(indexWheelf[3],mybxhisto); BXGlobW1far->setBinError(indexWheelf[3],mybxerror); BXGlobW1far->setBinLabel(indexWheelf[3],camera,1); MaskedGlobW1far->setBinContent(indexWheelf[3],maskedratio); MaskedGlobW1far->setBinLabel(indexWheelf[3],camera,1); AverageEffW1far->setBinContent(indexWheelf[3],averageeff); AverageEffW1far->setBinError(indexWheelf[3],averageerr); AverageEffW1far->setBinLabel(indexWheelf[3],camera,1); NoPredictionW1far->setBinContent(indexWheelf[3],nopredictionsratio); NoPredictionW1far->setBinLabel(indexWheelf[3],camera,1); }else if(Ring==2){ EffDistroW2far->Fill(averageeff); indexWheelf[4]++; EffGlobW2far->setBinContent(indexWheelf[4],ef); EffGlobW2far->setBinError(indexWheelf[4],er); EffGlobW2far->setBinLabel(indexWheelf[4],camera,1); BXGlobW2far->setBinContent(indexWheelf[4],mybxhisto); BXGlobW2far->setBinError(indexWheelf[4],mybxerror); BXGlobW2far->setBinLabel(indexWheelf[4],camera,1); MaskedGlobW2far->setBinContent(indexWheelf[4],maskedratio); MaskedGlobW2far->setBinLabel(indexWheelf[4],camera,1); AverageEffW2far->setBinContent(indexWheelf[4],averageeff); AverageEffW2far->setBinError(indexWheelf[4],averageerr); AverageEffW2far->setBinLabel(indexWheelf[4],camera,1); NoPredictionW2far->setBinContent(indexWheelf[4],nopredictionsratio); NoPredictionW2far->setBinLabel(indexWheelf[4],camera,1); } } }else{//EndCap std::stringstream meIdRPC,meIdCSC, bxDistroId; std::string meIdPRO, meIdRPC2, meIdCSC2, bxDistroId2; RPCBookFolderStructure * folderStr = new RPCBookFolderStructure(); std::string folder = folderPath+"MuonSegEff"; meIdRPC<<folder<<"/RPCDataOccupancyFromCSC_"<<rpcId.rawId(); meIdCSC<<folder<<"/ExpectedOccupancyFromCSC_"<<rpcId.rawId(); bxDistroId<<folder<<"/BXDistribution_"<<rpcId.rawId(); std::string folder2 = folderPath+"RollByRoll/" + folderStr->folderStructure(rpcId); delete folderStr; meIdRPC2 = "RPCDataOccupancyFromCSC_" + rpcsrv.name(); meIdCSC2 = "ExpectedOccupancyFromCSC_"+ rpcsrv.name(); bxDistroId2 = "BXDistribution_"+ rpcsrv.name(); meIdPRO = "Profile_"+ rpcsrv.name(); histoRPC= dbe->get(meIdRPC.str()); histoCSC= dbe->get(meIdCSC.str()); BXDistribution = dbe->get(bxDistroId.str()); int NumberWithOutPrediction=0; double p = 0; double o = 0; float mybxhisto = 0; float mybxerror = 0; float ef =0; float er =0; float buffef = 0; float buffer = 0; float sumbuffef = 0; float sumbuffer = 0; float averageeff = 0; float averageerr = 0; int NumberStripsPointed = 0; if(debug) std::cout<<"Cloning BX"<<std::endl; for(int i=1;i<=11;i++){ if(debug) std::cout<<i<<"-"<<BXDistribution->getBinContent(i)<<std::endl; meMap[bxDistroId2]->setBinContent(i,BXDistribution->getBinContent(i)); } if(histoRPC && histoCSC && BXDistribution){ if(debug) std::cout <<rpcsrv.name()<<std::endl; for(int i=1;i<=int((*r)->nstrips());++i){ if(debug) std::cout<<"Cloning histoCSC "<<meIdCSC2<<std::endl; meMap[meIdCSC2]->setBinContent(i,histoCSC->getBinContent(i)); if(debug) std::cout<<"Cloning histoRPC:"<<meIdRPC2<<std::endl; meMap[meIdRPC2]->setBinContent(i,histoRPC->getBinContent(i)); if(meMap.find(meIdPRO)==meMap.end()){ std::cout<<"Empty Map"<<std::endl; } if(histoCSC->getBinContent(i)!=0){ if(debug) std::cout<<"Inside the If"<<std::endl; buffef = float(histoRPC->getBinContent(i))/float(histoCSC->getBinContent(i)); meMap[meIdPRO]->setBinContent(i,buffef); buffer = sqrt(buffef*(1.-buffef)/float(histoCSC->getBinContent(i))); meMap[meIdPRO]->setBinError(i,buffer); sumbuffef=sumbuffef+buffef; sumbuffer = sumbuffer + buffer*buffer; NumberStripsPointed++; }else{ NumberWithOutPrediction++; } if(debug) std::cout<<"\t Strip="<<i<<" RPC="<<histoRPC->getBinContent(i)<<" CSC="<<histoCSC->getBinContent(i)<<" buffef="<<buffef<<" buffer="<<buffer<<" sumbuffef="<<sumbuffef<<" sumbuffer="<<sumbuffer<<" NumberStripsPointed="<<NumberStripsPointed<<" NumberWithOutPrediction"<<NumberWithOutPrediction<<std::endl; } p=histoCSC->getTH1F()->Integral(); o=histoRPC->getTH1F()->Integral(); if(NumberStripsPointed!=0){ averageeff = (sumbuffef/float(NumberStripsPointed))*100.; averageerr = sqrt(sumbuffer/float(NumberStripsPointed))*100.; } mybxhisto = 50.+BXDistribution->getMean()*10; mybxerror = BXDistribution->getRMS()*10; } int Disk = rpcId.station()*rpcId.region(); if(p!=0){ ef = float(o)/float(p); er = sqrt(ef*(1.-ef)/float(p)); } ef=ef*100; er=er*100; //Filling azimutal GregHistograms if(rpcId.region()==1){ if(rpcId.station()==1 && rpcId.ring()==2){ ExGregD1R2->Fill(rpcsrv.segment(),p);OcGregD1R2->Fill(rpcsrv.segment(),o);} if(rpcId.station()==1 && rpcId.ring()==3){ ExGregD1R3->Fill(rpcsrv.segment(),p);OcGregD1R3->Fill(rpcsrv.segment(),o);} if(rpcId.station()==2 && rpcId.ring()==2){ ExGregD2R2->Fill(rpcsrv.segment(),p);OcGregD2R2->Fill(rpcsrv.segment(),o);} if(rpcId.station()==2 && rpcId.ring()==3){ ExGregD2R3->Fill(rpcsrv.segment(),p);OcGregD2R3->Fill(rpcsrv.segment(),o);} if(rpcId.station()==3 && rpcId.ring()==2){ ExGregD3R2->Fill(rpcsrv.segment(),p);OcGregD3R2->Fill(rpcsrv.segment(),o);} if(rpcId.station()==3 && rpcId.ring()==3){ ExGregD3R3->Fill(rpcsrv.segment(),p);OcGregD3R3->Fill(rpcsrv.segment(),o);} } std::string camera = rpcsrv.name(); float nopredictionsratio = (float(NumberWithOutPrediction)/float((*r)->nstrips()))*100.; //Efficiency for Pigis Histos if(debug) std::cout<<"Pigi "<<camera<<" "<<rpcsrv.shortname()<<" " <<(*r)->id()<<std::endl; if(p > 100){ //We need at least 100 predictions to fill the summary plot int rollY = (*r)->id().roll(); if(rollY==1) rollY=3; else if(rollY==3) rollY=1; int Y=((*r)->id().ring()-2)*3+rollY; if(Disk==-3) Diskm3Summary->setBinContent(rpcsrv.segment(),Y,averageeff); else if(Disk==-2) Diskm2Summary->setBinContent(rpcsrv.segment(),Y,averageeff); else if(Disk==-1) Diskm1Summary->setBinContent(rpcsrv.segment(),Y,averageeff); else if(Disk==1) Disk1Summary->setBinContent(rpcsrv.segment(),Y,averageeff); else if(Disk==2) Disk2Summary->setBinContent(rpcsrv.segment(),Y,averageeff); else if(Disk==3) Disk3Summary->setBinContent(rpcsrv.segment(),Y,averageeff); } //Near Side float maskedratio =0; if(sector==1||sector==2||sector==6){ if(Disk==-3){ EffDistroDm3->Fill(averageeff); indexDisk[0]++; EffGlobDm3->setBinContent(indexDisk[0],ef); EffGlobDm3->setBinError(indexDisk[0],er); EffGlobDm3->setBinLabel(indexDisk[0],camera,1); BXGlobDm3->setBinContent(indexDisk[0],mybxhisto); BXGlobDm3->setBinError(indexDisk[0],mybxerror); BXGlobDm3->setBinLabel(indexDisk[0],camera,1); MaskedGlobDm3->setBinContent(indexDisk[0],maskedratio); MaskedGlobDm3->setBinLabel(indexDisk[0],camera,1); AverageEffDm3->setBinContent(indexDisk[0],averageeff); AverageEffDm3->setBinError(indexDisk[0],averageerr); AverageEffDm3->setBinLabel(indexDisk[0],camera,1); NoPredictionDm3->setBinContent(indexDisk[0],nopredictionsratio); NoPredictionDm3->setBinLabel(indexDisk[0],camera,1); }else if(Disk==-2){ EffDistroDm2->Fill(averageeff); indexDisk[1]++; EffGlobDm2->setBinContent(indexDisk[1],ef); EffGlobDm2->setBinError(indexDisk[1],er); EffGlobDm2->setBinLabel(indexDisk[1],camera,1); BXGlobDm2->setBinContent(indexDisk[1],mybxhisto); BXGlobDm2->setBinError(indexDisk[1],mybxerror); BXGlobDm2->setBinLabel(indexDisk[1],camera,1); MaskedGlobDm2->setBinContent(indexDisk[1],maskedratio); MaskedGlobDm2->setBinLabel(indexDisk[1],camera,1); AverageEffDm2->setBinContent(indexDisk[1],averageeff); AverageEffDm2->setBinError(indexDisk[1],averageerr); AverageEffDm2->setBinLabel(indexDisk[1],camera,1); NoPredictionDm2->setBinContent(indexDisk[1],nopredictionsratio); NoPredictionDm2->setBinLabel(indexDisk[1],camera,1); }else if(Disk==-1){ EffDistroDm1->Fill(averageeff); indexDisk[2]++; EffGlobDm1->setBinContent(indexDisk[2],ef); EffGlobDm1->setBinError(indexDisk[2],er); EffGlobDm1->setBinLabel(indexDisk[2],camera,1); BXGlobDm1->setBinContent(indexDisk[2],mybxhisto); BXGlobDm1->setBinError(indexDisk[2],mybxerror); BXGlobDm1->setBinLabel(indexDisk[2],camera,1); MaskedGlobDm1->setBinContent(indexDisk[2],maskedratio); MaskedGlobDm1->setBinLabel(indexDisk[2],camera,1); AverageEffDm1->setBinContent(indexDisk[2],averageeff); AverageEffDm1->setBinError(indexDisk[2],averageerr); AverageEffDm1->setBinLabel(indexDisk[2],camera,1); NoPredictionDm1->setBinContent(indexDisk[2],nopredictionsratio); NoPredictionDm1->setBinLabel(indexDisk[2],camera,1); }else if(Disk==1){ EffDistroD1->Fill(averageeff); indexDisk[3]++; EffGlobD1->setBinContent(indexDisk[3],ef); EffGlobD1->setBinError(indexDisk[3],er); EffGlobD1->setBinLabel(indexDisk[3],camera,1); BXGlobD1->setBinContent(indexDisk[3],mybxhisto); BXGlobD1->setBinError(indexDisk[3],mybxerror); BXGlobD1->setBinLabel(indexDisk[3],camera,1); MaskedGlobD1->setBinContent(indexDisk[3],maskedratio); MaskedGlobD1->setBinLabel(indexDisk[3],camera,1); AverageEffD1->setBinContent(indexDisk[3],averageeff); AverageEffD1->setBinError(indexDisk[3],averageerr); AverageEffD1->setBinLabel(indexDisk[3],camera,1); NoPredictionD1->setBinContent(indexDisk[3],nopredictionsratio); NoPredictionD1->setBinLabel(indexDisk[3],camera,1); }else if(Disk==2){ EffDistroD2->Fill(averageeff); indexDisk[4]++; EffGlobD2->setBinContent(indexDisk[4],ef); EffGlobD2->setBinError(indexDisk[4],er); EffGlobD2->setBinLabel(indexDisk[4],camera,1); BXGlobD2->setBinContent(indexDisk[4],mybxhisto); BXGlobD2->setBinError(indexDisk[4],mybxerror); BXGlobD2->setBinLabel(indexDisk[4],camera,1); MaskedGlobD2->setBinContent(indexDisk[4],maskedratio); MaskedGlobD2->setBinLabel(indexDisk[4],camera,1); AverageEffD2->setBinContent(indexDisk[4],averageeff); AverageEffD2->setBinError(indexDisk[4],averageerr); AverageEffD2->setBinLabel(indexDisk[4],camera,1); NoPredictionD2->setBinContent(indexDisk[4],nopredictionsratio); NoPredictionD2->setBinLabel(indexDisk[4],camera,1); }else if(Disk==3){ EffDistroD3->Fill(averageeff); indexDisk[5]++; EffGlobD3->setBinContent(indexDisk[5],ef); EffGlobD3->setBinError(indexDisk[5],er); EffGlobD3->setBinLabel(indexDisk[5],camera,1); BXGlobD3->setBinContent(indexDisk[5],mybxhisto); BXGlobD3->setBinError(indexDisk[5],mybxerror); BXGlobD3->setBinLabel(indexDisk[5],camera,1); MaskedGlobD3->setBinContent(indexDisk[5],maskedratio); MaskedGlobD3->setBinLabel(indexDisk[5],camera,1); AverageEffD3->setBinContent(indexDisk[5],averageeff); AverageEffD3->setBinError(indexDisk[5],averageerr); AverageEffD3->setBinLabel(indexDisk[5],camera,1); NoPredictionD3->setBinContent(indexDisk[5],nopredictionsratio); NoPredictionD3->setBinLabel(indexDisk[5],camera,1); } }else{//Far Side if(Disk==-3){ EffDistroDm3far->Fill(averageeff); indexDiskf[0]++; EffGlobDm3far->setBinContent(indexDiskf[0],ef); EffGlobDm3far->setBinError(indexDiskf[0],er); EffGlobDm3far->setBinLabel(indexDiskf[0],camera,1); BXGlobDm3far->setBinContent(indexDiskf[0],mybxhisto); BXGlobDm3far->setBinError(indexDiskf[0],mybxerror); BXGlobDm3far->setBinLabel(indexDiskf[0],camera); MaskedGlobDm3far->setBinContent(indexDiskf[0],maskedratio); MaskedGlobDm3far->setBinLabel(indexDiskf[0],camera,1); AverageEffDm3far->setBinContent(indexDiskf[0],averageeff); AverageEffDm3far->setBinError(indexDiskf[0],averageerr); AverageEffDm3far->setBinLabel(indexDiskf[0],camera,1); NoPredictionDm3->setBinContent(indexDisk[0],nopredictionsratio); NoPredictionDm3->setBinLabel(indexDisk[0],camera,1); } else if(Disk==-2){ EffDistroDm2far->Fill(averageeff); indexDiskf[1]++; EffGlobDm2far->setBinContent(indexDiskf[1],ef); EffGlobDm2far->setBinError(indexDiskf[1],er); EffGlobDm2far->setBinLabel(indexDiskf[1],camera,1); BXGlobDm2far->setBinContent(indexDiskf[1],mybxhisto); BXGlobDm2far->setBinError(indexDiskf[1],mybxerror); BXGlobDm2far->setBinLabel(indexDiskf[1],camera); MaskedGlobDm2far->setBinContent(indexDiskf[1],maskedratio); MaskedGlobDm2far->setBinLabel(indexDiskf[1],camera,1); AverageEffDm2far->setBinContent(indexDiskf[1],averageeff); AverageEffDm2far->setBinError(indexDiskf[1],averageerr); AverageEffDm2far->setBinLabel(indexDiskf[1],camera,1); NoPredictionDm2->setBinContent(indexDisk[1],nopredictionsratio); NoPredictionDm2->setBinLabel(indexDisk[1],camera,1); }else if(Disk==-1){ EffDistroDm1far->Fill(averageeff); indexDiskf[2]++; EffGlobDm1far->setBinContent(indexDiskf[2],ef); EffGlobDm1far->setBinError(indexDiskf[2],er); EffGlobDm1far->setBinLabel(indexDiskf[2],camera,1); BXGlobDm1far->setBinContent(indexDiskf[2],mybxhisto); BXGlobDm1far->setBinError(indexDiskf[2],mybxerror); BXGlobDm1far->setBinLabel(indexDiskf[2],camera,1); MaskedGlobDm1far->setBinContent(indexDiskf[2],maskedratio); MaskedGlobDm1far->setBinLabel(indexDiskf[2],camera,1); AverageEffDm1far->setBinContent(indexDiskf[2],averageeff); AverageEffDm1far->setBinError(indexDiskf[2],averageerr); AverageEffDm1far->setBinLabel(indexDiskf[2],camera,1); NoPredictionDm1far->setBinContent(indexDiskf[2],nopredictionsratio); NoPredictionDm1far->setBinLabel(indexDiskf[2],camera,1); }else if(Disk==1){ EffDistroD1far->Fill(averageeff); indexDiskf[3]++; EffGlobD1far->setBinContent(indexDiskf[3],ef); EffGlobD1far->setBinError(indexDiskf[3],er); EffGlobD1far->setBinLabel(indexDiskf[3],camera,1); BXGlobD1far->setBinContent(indexDiskf[3],mybxhisto); BXGlobD1far->setBinError(indexDiskf[3],mybxerror); BXGlobD1far->setBinLabel(indexDiskf[3],camera,1); MaskedGlobD1far->setBinContent(indexDiskf[3],maskedratio); MaskedGlobD1far->setBinLabel(indexDiskf[3],camera,1); AverageEffD1far->setBinContent(indexDiskf[3],averageeff); AverageEffD1far->setBinError(indexDiskf[3],averageerr); AverageEffD1far->setBinLabel(indexDiskf[3],camera,1); NoPredictionD1far->setBinContent(indexDiskf[3],nopredictionsratio); NoPredictionD1far->setBinLabel(indexDiskf[3],camera,1); }else if(Disk==2){ EffDistroD2far->Fill(averageeff); indexDiskf[4]++; EffGlobD2far->setBinContent(indexDiskf[4],ef); EffGlobD2far->setBinError(indexDiskf[4],er); EffGlobD2far->setBinLabel(indexDiskf[4],camera,1); BXGlobD2far->setBinContent(indexDiskf[4],mybxhisto); BXGlobD2far->setBinError(indexDiskf[4],mybxerror); BXGlobD2far->setBinLabel(indexDiskf[4],camera,1); MaskedGlobD2far->setBinContent(indexDiskf[4],maskedratio); MaskedGlobD2far->setBinLabel(indexDiskf[4],camera,1); AverageEffD2far->setBinContent(indexDiskf[4],averageeff); AverageEffD2far->setBinError(indexDiskf[4],averageerr); AverageEffD2far->setBinLabel(indexDiskf[4],camera,1); NoPredictionD2far->setBinContent(indexDiskf[4],nopredictionsratio); NoPredictionD2far->setBinLabel(indexDiskf[4],camera,1); }else if(Disk==3){ EffDistroD3far->Fill(averageeff); indexDiskf[5]++; EffGlobD3far->setBinContent(indexDiskf[5],ef); EffGlobD3far->setBinError(indexDiskf[5],er); EffGlobD3far->setBinLabel(indexDiskf[5],camera,1); BXGlobD3far->setBinContent(indexDiskf[5],mybxhisto); BXGlobD3far->setBinError(indexDiskf[5],mybxerror); BXGlobD3far->setBinLabel(indexDiskf[5],camera,1); MaskedGlobD3far->setBinContent(indexDiskf[5],maskedratio); MaskedGlobD3far->setBinLabel(indexDiskf[5],camera,1); AverageEffD3far->setBinContent(indexDiskf[5],averageeff); AverageEffD3far->setBinError(indexDiskf[5],averageerr); AverageEffD3far->setBinLabel(indexDiskf[5],camera,1); NoPredictionD3far->setBinContent(indexDiskf[5],nopredictionsratio); NoPredictionD3far->setBinLabel(indexDiskf[5],camera,1); } }//Finishing EndCap } } } } float eff,N,err; int k; for(k=1;k<=36;k++){ err=0; eff=0; N=ExGregD1R2->getBinContent(k); if(N!=0.){ eff = OcGregD1R2->getBinContent(k)/N; err=sqrt(eff*(1-eff)/N);} GregD1R2->setBinContent(k,eff); GregD1R2->setBinError(k,err); err=0; eff=0; N=ExGregD1R3->getBinContent(k); if(N!=0.){eff = OcGregD1R3->getBinContent(k)/N;err=sqrt(eff*(1-eff)/N);} GregD1R3->setBinContent(k,eff); GregD1R3->setBinError(k,err); err=0; eff=0; N=ExGregD2R2->getBinContent(k); if(N!=0.){ eff = OcGregD2R2->getBinContent(k)/N;err=sqrt(eff*(1-eff)/N);} GregD2R2->setBinContent(k,eff); GregD2R2->setBinError(k,err); err=0; eff=0; N=ExGregD2R3->getBinContent(k); if(N!=0.){ eff = OcGregD2R3->getBinContent(k)/N;err=sqrt(eff*(1-eff)/N);} GregD2R3->setBinContent(k,eff); GregD2R3->setBinError(k,err); err=0; eff=0; N=ExGregD3R2->getBinContent(k); if(N!=0.){ eff = OcGregD3R2->getBinContent(k)/N;err=sqrt(eff*(1-eff)/N);} GregD3R2->setBinContent(k,eff); GregD3R2->setBinError(k,err); err=0; eff=0; N=ExGregD3R3->getBinContent(k); if(N!=0.){ eff = OcGregD3R3->getBinContent(k)/N;err=sqrt(eff*(1-eff)/N);} GregD3R3->setBinContent(k,eff); GregD3R3->setBinError(k,err); } for(k=1;k<=12;k++){ err=0; eff=0; N=ExsectorEffWm2->getBinContent(k); if(N!=0.){ eff = OcsectorEffWm2->getBinContent(k)/N;err=sqrt(eff*(1-eff)/N);} sectorEffWm2->setBinContent(k,eff); sectorEffWm2->setBinError(k,err); err=0; eff=0; N=ExsectorEffWm1->getBinContent(k); if(N!=0.){ eff = OcsectorEffWm1->getBinContent(k)/N;err=sqrt(eff*(1-eff)/N);} sectorEffWm1->setBinContent(k,eff); sectorEffWm1->setBinError(k,err); err=0; eff=0; N=ExsectorEffW0->getBinContent(k); if(N!=0.){ eff = OcsectorEffW0->getBinContent(k)/N;err=sqrt(eff*(1-eff)/N);} sectorEffW0->setBinContent(k,eff); sectorEffW0->setBinError(k,err); err=0; eff=0; N=ExsectorEffW1->getBinContent(k); if(N!=0.){ eff = OcsectorEffW1->getBinContent(k)/N;err=sqrt(eff*(1-eff)/N);} sectorEffW1->setBinContent(k,eff); sectorEffW1->setBinError(k,err); err=0; eff=0; N=ExsectorEffW2->getBinContent(k); if(N!=0.){ eff = OcsectorEffW2->getBinContent(k)/N;err=sqrt(eff*(1-eff)/N);} sectorEffW2->setBinContent(k,eff); sectorEffW2->setBinError(k,err); } //Ranges for Both //Barrel if(barrel){ EffGlobWm2->setAxisRange(-4.,100.,2); EffGlobWm1->setAxisRange(-4.,100.,2); EffGlobW0->setAxisRange(-4.,100.,2); EffGlobW1->setAxisRange(-4.,100.,2); EffGlobW2->setAxisRange(-4.,100.,2); EffGlobWm2far->setAxisRange(-4.,100.,2); EffGlobWm1far->setAxisRange(-4.,100.,2); EffGlobW0far->setAxisRange(-4.,100.,2); EffGlobW1far->setAxisRange(-4.,100.,2); EffGlobW2far->setAxisRange(-4.,100.,2); AverageEffWm2->setAxisRange(-4.,100.,2); AverageEffWm1->setAxisRange(-4.,100.,2); AverageEffW0->setAxisRange(-4.,100.,2); AverageEffW1->setAxisRange(-4.,100.,2); AverageEffW2->setAxisRange(-4.,100.,2); AverageEffWm2far->setAxisRange(-4.,100.,2); AverageEffWm1far->setAxisRange(-4.,100.,2); AverageEffW0far->setAxisRange(-4.,100.,2); AverageEffW1far->setAxisRange(-4.,100.,2); AverageEffW2far->setAxisRange(-4.,100.,2); MaskedGlobWm2->setAxisRange(-4.,100.,2); MaskedGlobWm1->setAxisRange(-4.,100.,2); MaskedGlobW0->setAxisRange(-4.,100.,2); MaskedGlobW1->setAxisRange(-4.,100.,2); MaskedGlobW2->setAxisRange(-4.,100.,2); MaskedGlobWm2far->setAxisRange(-4.,100.,2); MaskedGlobWm1far->setAxisRange(-4.,100.,2); MaskedGlobW0far->setAxisRange(-4.,100.,2); MaskedGlobW1far->setAxisRange(-4.,100.,2); MaskedGlobW2far->setAxisRange(-4.,100.,2); NoPredictionWm2->setAxisRange(-4.,100.,2); NoPredictionWm1->setAxisRange(-4.,100.,2); NoPredictionW0->setAxisRange(-4.,100.,2); NoPredictionW1->setAxisRange(-4.,100.,2); NoPredictionW2->setAxisRange(-4.,100.,2); NoPredictionWm2far->setAxisRange(-4.,100.,2); NoPredictionWm1far->setAxisRange(-4.,100.,2); NoPredictionW0far->setAxisRange(-4.,100.,2); NoPredictionW1far->setAxisRange(-4.,100.,2); NoPredictionW2far->setAxisRange(-4.,100.,2); } //EndCap if(endcap){ EffGlobDm3->setAxisRange(-4.,100.,2); EffGlobDm2->setAxisRange(-4.,100.,2); EffGlobDm1->setAxisRange(-4.,100.,2); EffGlobD1->setAxisRange(-4.,100.,2); EffGlobD2->setAxisRange(-4.,100.,2); EffGlobD3->setAxisRange(-4.,100.,2); EffGlobDm3far->setAxisRange(-4.,100.,2); EffGlobDm2far->setAxisRange(-4.,100.,2); EffGlobDm1far->setAxisRange(-4.,100.,2); EffGlobD1far->setAxisRange(-4.,100.,2); EffGlobD2far->setAxisRange(-4.,100.,2); EffGlobD3far->setAxisRange(-4.,100.,2); BXGlobDm3->setAxisRange(-4.,100.,2); BXGlobDm2->setAxisRange(-4.,100.,2); BXGlobDm1->setAxisRange(-4.,100.,2); BXGlobD1->setAxisRange(-4.,100.,2); BXGlobD2->setAxisRange(-4.,100.,2); BXGlobD3->setAxisRange(-4.,100.,2); BXGlobDm3far->setAxisRange(-4.,100.,2); BXGlobDm2far->setAxisRange(-4.,100.,2); BXGlobDm1far->setAxisRange(-4.,100.,2); BXGlobD1far->setAxisRange(-4.,100.,2); BXGlobD2far->setAxisRange(-4.,100.,2); BXGlobD3far->setAxisRange(-4.,100.,2); MaskedGlobDm3->setAxisRange(-4.,100.,2); MaskedGlobDm2->setAxisRange(-4.,100.,2); MaskedGlobDm1->setAxisRange(-4.,100.,2); MaskedGlobD1->setAxisRange(-4.,100.,2); MaskedGlobD2->setAxisRange(-4.,100.,2); MaskedGlobD3->setAxisRange(-4.,100.,2); MaskedGlobDm3far->setAxisRange(-4.,100.,2); MaskedGlobDm2far->setAxisRange(-4.,100.,2); MaskedGlobDm1far->setAxisRange(-4.,100.,2); MaskedGlobD1far->setAxisRange(-4.,100.,2); MaskedGlobD2far->setAxisRange(-4.,100.,2); MaskedGlobD3far->setAxisRange(-4.,100.,2); AverageEffDm3->setAxisRange(-4.,100.,2); AverageEffDm2->setAxisRange(-4.,100.,2); AverageEffDm1->setAxisRange(-4.,100.,2); AverageEffD1->setAxisRange(-4.,100.,2); AverageEffD2->setAxisRange(-4.,100.,2); AverageEffD3->setAxisRange(-4.,100.,2); AverageEffDm3far->setAxisRange(-4.,100.,2); AverageEffDm2far->setAxisRange(-4.,100.,2); AverageEffDm1far->setAxisRange(-4.,100.,2); AverageEffD1far->setAxisRange(-4.,100.,2); AverageEffD2far->setAxisRange(-4.,100.,2); AverageEffD3far->setAxisRange(-4.,100.,2); NoPredictionDm3->setAxisRange(-4.,100.,2); NoPredictionDm2->setAxisRange(-4.,100.,2); NoPredictionDm1->setAxisRange(-4.,100.,2); NoPredictionD1->setAxisRange(-4.,100.,2); NoPredictionD2->setAxisRange(-4.,100.,2); NoPredictionD3->setAxisRange(-4.,100.,2); NoPredictionDm3far->setAxisRange(-4.,100.,2); NoPredictionDm2far->setAxisRange(-4.,100.,2); NoPredictionDm1far->setAxisRange(-4.,100.,2); NoPredictionD1far->setAxisRange(-4.,100.,2); NoPredictionD2far->setAxisRange(-4.,100.,2); NoPredictionD3far->setAxisRange(-4.,100.,2); } //Title for Both //Barrel if(barrel){ EffGlobWm2->setAxisTitle("%",2); EffGlobWm1->setAxisTitle("%",2); EffGlobW0->setAxisTitle("%",2); EffGlobW1->setAxisTitle("%",2); EffGlobW2->setAxisTitle("%",2); EffGlobWm2far->setAxisTitle("%",2); EffGlobWm1far->setAxisTitle("%",2); EffGlobW0far->setAxisTitle("%",2); EffGlobW1far->setAxisTitle("%",2); EffGlobW2far->setAxisTitle("%",2); AverageEffWm2->setAxisTitle("%",2); AverageEffWm1->setAxisTitle("%",2); AverageEffW0->setAxisTitle("%",2); AverageEffW1->setAxisTitle("%",2); AverageEffW2->setAxisTitle("%",2); AverageEffWm2far->setAxisTitle("%",2); AverageEffWm1far->setAxisTitle("%",2); AverageEffW0far->setAxisTitle("%",2); AverageEffW1far->setAxisTitle("%",2); AverageEffW2far->setAxisTitle("%",2); MaskedGlobWm2->setAxisTitle("%",2); MaskedGlobWm1->setAxisTitle("%",2); MaskedGlobW0->setAxisTitle("%",2); MaskedGlobW1->setAxisTitle("%",2); MaskedGlobW2->setAxisTitle("%",2); MaskedGlobWm2far->setAxisTitle("%",2); MaskedGlobWm1far->setAxisTitle("%",2); MaskedGlobW0far->setAxisTitle("%",2); MaskedGlobW1far->setAxisTitle("%",2); MaskedGlobW2far->setAxisTitle("%",2); NoPredictionWm2->setAxisTitle("%",2); NoPredictionWm1->setAxisTitle("%",2); NoPredictionW0->setAxisTitle("%",2); NoPredictionW1->setAxisTitle("%",2); NoPredictionW2->setAxisTitle("%",2); NoPredictionWm2far->setAxisTitle("%",2); NoPredictionWm1far->setAxisTitle("%",2); NoPredictionW0far->setAxisTitle("%",2); NoPredictionW1far->setAxisTitle("%",2); NoPredictionW2far->setAxisTitle("%",2); } //EndCap if(endcap){ EffGlobDm3->setAxisTitle("%",2); EffGlobDm2->setAxisTitle("%",2); EffGlobDm1->setAxisTitle("%",2); EffGlobD1->setAxisTitle("%",2); EffGlobD2->setAxisTitle("%",2); EffGlobD3->setAxisTitle("%",2); EffGlobDm3far->setAxisTitle("%",2); EffGlobDm2far->setAxisTitle("%",2); EffGlobDm1far->setAxisTitle("%",2); EffGlobD1far->setAxisTitle("%",2); EffGlobD2far->setAxisTitle("%",2); EffGlobD3far->setAxisTitle("%",2); BXGlobDm3->setAxisTitle("%",2); BXGlobDm2->setAxisTitle("%",2); BXGlobDm1->setAxisTitle("%",2); BXGlobD1->setAxisTitle("%",2); BXGlobD2->setAxisTitle("%",2); BXGlobD3->setAxisTitle("%",2); BXGlobDm3far->setAxisTitle("%",2); BXGlobDm2far->setAxisTitle("%",2); BXGlobDm1far->setAxisTitle("%",2); BXGlobD1far->setAxisTitle("%",2); BXGlobD2far->setAxisTitle("%",2); BXGlobD3far->setAxisTitle("%",2); MaskedGlobDm3->setAxisTitle("%",2); MaskedGlobDm2->setAxisTitle("%",2); MaskedGlobDm1->setAxisTitle("%",2); MaskedGlobD1->setAxisTitle("%",2); MaskedGlobD2->setAxisTitle("%",2); MaskedGlobD3->setAxisTitle("%",2); MaskedGlobDm3far->setAxisTitle("%",2); MaskedGlobDm2far->setAxisTitle("%",2); MaskedGlobDm1far->setAxisTitle("%",2); MaskedGlobD1far->setAxisTitle("%",2); MaskedGlobD2far->setAxisTitle("%",2); MaskedGlobD3far->setAxisTitle("%",2); AverageEffDm3->setAxisTitle("%",2); AverageEffDm2->setAxisTitle("%",2); AverageEffDm1->setAxisTitle("%",2); AverageEffD1->setAxisTitle("%",2); AverageEffD2->setAxisTitle("%",2); AverageEffD3->setAxisTitle("%",2); AverageEffDm3far->setAxisTitle("%",2); AverageEffDm2far->setAxisTitle("%",2); AverageEffDm1far->setAxisTitle("%",2); AverageEffD1far->setAxisTitle("%",2); AverageEffD2far->setAxisTitle("%",2); AverageEffD3far->setAxisTitle("%",2); NoPredictionDm3->setAxisTitle("%",2); NoPredictionDm2->setAxisTitle("%",2); NoPredictionDm1->setAxisTitle("%",2); NoPredictionD1->setAxisTitle("%",2); NoPredictionD2->setAxisTitle("%",2); NoPredictionD3->setAxisTitle("%",2); NoPredictionDm3far->setAxisTitle("%",2); NoPredictionDm2far->setAxisTitle("%",2); NoPredictionDm1far->setAxisTitle("%",2); NoPredictionD1far->setAxisTitle("%",2); NoPredictionD2far->setAxisTitle("%",2); NoPredictionD3far->setAxisTitle("%",2); } EffGlobDm3->setAxisTitle("%",2); EffGlobDm2->setAxisTitle("%",2); EffGlobDm1->setAxisTitle("%",2); EffGlobD1->setAxisTitle("%",2); EffGlobD2->setAxisTitle("%",2); EffGlobD3->setAxisTitle("%",2); EffGlobDm3far->setAxisTitle("%",2); EffGlobDm2far->setAxisTitle("%",2); EffGlobDm1far->setAxisTitle("%",2); EffGlobD1far->setAxisTitle("%",2); EffGlobD2far->setAxisTitle("%",2); EffGlobD3far->setAxisTitle("%",2); BXGlobDm3->setAxisTitle("%",2); BXGlobDm2->setAxisTitle("%",2); BXGlobDm1->setAxisTitle("%",2); BXGlobD1->setAxisTitle("%",2); BXGlobD2->setAxisTitle("%",2); BXGlobD3->setAxisTitle("%",2); BXGlobDm3far->setAxisTitle("%",2); BXGlobDm2far->setAxisTitle("%",2); BXGlobDm1far->setAxisTitle("%",2); BXGlobD1far->setAxisTitle("%",2); BXGlobD2far->setAxisTitle("%",2); BXGlobD3far->setAxisTitle("%",2); MaskedGlobDm3->setAxisTitle("%",2); MaskedGlobDm2->setAxisTitle("%",2); MaskedGlobDm1->setAxisTitle("%",2); MaskedGlobD1->setAxisTitle("%",2); MaskedGlobD2->setAxisTitle("%",2); MaskedGlobD3->setAxisTitle("%",2); MaskedGlobDm3far->setAxisTitle("%",2); MaskedGlobDm2far->setAxisTitle("%",2); MaskedGlobDm1far->setAxisTitle("%",2); MaskedGlobD1far->setAxisTitle("%",2); MaskedGlobD2far->setAxisTitle("%",2); MaskedGlobD3far->setAxisTitle("%",2); AverageEffDm3->setAxisTitle("%",2); AverageEffDm2->setAxisTitle("%",2); AverageEffDm1->setAxisTitle("%",2); AverageEffD1->setAxisTitle("%",2); AverageEffD2->setAxisTitle("%",2); AverageEffD3->setAxisTitle("%",2); AverageEffDm3far->setAxisTitle("%",2); AverageEffDm2far->setAxisTitle("%",2); AverageEffDm1far->setAxisTitle("%",2); AverageEffD1far->setAxisTitle("%",2); AverageEffD2far->setAxisTitle("%",2); AverageEffD3far->setAxisTitle("%",2); NoPredictionDm3->setAxisTitle("%",2); NoPredictionDm2->setAxisTitle("%",2); NoPredictionDm1->setAxisTitle("%",2); NoPredictionD1->setAxisTitle("%",2); NoPredictionD2->setAxisTitle("%",2); NoPredictionD3->setAxisTitle("%",2); NoPredictionDm3far->setAxisTitle("%",2); NoPredictionDm2far->setAxisTitle("%",2); NoPredictionDm1far->setAxisTitle("%",2); NoPredictionD1far->setAxisTitle("%",2); NoPredictionD2far->setAxisTitle("%",2); NoPredictionD3far->setAxisTitle("%",2); if(debug) std::cout<<"Saving RootFile"<<std::endl; if(SaveFile)dbe->save(NameFile); if(debug) std::cout<<"RPCEFFICIENCY SECOND DONE"<<std::endl; }
int RPCEfficiencySecond::rollY | ( | std::string | shortname, |
std::vector< std::string > | rollNames | ||
) |
Definition at line 38 of file RPCEfficiencySecond.cc.
References EcalCondTools::compare(), gather_cfg::cout, debug, and i.
Referenced by endRun().
Definition at line 287 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 294 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 288 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 295 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 289 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 296 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 286 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 293 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 285 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 292 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 284 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 291 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 200 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 206 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 201 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 207 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 202 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 208 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 199 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 205 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 198 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 204 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
bool RPCEfficiencySecond::barrel [private] |
Definition at line 396 of file RPCEfficiencySecond.h.
Referenced by endRun(), and RPCEfficiencySecond().
Definition at line 144 of file RPCEfficiencySecond.h.
Referenced by endRun().
Definition at line 155 of file RPCEfficiencySecond.h.
Definition at line 257 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 264 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 258 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 265 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 259 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 266 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 256 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 263 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 255 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 262 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 254 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 261 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 174 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 180 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 175 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 181 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 176 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 182 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 173 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 179 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 172 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 178 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
DQMStore* RPCEfficiencySecond::dbe [private] |
Definition at line 401 of file RPCEfficiencySecond.h.
Referenced by beginRun(), bookDetUnitSeg(), and endRun().
bool RPCEfficiencySecond::debug [private] |
Definition at line 394 of file RPCEfficiencySecond.h.
Referenced by beginRun(), endRun(), rollY(), and RPCEfficiencySecond().
Definition at line 338 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 339 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 340 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 337 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 336 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 335 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 317 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 324 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 318 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 325 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 319 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 326 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 316 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 323 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 315 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 322 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 314 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 321 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 226 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 232 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 227 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 233 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 228 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 234 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 225 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 231 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 224 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 230 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 242 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 249 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 243 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 250 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 244 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 251 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 241 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 248 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 240 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 247 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 239 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 246 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 161 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 167 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 162 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 168 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 163 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 169 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 160 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 166 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 159 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 165 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
bool RPCEfficiencySecond::endcap [private] |
Definition at line 395 of file RPCEfficiencySecond.h.
Referenced by endRun(), and RPCEfficiencySecond().
Definition at line 376 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 377 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 378 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 379 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 380 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 381 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 358 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 359 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 360 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 357 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 356 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
std::string RPCEfficiencySecond::folderPath [private] |
Definition at line 399 of file RPCEfficiencySecond.h.
Referenced by beginRun(), endRun(), and RPCEfficiencySecond().
Definition at line 362 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 363 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 364 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 365 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 366 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 367 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 94 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 95 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 96 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 97 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 98 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 99 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 123 of file RPCEfficiencySecond.h.
Referenced by beginRun().
Definition at line 122 of file RPCEfficiencySecond.h.
Referenced by beginRun().
Definition at line 121 of file RPCEfficiencySecond.h.
Referenced by beginRun().
Definition at line 120 of file RPCEfficiencySecond.h.
Referenced by beginRun().
Definition at line 119 of file RPCEfficiencySecond.h.
Referenced by beginRun().
Definition at line 118 of file RPCEfficiencySecond.h.
Referenced by beginRun().
Definition at line 103 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 104 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 105 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 106 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 107 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 108 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 130 of file RPCEfficiencySecond.h.
Referenced by beginRun().
Definition at line 129 of file RPCEfficiencySecond.h.
Referenced by beginRun().
Definition at line 128 of file RPCEfficiencySecond.h.
Referenced by beginRun().
Definition at line 127 of file RPCEfficiencySecond.h.
Referenced by beginRun().
Definition at line 126 of file RPCEfficiencySecond.h.
Referenced by beginRun().
Definition at line 125 of file RPCEfficiencySecond.h.
Referenced by beginRun().
Definition at line 110 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 111 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 112 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 113 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 114 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 115 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 137 of file RPCEfficiencySecond.h.
Referenced by beginRun().
Definition at line 136 of file RPCEfficiencySecond.h.
Referenced by beginRun().
Definition at line 135 of file RPCEfficiencySecond.h.
Referenced by beginRun().
Definition at line 134 of file RPCEfficiencySecond.h.
Referenced by beginRun().
Definition at line 133 of file RPCEfficiencySecond.h.
Referenced by beginRun().
Definition at line 132 of file RPCEfficiencySecond.h.
Referenced by beginRun().
Definition at line 51 of file RPCEfficiencySecond.h.
Referenced by endRun().
Definition at line 52 of file RPCEfficiencySecond.h.
Referenced by endRun().
Definition at line 53 of file RPCEfficiencySecond.h.
Referenced by endRun().
Definition at line 54 of file RPCEfficiencySecond.h.
Referenced by endRun().
Definition at line 55 of file RPCEfficiencySecond.h.
Referenced by endRun().
Definition at line 56 of file RPCEfficiencySecond.h.
Referenced by endRun().
Definition at line 78 of file RPCEfficiencySecond.h.
Referenced by endRun().
Definition at line 77 of file RPCEfficiencySecond.h.
Referenced by endRun().
Definition at line 76 of file RPCEfficiencySecond.h.
Referenced by endRun().
Definition at line 75 of file RPCEfficiencySecond.h.
Referenced by endRun().
Definition at line 74 of file RPCEfficiencySecond.h.
Referenced by endRun().
Definition at line 73 of file RPCEfficiencySecond.h.
Referenced by endRun().
Definition at line 58 of file RPCEfficiencySecond.h.
Referenced by endRun().
Definition at line 59 of file RPCEfficiencySecond.h.
Referenced by endRun().
Definition at line 60 of file RPCEfficiencySecond.h.
Referenced by endRun().
Definition at line 61 of file RPCEfficiencySecond.h.
Referenced by endRun().
Definition at line 62 of file RPCEfficiencySecond.h.
Referenced by endRun().
Definition at line 63 of file RPCEfficiencySecond.h.
Referenced by endRun().
Definition at line 85 of file RPCEfficiencySecond.h.
Referenced by endRun().
Definition at line 84 of file RPCEfficiencySecond.h.
Referenced by endRun().
Definition at line 83 of file RPCEfficiencySecond.h.
Referenced by endRun().
Definition at line 82 of file RPCEfficiencySecond.h.
Referenced by endRun().
Definition at line 81 of file RPCEfficiencySecond.h.
Referenced by endRun().
Definition at line 80 of file RPCEfficiencySecond.h.
Referenced by endRun().
Definition at line 65 of file RPCEfficiencySecond.h.
Referenced by endRun().
Definition at line 66 of file RPCEfficiencySecond.h.
Referenced by endRun().
Definition at line 67 of file RPCEfficiencySecond.h.
Referenced by endRun().
Definition at line 68 of file RPCEfficiencySecond.h.
Referenced by endRun().
Definition at line 69 of file RPCEfficiencySecond.h.
Referenced by endRun().
Definition at line 70 of file RPCEfficiencySecond.h.
Referenced by endRun().
Definition at line 92 of file RPCEfficiencySecond.h.
Referenced by endRun().
Definition at line 91 of file RPCEfficiencySecond.h.
Referenced by endRun().
Definition at line 90 of file RPCEfficiencySecond.h.
Referenced by endRun().
Definition at line 89 of file RPCEfficiencySecond.h.
Referenced by endRun().
Definition at line 88 of file RPCEfficiencySecond.h.
Referenced by endRun().
Definition at line 87 of file RPCEfficiencySecond.h.
Referenced by endRun().
Definition at line 143 of file RPCEfficiencySecond.h.
Referenced by endRun().
Definition at line 154 of file RPCEfficiencySecond.h.
Definition at line 141 of file RPCEfficiencySecond.h.
Referenced by endRun().
Definition at line 152 of file RPCEfficiencySecond.h.
Definition at line 148 of file RPCEfficiencySecond.h.
Definition at line 147 of file RPCEfficiencySecond.h.
Definition at line 146 of file RPCEfficiencySecond.h.
Referenced by endRun().
Definition at line 142 of file RPCEfficiencySecond.h.
Definition at line 153 of file RPCEfficiencySecond.h.
Definition at line 140 of file RPCEfficiencySecond.h.
Referenced by endRun().
Definition at line 151 of file RPCEfficiencySecond.h.
Definition at line 272 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 279 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 273 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 280 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 274 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 281 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 271 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 278 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 270 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 277 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 269 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 276 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 187 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 193 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 188 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 194 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 189 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 195 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 186 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 192 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 185 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 191 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
std::map<int, std::map<std::string, MonitorElement*> > RPCEfficiencySecond::meCollection [private] |
Definition at line 392 of file RPCEfficiencySecond.h.
Referenced by endRun().
std::string RPCEfficiencySecond::NameFile [private] |
Definition at line 398 of file RPCEfficiencySecond.h.
Referenced by endRun(), and RPCEfficiencySecond().
Definition at line 302 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 309 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 303 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 310 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 304 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 311 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 301 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 308 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 300 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 307 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 299 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 306 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 213 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 219 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 214 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 220 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 215 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 221 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 212 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 218 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 211 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 217 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 369 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 370 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 371 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 372 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 373 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 374 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 352 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 353 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 354 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 351 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 350 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
bool RPCEfficiencySecond::SaveFile [private] |
Definition at line 397 of file RPCEfficiencySecond.h.
Referenced by endRun(), and RPCEfficiencySecond().
Definition at line 346 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 347 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 348 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 345 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 344 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 48 of file RPCEfficiencySecond.h.
Referenced by endRun().
Definition at line 49 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
TFile* RPCEfficiencySecond::theFile |
Definition at line 45 of file RPCEfficiencySecond.h.
Definition at line 46 of file RPCEfficiencySecond.h.
Definition at line 331 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 332 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 333 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 330 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().
Definition at line 329 of file RPCEfficiencySecond.h.
Referenced by beginRun(), and endRun().