61 gctCenJetsSource_(ps.getParameter<edm::
InputTag>(
"gctCentralJetsSource")),
62 gctForJetsSource_(ps.getParameter<edm::
InputTag>(
"gctForwardJetsSource")),
63 gctTauJetsSource_(ps.getParameter<edm::
InputTag>(
"gctTauJetsSource")),
64 gctEnergySumsSource_(ps.getParameter<edm::
InputTag>(
"gctEnergySumsSource")),
65 gctIsoEmSource_(ps.getParameter<edm::
InputTag>(
"gctIsoEmSource")),
66 gctNonIsoEmSource_(ps.getParameter<edm::
InputTag>(
"gctNonIsoEmSource")),
67 filterTriggerType_ (ps.getParameter< int >(
"filterTriggerType"))
74 edm::LogInfo(
"L1TGCT") <<
"L1TGCT: constructor...." << std::endl;
85 edm::LogInfo(
"L1TGCT") <<
"L1T Monitoring histograms will be saved to "
96 dbe->setCurrentFolder(
"L1T/L1TGCT");
127 dbe->setCurrentFolder(
"L1T/L1TGCT");
128 dbe->rmdir(
"L1T/L1TGCT");
134 dbe->setCurrentFolder(
"L1T/L1TGCT");
137 dbe->book1D(
"TriggerType",
"TriggerType", 17, -0.5, 16.5);
243 edm::LogInfo(
"L1TGCT") <<
"L1TGCT: end job...." << std::endl;
257 edm::LogInfo(
"L1TGCT") <<
"L1TGCT: analyze...." << std::endl;
274 double triggerType =
static_cast<double> (e.
experimentType()) + 0.001;
275 double triggerTypeLast =
static_cast<double> (edm::EventAuxiliary::ExperimentType::ErrorTrigger)
325 for (L1GctJetCandCollection::const_iterator cj = l1CenJets->begin();cj != l1CenJets->end(); cj++) {
345 for (L1GctJetCandCollection::const_iterator fj = l1ForJets->begin(); fj != l1ForJets->end(); fj++) {
365 for (L1GctJetCandCollection::const_iterator tj = l1TauJets->begin(); tj != l1TauJets->end(); tj++) {
383 for (L1GctEtMissCollection::const_iterator
met = l1EtMiss->begin();
met != l1EtMiss->end();
met++) {
386 if (
met->overFlow() == 0 &&
met->et() > 0) {
401 for (L1GctHtMissCollection::const_iterator mht = l1HtMiss->begin(); mht != l1HtMiss->end(); mht++) {
404 if (mht->overFlow() == 0 && mht->et() > 0) {
419 if (l1HtMiss->size() == l1EtMiss->size()) {
420 for (
unsigned i=0;
i<l1HtMiss->size();
i++) {
421 if (l1HtMiss->at(
i).overFlow() == 0 && l1EtMiss->at(
i).overFlow() == 0 &&
422 l1HtMiss->at(
i).bx() == 0 && l1EtMiss->at(
i).bx() == 0) {
425 if (l1HtMiss->at(
i).et() && l1EtMiss->at(
i).et()){
437 for (L1GctEtHadCollection::const_iterator ht = l1EtHad->begin(); ht != l1EtHad->end(); ht++) {
451 for (L1GctEtTotalCollection::const_iterator et = l1EtTotal->begin(); et != l1EtTotal->end(); et++) {
465 if (l1EtTotal->size() == l1EtHad->size()) {
466 for (
unsigned i=0;
i<l1EtHad->size();
i++) {
467 if (l1EtHad->at(
i).overFlow() == 0 && l1EtTotal->at(
i).overFlow() == 0 &&
468 l1EtHad->at(
i).bx() == 0 && l1EtTotal->at(
i).bx() == 0) {
480 for (L1GctHFRingEtSumsCollection::const_iterator hfs=l1HFSums->begin(); hfs!=l1HFSums->end(); hfs++){
496 for (
unsigned i=0;
i<4;
i++){
506 for (L1GctHFBitCountsCollection::const_iterator hfc=l1HFCounts->begin(); hfc!=l1HFCounts->end(); hfc++){
519 for (
unsigned i=0;
i<4;
i++){
529 for (L1GctEmCandCollection::const_iterator ie=l1IsoEm->begin(); ie!=l1IsoEm->end(); ie++) {
547 for (L1GctEmCandCollection::const_iterator
ne=l1NonIsoEm->begin();
ne!=l1NonIsoEm->end();
ne++) {
T getParameter(std::string const &) const
const unsigned int R6BINS
const unsigned int BXBINS
T getUntrackedParameter(std::string const &, T const &) const
MonitorElement * l1GctHtMiss_
MonitorElement * l1GctEtHad_
MonitorElement * l1GctHtMissPhi_
const unsigned int OFBINS
edm::InputTag gctEnergySumsSource_
MonitorElement * l1GctHFRing2TowerCountNegEta_
MonitorElement * l1GctEtMissOccBx_
MonitorElement * l1GctCenJetsRank_
MonitorElement * l1GctHFRing1ETSumNegEta_
MonitorElement * l1GctEtTotalEtHadCorr_
MonitorElement * l1GctHFRing1TowerCountPosEta_
const unsigned int EMETABINS
MonitorElement * l1GctTauJetsEtEtaPhi_
MonitorElement * l1GctHFRingETSumOccBx_
MonitorElement * l1GctNonIsoEmRank_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
const unsigned int MHTPHIBINS
MonitorElement * l1GctEtMiss_
MonitorElement * l1GctHFRing2ETSumNegEta_
MonitorElement * l1GctAllEmOccRankBx_
edm::EDGetTokenT< L1GctJetCandCollection > gctCenJetsSourceToken_
MonitorElement * l1GctEtTotal_
MonitorElement * l1GctHtMissOf_
edm::EDGetTokenT< L1GctHtMissCollection > l1HtMissToken_
MonitorElement * l1GctEtHadOccBx_
MonitorElement * l1GctEtTotalOccBx_
edm::EDGetTokenT< L1GctEtTotalCollection > l1EtTotalToken_
MonitorElement * l1GctHFRingTowerCountOccBx_
MonitorElement * l1GctForJetsRank_
MonitorElement * l1GctTauJetsRank_
MonitorElement * l1GctHFRing2ETSumPosEta_
edm::InputTag gctCenJetsSource_
L1TGCT(const edm::ParameterSet &ps)
MonitorElement * l1GctEtMissPhi_
MonitorElement * l1GctCenJetsEtEtaPhi_
edm::InputTag gctTauJetsSource_
edm::EDGetTokenT< L1GctEmCandCollection > gctIsoEmSourceToken_
MonitorElement * l1GctAllJetsEtEtaPhi_
MonitorElement * l1GctHFRing1ETSumPosEta_
edm::EDGetTokenT< L1GctJetCandCollection > gctTauJetsSourceToken_
const unsigned int R3BINS
edm::EDGetTokenT< L1GctHFBitCountsCollection > l1HFCountsToken_
MonitorElement * l1GctHFRingRatioNegEta_
MonitorElement * l1GctCenJetsOccEtaPhi_
MonitorElement * l1GctEtMissOf_
MonitorElement * l1GctForJetsEtEtaPhi_
const unsigned int JETETABINS
MonitorElement * l1GctIsoEmRank_
MonitorElement * l1GctHtMissOccBx_
void analyze(const edm::Event &e, const edm::EventSetup &c)
edm::EDGetTokenT< L1GctEmCandCollection > gctNonIsoEmSourceToken_
MonitorElement * l1GctHFRing2TowerCountPosEta_
edm::EDGetTokenT< L1GctEtHadCollection > l1EtHadToken_
MonitorElement * l1GctHFRing2TowerCountPosEtaNegEta_
edm::InputTag gctIsoEmSource_
MonitorElement * triggerType_
MonitorElement * l1GctEtMissHtMissCorrPhi_
MonitorElement * l1GctNonIsoEmOccEtaPhi_
int filterTriggerType_
filter TriggerType
const unsigned int R7BINS
edm::InputTag gctForJetsSource_
MonitorElement * l1GctNonIsoEmRankEtaPhi_
MonitorElement * l1GctHFRing1PosEtaNegEta_
const unsigned int R12BINS
const unsigned int R5BINS
edm::EDGetTokenT< L1GctHFRingEtSumsCollection > gctEnergySumsSourceToken_
MonitorElement * l1GctAllJetsOccEtaPhi_
MonitorElement * l1GctHFRingRatioPosEta_
MonitorElement * l1GctIsoEmRankEtaPhi_
MonitorElement * l1GctHFRing1TowerCountPosEtaNegEta_
edm::EventAuxiliary::ExperimentType experimentType() const
edm::EDGetTokenT< L1GctJetCandCollection > gctForJetsSourceToken_
MonitorElement * l1GctEtHadOf_
MonitorElement * l1GctForJetsOccEtaPhi_
MonitorElement * l1GctHFRing1TowerCountNegEta_
edm::EDGetTokenT< L1GctEtMissCollection > l1EtMissToken_
MonitorElement * l1GctEtTotalOf_
MonitorElement * l1GctAllJetsOccRankBx_
MonitorElement * l1GctEtMissHtMissCorr_
MonitorElement * l1GctHFRing2PosEtaNegEta_
const unsigned int METPHIBINS
edm::InputTag gctNonIsoEmSource_
MonitorElement * l1GctTauJetsOccEtaPhi_
MonitorElement * l1GctIsoEmOccEtaPhi_