CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions | Variables
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().

42  {
43  os << " Data of this HFShowerG4Hit: ID " << hit.hitId() << " Track ID "
44  << hit.trackId() << " Edep " << hit.edep() << " Time " << hit.time()
45  << " Position (Local) " << hit.localPosition() << ", " << " (Global) "
46  << hit.globalPosition() << " Momentum " << hit.primaryMomDir() << "\n";
47  return os;
48 }
G4ThreeVector primaryMomDir() const
Definition: HFShowerG4Hit.h:57
G4int hitId() const
Definition: HFShowerG4Hit.h:51
G4ThreeVector localPosition() const
Definition: HFShowerG4Hit.h:55
G4int trackId() const
Definition: HFShowerG4Hit.h:52
G4double edep() const
Definition: HFShowerG4Hit.h:53
G4ThreeVector globalPosition() const
Definition: HFShowerG4Hit.h:56
G4double time() const
Definition: HFShowerG4Hit.h:54

Variable Documentation

G4Allocator<HFShowerG4Hit> HFShowerG4HitAllocator

Definition at line 6 of file HFShowerG4Hit.cc.

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