170 if (
cntevt % 10000 == 0)
std::cout <<
"[OccupancyPlotter::analyze] Received event " <<
cntevt << std::endl;
173 if (!highVoltageOK) {
208 if ( !aodTriggerEvent.isValid() ) {
218 for (
unsigned int iPD = 0; iPD <
datasetNames.size(); iPD++) {
222 unsigned int keyTracker[1000];
223 for(
unsigned int irreproduceableIterator = 0; irreproduceableIterator < 1000; irreproduceableIterator++) {
224 keyTracker[irreproduceableIterator] = 1001;
237 if (index < triggerResults->
size()) {
249 for (
int iModule = (modulesThisPath.size()-1); iModule >= 0; iModule--) {
256 if (
debugPrint)
std::cout <<
"For path " << pathName <<
" this module " << modulesThisPath[iModule] <<
" is a saveTags module of type " <<
hltConfig_.
moduleType(modulesThisPath[iModule]) << std::endl;
260 InputTag moduleWhoseResultsWeWant(modulesThisPath[iModule],
"",
"HLT");
262 unsigned int indexOfModuleInAodTriggerEvent = aodTriggerEvent->filterIndex(moduleWhoseResultsWeWant);
264 if ( indexOfModuleInAodTriggerEvent < aodTriggerEvent->sizeFilters() ) {
265 const Keys &
keys = aodTriggerEvent->filterKeys( indexOfModuleInAodTriggerEvent );
266 if (
debugPrint)
std::cout <<
"Got Keys for index " << indexOfModuleInAodTriggerEvent <<
", size of keys is " << keys.size() << std::endl;
268 for (
size_t iKey = 0; iKey < keys.size(); iKey++ ) {
270 bool first_count =
false;
272 if(keyTracker[iKey] != iKey) first_count =
true;
275 << std::setw(10) << foundObject.
pt()
276 <<
", " << std::setw(10) << foundObject.
eta()
277 <<
", " << std::setw(10) << foundObject.
phi()
278 <<
" for path = " << std::setw(20) << pathName
279 <<
" module " << std::setw(40) << modulesThisPath[iModule]
280 <<
" iKey " << iKey << std::endl;
284 keyTracker[iKey] = iKey;
bool saveTags(const std::string &module) const
Is module an L3 filter (ie, tracked saveTags=true)
const std::string moduleType(const std::string &module) const
C++ class name of module.
edm::LuminosityBlockNumber_t luminosityBlock() const
bool checkDcsInfo(const edm::Event &jEvent)
virtual void fillHltMatrix(std::string, std::string, double, double, bool)
unsigned int triggerIndex(const std::string &triggerName) const
slot position of trigger path in trigger table (0 to size-1)
Single trigger physics object (e.g., an isolated muon)
const std::vector< std::string > & streamContent(unsigned int stream) const
names of datasets in stream with index i
MonitorElement * get(const std::string &path) const
get ME from full pathname (e.g. "my/long/dir/my_histo")
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
const std::vector< std::string > & moduleLabels(unsigned int trigger) const
label(s) of module(s) on a trigger path
std::vector< TriggerObject > TriggerObjectCollection
collection of trigger physics objects (e.g., all isolated muons)
vector< vector< string > > PDsVectorPathsVector
std::vector< size_type > Keys
TH1F * getTH1F(void) const
HLTConfigProvider hltConfig_
tuple size
Write out results.
void checkLumiInfo(const edm::Event &jEvent)