#include <PileUpSimulator.h>
Public Member Functions | |
PileUpSimulator (FSimEvent *aSimEvent) | |
Constructor. More... | |
void | produce (const HepMC::GenEvent *pu) |
Produce N minimum bias events, and add them to the FSimEvent. More... | |
~PileUpSimulator () | |
Default Destructor. More... | |
Private Attributes | |
double | averageNumber_ |
std::string | inputFile |
unsigned | myOutputBuffer |
std::ofstream | myOutputFile |
FSimEvent * | mySimEvent |
std::vector< TBranch * > | theBranches |
std::vector< unsigned > | theCurrentEntry |
std::vector< unsigned > | theCurrentMinBiasEvt |
std::vector< std::string > | theFileNames |
std::vector< TFile * > | theFiles |
std::vector< unsigned > | theNumberOfEntries |
unsigned | theNumberOfFiles |
std::vector< unsigned > | theNumberOfMinBiasEvts |
std::vector< PUEvent * > | thePUEvents |
std::vector< TTree * > | theTrees |
Definition at line 33 of file PileUpSimulator.h.
PileUpSimulator::PileUpSimulator | ( | FSimEvent * | aSimEvent | ) |
PileUpSimulator::~PileUpSimulator | ( | ) |
void PileUpSimulator::produce | ( | const HepMC::GenEvent * | pu | ) |
Produce N minimum bias events, and add them to the FSimEvent.
Definition at line 16 of file PileUpSimulator.cc.
References FBaseSimEvent::addSimTrack(), FBaseSimEvent::addSimVertex(), configurableAnalysis::GenParticle, mySimEvent, FSimVertexType::PILEUP_VERTEX, RawParticle::setID(), findQualityFiles::v, vbegin, and vend.
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), HTMLExport.HTMLExportStatic::export(), and FamosManager::reconstruct().
|
private |
Definition at line 48 of file PileUpSimulator.h.
|
private |
Definition at line 51 of file PileUpSimulator.h.
|
private |
Definition at line 64 of file PileUpSimulator.h.
|
private |
Definition at line 63 of file PileUpSimulator.h.
|
private |
Definition at line 49 of file PileUpSimulator.h.
Referenced by produce().
|
private |
Definition at line 56 of file PileUpSimulator.h.
|
private |
Definition at line 58 of file PileUpSimulator.h.
|
private |
Definition at line 59 of file PileUpSimulator.h.
|
private |
Definition at line 50 of file PileUpSimulator.h.
|
private |
Definition at line 54 of file PileUpSimulator.h.
|
private |
Definition at line 60 of file PileUpSimulator.h.
|
private |
Definition at line 52 of file PileUpSimulator.h.
|
private |
Definition at line 61 of file PileUpSimulator.h.
|
private |
Definition at line 57 of file PileUpSimulator.h.
|
private |
Definition at line 55 of file PileUpSimulator.h.