17 constexpr
unsigned int PHIBINS = 18;
18 constexpr
float PHIMIN = -0.5;
19 constexpr
float PHIMAX = 17.5;
22 constexpr
unsigned int R6BINS = 64;
23 constexpr
float R6MIN = -0.5;
24 constexpr
float R6MAX = 63.5;
25 constexpr
unsigned int R10BINS = 1024;
26 constexpr
float R10MIN = -0.5;
27 constexpr
float R10MAX = 1023.5;
29 constexpr
unsigned int ETABINS = 22;
30 constexpr
float ETAMIN = -0.5;
31 constexpr
float ETAMAX = 21.5;
35 : histFolder_(ps.getUntrackedParameter<
std::
string>(
"HistFolder",
"L1T/L1TRCT")),
38 filterTriggerType_(ps.getParameter<
int>(
"filterTriggerType")),
39 selectBX_(ps.getUntrackedParameter<
int>(
"selectBX", 2)) {
44 std::cout <<
"L1TRCT: constructor...." << std::endl;
114 std::cout <<
"L1TRCT: analyze...." << std::endl;
130 double triggerType =
static_cast<double>(
e.experimentType()) + 0.001;
131 double triggerTypeLast =
static_cast<double>(edm::EventAuxiliary::ExperimentType::ErrorTrigger) + 0.001;
138 if (
e.isRealData()) {
140 edm::LogInfo(
"L1TRCT") <<
"\n Event of TriggerType " <<
e.experimentType() <<
" rejected" << std::endl;
157 edm::LogInfo(
"DataNotFound") <<
"can't find L1CaloRegionCollection - RCT";
162 edm::LogInfo(
"DataNotFound") <<
"can't find L1CaloEmCollection - Layer2 ";
169 for (L1CaloRegionCollection::const_iterator ireg = rgn->begin(); ireg != rgn->end(); ireg++) {
170 if (ireg->et() > 0) {
175 if (ireg->et() > 0) {
177 if (ireg->et() > 5) {
183 if (ireg->overFlow())
191 if (ireg->fineGrain())
204 for (L1CaloEmCollection::const_iterator iem = em->begin(); iem != em->end(); iem++) {
205 if (iem->rank() == 0)
209 if (iem->isolated()) {
212 if (iem->rank() > 10) {
218 if (iem->rank() > 10) {
223 if (iem->isolated()) {
225 if (iem->rank() > 10) {
230 if (iem->rank() > 10) {
MonitorElement * rctOverFlowEtaPhi_
const unsigned int R6BINS
void bookHistograms(DQMStore::IBooker &ibooker, edm::Run const &, edm::EventSetup const &) override
MonitorElement * rctQuietEtaPhi_
std::vector< L1CaloEmCand > L1CaloEmCollection
edm::EDGetTokenT< L1CaloRegionCollection > rctSource_L1CRCollection_
L1TRCT(const edm::ParameterSet &ps)
MonitorElement * rctRegionsEtEtaPhi_
const unsigned int ETABINS
virtual void setCurrentFolder(std::string const &fullpath)
MonitorElement * rctRegionsOccEtaPhi_
MonitorElement * triggerType_
const unsigned int PHIBINS
int filterTriggerType_
filter TriggerType
T getUntrackedParameter(std::string const &, T const &) const
MonitorElement * lumisecId_
MonitorElement * rctHfPlusTauEtaPhi_
MonitorElement * rctIsoEmEtEtaPhi_
MonitorElement * rctNonIsoEmEtEtaPhi_
MonitorElement * rctNotCentralIsoEmEtEtaPhi_
MonitorElement * rctIsoEmOccEtaPhi_
MonitorElement * rctNotCentralRegionsOccEtaPhi_
MonitorElement * rctNonIsoEmRank_
Log< level::Info, false > LogInfo
MonitorElement * rctTauVetoEtaPhi_
edm::EDGetTokenT< L1CaloEmCollection > rctSource_L1CEMCollection_
MonitorElement * rctNotCentralNonIsoEmOccEtaPhi_
MonitorElement * rctEmBx_
MonitorElement * rctNotCentralRegionsEtEtaPhi_
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
MonitorElement * bookInt(TString const &name, FUNC onbooking=NOOP())
MonitorElement * rctNotCentralNonIsoEmEtEtaPhi_
MonitorElement * rctRegionRank_
MonitorElement * rctMipEtaPhi_
std::vector< L1CaloRegion > L1CaloRegionCollection
void analyze(const edm::Event &e, const edm::EventSetup &c) override
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
MonitorElement * rctRegionBx_
MonitorElement * rctNonIsoEmOccEtaPhi_
MonitorElement * rctNotCentralIsoEmOccEtaPhi_
MonitorElement * rctIsoEmRank_