262 std::string MsgLoggerCat =
"GlobalRecHitsHistogrammer_analyze";
273 <<
"Processing run " << nrun <<
", event " << nevt
274 <<
" (" <<
count <<
" events total)";
278 <<
"Processing run " << nrun <<
", event " << nevt
279 <<
" (" <<
count <<
" events total)";
289 std::vector<const edm::StableProvenance*> AllProv;
294 <<
"Number of Provenances = " << AllProv.size();
297 TString eventout(
"\nProvenance info:\n");
299 for (
unsigned int i = 0;
i < AllProv.size(); ++
i) {
300 eventout +=
"\n ******************************";
301 eventout +=
"\n Module : ";
303 eventout += AllProv[
i]->moduleLabel();
304 eventout +=
"\n ProductID : ";
306 eventout += AllProv[
i]->productID().id();
307 eventout +=
"\n ClassName : ";
309 eventout += AllProv[
i]->className();
310 eventout +=
"\n InstanceName : ";
312 eventout += AllProv[
i]->productInstanceName();
313 eventout +=
"\n BranchName : ";
315 eventout += AllProv[
i]->branchName();
317 eventout +=
"\n ******************************\n";
326 if (!srcGlobalRecHits.
isValid()) {
328 <<
"Unable to find PGlobalRecHit in event!";
376 std::vector<PGlobalRecHit::ECalRecHit> EECalRecHits =
379 for (
unsigned int i = 0;
i < EECalRecHits.size(); ++
i) {
383 std::vector<PGlobalRecHit::ECalRecHit> EBCalRecHits =
386 for (
unsigned int i = 0;
i < EBCalRecHits.size(); ++
i) {
390 std::vector<PGlobalRecHit::ECalRecHit> ESCalRecHits =
393 for (
unsigned int i = 0;
i < ESCalRecHits.size(); ++
i) {
398 std::vector<PGlobalRecHit::HCalRecHit> HBCalRecHits =
401 for (
unsigned int i = 0;
i < HBCalRecHits.size(); ++
i) {
405 std::vector<PGlobalRecHit::HCalRecHit> HECalRecHits =
408 for (
unsigned int i = 0;
i < HECalRecHits.size(); ++
i) {
412 std::vector<PGlobalRecHit::HCalRecHit> HOCalRecHits =
415 for (
unsigned int i = 0;
i < HOCalRecHits.size(); ++
i) {
419 std::vector<PGlobalRecHit::HCalRecHit> HFCalRecHits =
422 for (
unsigned int i = 0;
i < HFCalRecHits.size(); ++
i) {
427 std::vector<PGlobalRecHit::SiStripRecHit> TIBL1RecHits =
430 for (
unsigned int i = 0;
i < TIBL1RecHits.size(); ++
i) {
435 std::vector<PGlobalRecHit::SiStripRecHit> TIBL2RecHits =
438 for (
unsigned int i = 0;
i < TIBL2RecHits.size(); ++
i) {
443 std::vector<PGlobalRecHit::SiStripRecHit> TIBL3RecHits =
446 for (
unsigned int i = 0;
i < TIBL3RecHits.size(); ++
i) {
451 std::vector<PGlobalRecHit::SiStripRecHit> TIBL4RecHits =
454 for (
unsigned int i = 0;
i < TIBL4RecHits.size(); ++
i) {
459 std::vector<PGlobalRecHit::SiStripRecHit> TOBL1RecHits =
462 for (
unsigned int i = 0;
i < TOBL1RecHits.size(); ++
i) {
467 std::vector<PGlobalRecHit::SiStripRecHit> TOBL2RecHits =
470 for (
unsigned int i = 0;
i < TOBL2RecHits.size(); ++
i) {
475 std::vector<PGlobalRecHit::SiStripRecHit> TOBL3RecHits =
478 for (
unsigned int i = 0;
i < TOBL3RecHits.size(); ++
i) {
483 std::vector<PGlobalRecHit::SiStripRecHit> TOBL4RecHits =
486 for (
unsigned int i = 0;
i < TOBL4RecHits.size(); ++
i) {
491 std::vector<PGlobalRecHit::SiStripRecHit> TIDW1RecHits =
494 for (
unsigned int i = 0;
i < TIDW1RecHits.size(); ++
i) {
499 std::vector<PGlobalRecHit::SiStripRecHit> TIDW2RecHits =
502 for (
unsigned int i = 0;
i < TIDW2RecHits.size(); ++
i) {
507 std::vector<PGlobalRecHit::SiStripRecHit> TIDW3RecHits =
510 for (
unsigned int i = 0;
i < TIDW3RecHits.size(); ++
i) {
515 std::vector<PGlobalRecHit::SiStripRecHit> TECW1RecHits =
518 for (
unsigned int i = 0;
i < TECW1RecHits.size(); ++
i) {
523 std::vector<PGlobalRecHit::SiStripRecHit> TECW2RecHits =
526 for (
unsigned int i = 0;
i < TECW2RecHits.size(); ++
i) {
531 std::vector<PGlobalRecHit::SiStripRecHit> TECW3RecHits =
534 for (
unsigned int i = 0;
i < TECW3RecHits.size(); ++
i) {
539 std::vector<PGlobalRecHit::SiStripRecHit> TECW4RecHits =
542 for (
unsigned int i = 0;
i < TECW4RecHits.size(); ++
i) {
547 std::vector<PGlobalRecHit::SiStripRecHit> TECW5RecHits =
550 for (
unsigned int i = 0;
i < TECW5RecHits.size(); ++
i) {
555 std::vector<PGlobalRecHit::SiStripRecHit> TECW6RecHits =
558 for (
unsigned int i = 0;
i < TECW6RecHits.size(); ++
i) {
563 std::vector<PGlobalRecHit::SiStripRecHit> TECW7RecHits =
566 for (
unsigned int i = 0;
i < TECW7RecHits.size(); ++
i) {
571 std::vector<PGlobalRecHit::SiStripRecHit> TECW8RecHits =
574 for (
unsigned int i = 0;
i < TECW8RecHits.size(); ++
i) {
580 std::vector<PGlobalRecHit::SiPixelRecHit> BRL1RecHits =
583 for (
unsigned int i = 0;
i < BRL1RecHits.size(); ++
i) {
588 std::vector<PGlobalRecHit::SiPixelRecHit> BRL2RecHits =
591 for (
unsigned int i = 0;
i < BRL2RecHits.size(); ++
i) {
596 std::vector<PGlobalRecHit::SiPixelRecHit> BRL3RecHits =
599 for (
unsigned int i = 0;
i < BRL3RecHits.size(); ++
i) {
604 std::vector<PGlobalRecHit::SiPixelRecHit> FWD1pRecHits =
607 for (
unsigned int i = 0;
i < FWD1pRecHits.size(); ++
i) {
612 std::vector<PGlobalRecHit::SiPixelRecHit> FWD1nRecHits =
615 for (
unsigned int i = 0;
i < FWD1nRecHits.size(); ++
i) {
620 std::vector<PGlobalRecHit::SiPixelRecHit> FWD2pRecHits =
623 for (
unsigned int i = 0;
i < FWD2pRecHits.size(); ++
i) {
628 std::vector<PGlobalRecHit::SiPixelRecHit> FWD2nRecHits =
631 for (
unsigned int i = 0;
i < FWD2nRecHits.size(); ++
i) {
637 std::vector<PGlobalRecHit::DTRecHit> DTRecHits =
640 for (
unsigned int i = 0;
i < DTRecHits.size(); ++
i) {
645 std::vector<PGlobalRecHit::CSCRecHit> CSCRecHits =
648 for (
unsigned int i = 0;
i < CSCRecHits.size(); ++
i) {
650 (CSCRecHits[
i].RHPHI - CSCRecHits[
i].SHPHI));
654 std::vector<PGlobalRecHit::RPCRecHit> RPCRecHits =
657 for (
unsigned int i = 0;
i < RPCRecHits.size(); ++
i) {
663 <<
"Done gathering data from event.";
SiPixelRecHitVector getBRL1RecHits() const
SiStripRecHitVector getTIDW2RecHits() const
int getnBRL3RecHits() const
EventNumber_t event() const
SiStripRecHitVector getTECW5RecHits() const
MonitorElement * mehSiPixeln[7]
int getnDTRecHits() const
SiStripRecHitVector getTECW8RecHits() const
MonitorElement * mehEcaln[3]
HCalRecHitVector getHFCalRecHits() const
bool getByToken(EDGetToken token, Handle< PROD > &result) const
SiStripRecHitVector getTECW3RecHits() const
SiPixelRecHitVector getBRL3RecHits() const
SiPixelRecHitVector getBRL2RecHits() const
SiStripRecHitVector getTIBL2RecHits() const
CSCRecHitVector getCSCRecHits() const
int getnTECW7RecHits() const
unsigned long long EventNumber_t
int getnHFCalRecHits() const
SiStripRecHitVector getTOBL4RecHits() const
int getnFWD1nRecHits() const
int getnFWD2pRecHits() const
int getnBRL2RecHits() const
edm::EDGetTokenT< PGlobalRecHit > GlobalRecHitSrc_Token_
int getnCSCRecHits() const
SiStripRecHitVector getTOBL3RecHits() const
SiStripRecHitVector getTIBL4RecHits() const
int getnESCalRecHits() const
MonitorElement * mehSiPixelResX[7]
int getnTIBL3RecHits() const
int getnTOBL1RecHits() const
SiStripRecHitVector getTIDW1RecHits() const
SiPixelRecHitVector getFWD2nRecHits() const
int getnTECW5RecHits() const
DTRecHitVector getDTRecHits() const
MonitorElement * mehSiStripResX[19]
HCalRecHitVector getHOCalRecHits() const
int getnBRL1RecHits() const
SiStripRecHitVector getTECW7RecHits() const
MonitorElement * mehDtMuonRes
ECalRecHitVector getEBCalRecHits() const
int getnTECW1RecHits() const
MonitorElement * mehSiStripn[19]
RPCRecHitVector getRPCRecHits() const
MonitorElement * mehCSCResRDPhi
int getnTOBL3RecHits() const
int getnTECW8RecHits() const
SiPixelRecHitVector getFWD1pRecHits() const
SiStripRecHitVector getTECW6RecHits() const
int getnTECW6RecHits() const
int getnRPCRecHits() const
SiStripRecHitVector getTECW2RecHits() const
SiStripRecHitVector getTECW4RecHits() const
int getnTIDW1RecHits() const
int getnTOBL2RecHits() const
int getnTIDW3RecHits() const
HCalRecHitVector getHECalRecHits() const
int getnTECW2RecHits() const
MonitorElement * mehEcalRes[3]
SiStripRecHitVector getTOBL2RecHits() const
MonitorElement * mehSiPixelResY[7]
int getnHOCalRecHits() const
MonitorElement * mehDtMuonn
int getnTIBL1RecHits() const
int getnHBCalRecHits() const
int getnFWD1pRecHits() const
ECalRecHitVector getEECalRecHits() const
MonitorElement * mehSiStripResY[19]
SiStripRecHitVector getTIDW3RecHits() const
HCalRecHitVector getHBCalRecHits() const
int getnTIDW2RecHits() const
int getnTECW4RecHits() const
int getnEBCalRecHits() const
SiPixelRecHitVector getFWD2pRecHits() const
int getnHECalRecHits() const
SiStripRecHitVector getTOBL1RecHits() const
int getnEECalRecHits() const
MonitorElement * mehHcalRes[4]
SiStripRecHitVector getTIBL1RecHits() const
int getnTIBL4RecHits() const
int getnTECW3RecHits() const
SiPixelRecHitVector getFWD1nRecHits() const
MonitorElement * mehRPCResX
int getnFWD2nRecHits() const
int getnTIBL2RecHits() const
MonitorElement * mehHcaln[4]
SiStripRecHitVector getTECW1RecHits() const
SiStripRecHitVector getTIBL3RecHits() const
ECalRecHitVector getESCalRecHits() const
void getAllStableProvenance(std::vector< StableProvenance const * > &provenances) const
int getnTOBL4RecHits() const