BOSS 7.1.1
BESIII Offline Software System
Loading...
Searching...
No Matches
CosmicEventParser Class Reference

#include <CosmicEventParser.h>

Public Member Functions

 CosmicEventParser ()
 
const HepLorentzVector & Vertex (void)
 
const HepLorentzVector & Momentum (void)
 
int pdgID (void)
 

Friends

std::istream & operator>> (std::istream &is, CosmicEventParser &ev)
 
std::ostream & operator<< (std::ostream &os, const CosmicEventParser &ev)
 

Detailed Description

Definition at line 8 of file CosmicEventParser.h.

Constructor & Destructor Documentation

◆ CosmicEventParser()

CosmicEventParser::CosmicEventParser ( )
inline

Definition at line 10 of file CosmicEventParser.h.

10{};

Member Function Documentation

◆ Momentum()

const HepLorentzVector & CosmicEventParser::Momentum ( void )
inline

Definition at line 12 of file CosmicEventParser.h.

12{return m_momentum;}

Referenced by CosmicGenerator::execute().

◆ pdgID()

int CosmicEventParser::pdgID ( void )
inline

Definition at line 13 of file CosmicEventParser.h.

13{return m_pdgId;}

Referenced by CosmicGenerator::execute().

◆ Vertex()

const HepLorentzVector & CosmicEventParser::Vertex ( void )
inline

Definition at line 11 of file CosmicEventParser.h.

11{return m_vertex;}

Referenced by CosmicGenerator::execute().

Friends And Related Symbol Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream & os,
const CosmicEventParser & ev )
friend

Definition at line 30 of file CosmicEventParser.h.

30 {
31 return ev.write(os);
32}

◆ operator>>

std::istream & operator>> ( std::istream & is,
CosmicEventParser & ev )
friend

Definition at line 26 of file CosmicEventParser.h.

26 {
27 return ev.read(is);
28}

The documentation for this class was generated from the following file: