CMS 3D CMS Logo

Functions
DTPattern.cc File Reference
#include "L1Trigger/DTTriggerPhase2/interface/DTPattern.h"
#include "L1Trigger/DTTriggerPhase2/interface/constants.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include <iostream>

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &out, DTPattern &p)
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  out,
DTPattern p 
)

Definition at line 56 of file DTPattern.cc.

56  {
57  //Friend for printing pattern information trough iostream
58  out << "Pattern id: " << std::get<0>(p.id()) << " , " << std::get<1>(p.id()) << " , " << std::get<2>(p.id())
59  << std::endl;
60  std::vector<RefDTPatternHit> thegenHits = p.genHits();
61  out << "Pattern hits: " << std::endl;
62 
63  for (std::vector<RefDTPatternHit>::iterator itHit = thegenHits.begin(); itHit != thegenHits.end(); itHit++) {
64  out << "[" << std::get<0>(*itHit) << " , " << std::get<1>(*itHit) << " , " << std::get<2>(*itHit) << "]";
65  }
66  return out;
67 }

References MillePedeFileConverter_cfg::out, and AlCaHLTBitMon_ParallelJobs::p.

AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
MillePedeFileConverter_cfg.out
out
Definition: MillePedeFileConverter_cfg.py:31