CMS 3D CMS Logo

Functions | Variables

/data/refman/pasoursint/CMSSW_6_1_2_SLHC2/src/SimG4CMS/ShowerLibraryProducer/src/HFShowerG4Hit.cc File Reference

#include "SimG4CMS/ShowerLibraryProducer/interface/HFShowerG4Hit.h"
#include <iostream>

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const HFShowerG4Hit &hit)

Variables

G4Allocator< HFShowerG4HitHFShowerG4HitAllocator

Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const HFShowerG4Hit hit 
)

Definition at line 42 of file HFShowerG4Hit.cc.

References HFShowerG4Hit::edep(), HFShowerG4Hit::globalPosition(), HFShowerG4Hit::hitId(), HFShowerG4Hit::localPosition(), HFShowerG4Hit::primaryMomDir(), HFShowerG4Hit::time(), and HFShowerG4Hit::trackId().

                                                                 {
  os << " Data of this HFShowerG4Hit: ID " << hit.hitId() << " Track ID "
     << hit.trackId() << " Edep " << hit.edep() << " Time " << hit.time()
     << " Position (Local) " << hit.localPosition() << ", " << " (Global) "
     << hit.globalPosition() << " Momentum " << hit.primaryMomDir() << "\n";
  return os;
}

Variable Documentation

Definition at line 6 of file HFShowerG4Hit.cc.

Referenced by HFShowerG4Hit::operator delete(), and HFShowerG4Hit::operator new().