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