1 #ifndef EBTriggerTowerTask_H
2 #define EBTriggerTowerTask_H
72 typedef std::vector<MonitorElement*>
array1;
89 void setup(
const char* nameext,
EBTriggerTowerTask(const edm::ParameterSet &ps)
Constructor.
static const int nTTPhi
number of trigger towers in phi
void beginJob(void)
BeginJob.
void endRun(const edm::Run &r, const edm::EventSetup &c)
EndRun.
edm::InputTag realCollection_
to find the input collection of real digis
std::string HLTCaloHLTBit_
MonitorElement * meEtSpectrumReal_
ET spectrums for the whole EB.
edm::InputTag HLTResultsCollection_
to find the input collection of HLT bits
void analyze(const edm::Event &e, const edm::EventSetup &c)
Analyze.
static const int nTTEta
number of trigger towers in eta
void processDigis(const edm::Event &e, const edm::Handle< EcalTrigPrimDigiCollection > &digis, array1 &meEtMap, array1 &meVeto, const edm::Handle< EcalTrigPrimDigiCollection > &compDigis=edm::Handle< EcalTrigPrimDigiCollection >(), const edm::Handle< edm::TriggerResults > &hltResults=edm::Handle< edm::TriggerResults >())
process a collection of digis, either real or emulated
bool enableCleanup_
remove MEs
static const int nSM
number of supermodules
std::string outputFile_
debug output root file. if empty, no output file created.
bool mergeRuns_
merge MEs across runs
MonitorElement * meEmulMatchMaxIndex1D_
std::vector< MonitorElement * > array1
1D array
edm::InputTag emulCollection_
to find the input collection of emulated digis
array1 meVetoReal_
fine grain veto vs iphi vs ieta, for each SM
MonitorElement * meEtBxReal_
number and ET average of TP vs bx
array1 meEtMapEmul_
Emulated Et vs ix vs iy, for each SM.
std::string HLTMuonHLTBit_
virtual ~EBTriggerTowerTask()
Destructor.
edm::InputTag EBDigiCollection_
to find the input collection of crystal digis
int ievt_
local event counter
array1 meEtMapReal_
Et vs ix vs iy, for each SM.
void cleanup(void)
Cleanup.
void beginRun(const edm::Run &r, const edm::EventSetup &c)
BeginRun.
MonitorElement * meTCCTimingMuon_
void reserveArray(array1 &array)
reserve an array to hold one histogram per supermodule
std::string prefixME_
path to MEs
DQMStore * dqmStore_
DQM back-end interface.
MonitorElement * meEmulMatchIndex1D_
1D emulator match 1D
array1 meVetoEmul_
Emulated fine grain veto vs iphi vs ieta, for each SM.
MonitorElement * meOccupancyBxReal_
MonitorElement * meEtSpectrumEmulMax_
MonitorElement * meTCCTimingCalo_
TCC timing.
MonitorElement * meEtSpectrumEmul_