CMS 3D CMS Logo

Classes | Namespaces | Functions

/data/refman/pasoursint/CMSSW_6_1_2_SLHC2_patch1/src/SimDataFormats/SLHC/interface/L1CaloJet.h File Reference

#include "DataFormats/Math/interface/LorentzVector.h"
#include <vector>
#include "SimDataFormats/SLHC/interface/L1CaloRegionFwd.h"
#include "SimDataFormats/SLHC/interface/L1CaloRegion.h"

Go to the source code of this file.

Classes

class  l1slhc::L1CaloJet

Namespaces

namespace  l1slhc
namespace  std

Functions

bool std::operator< (const l1slhc::L1CaloJet &aLeft, const l1slhc::L1CaloJet &aRight)
std::ostream & operator<< (std::ostream &, const l1slhc::L1CaloJet &)

Function Documentation

std::ostream& operator<< ( std::ostream &  ,
const l1slhc::L1CaloJet  
)

Definition at line 136 of file L1CaloJet.cc.

References l1slhc::L1CaloJet::getConstituents(), i, l1slhc::L1CaloJet::iEta(), and l1slhc::L1CaloJet::iPhi().

{
        aStream << "L1CaloJet" 
                << " iEta=" << aL1CaloJet.iEta(  ) 
                << " iPhi=" << aL1CaloJet.iPhi(  ) 
                << "\n with constituents:\n";
        for ( l1slhc::L1CaloRegionRefVector::const_iterator i = aL1CaloJet.getConstituents(  ).begin(  ); i < aL1CaloJet.getConstituents(  ).end(  ); ++i )
                aStream << "  iEta=" << ( **i ).iEta(  ) 
                        << " iPhi=" << ( **i ).iPhi(  ) 
                        << " ET=" << ( **i ).E(  ) 
                        << "\n";
        return aStream;
}