CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
StackingAction Class Reference

#include <StackingAction.h>

Inheritance diagram for StackingAction:

Public Member Functions

virtual G4ClassificationOfNewTrack ClassifyNewTrack (const G4Track *aTrack)
 
void NewStage ()
 
void PrepareNewEvent ()
 
 StackingAction (const TrackingAction *, const edm::ParameterSet &ps)
 
virtual ~StackingAction ()
 

Private Member Functions

void initPointer ()
 
int isItFromPrimary (const G4Track &, int) const
 
bool isItLongLived (const G4Track *) const
 
int isItPrimaryDecayProductOrConversion (const G4Track *, const G4Track &) const
 
bool isThisRegion (const G4Region *, std::vector< const G4Region * > &) const
 
void printRegions (const std::vector< const G4Region * > &reg, const std::string &word) const
 
bool rrApplicable (const G4Track *, const G4Track &) const
 

Private Attributes

std::vector< const G4Region * > caloRegions
 
std::vector< std::string > deadRegionNames
 
std::vector< const G4Region * > deadRegions
 
bool gRRactive
 
double gRusRoCastor
 
double gRusRoEcal
 
double gRusRoEnerLim
 
double gRusRoHcal
 
double gRusRoMuonIron
 
double gRusRoPreShower
 
double gRusRoWorld
 
bool killDeltaRay
 
bool killGamma
 
bool killHeavy
 
bool killInCalo
 
bool killInCaloEfH
 
double kmaxGamma
 
double kmaxIon
 
double kmaxNeutron
 
double kmaxProton
 
double limitEnergyForVacuum
 
std::vector< const G4Region * > lowdensRegions
 
std::vector< std::string > maxTimeNames
 
std::vector< const G4Region * > maxTimeRegions
 
double maxTrackTime
 
std::vector< double > maxTrackTimes
 
std::vector< const G4Region * > muonRegions
 
NewTrackActionnewTA
 
bool nRRactive
 
double nRusRoCastor
 
double nRusRoEcal
 
double nRusRoEnerLim
 
double nRusRoHcal
 
double nRusRoMuonIron
 
double nRusRoPreShower
 
double nRusRoWorld
 
unsigned int numberTimes
 
bool pRRactive
 
double pRusRoCastor
 
double pRusRoEcal
 
double pRusRoEnerLim
 
double pRusRoHcal
 
double pRusRoMuonIron
 
double pRusRoPreShower
 
double pRusRoWorld
 
const G4Region * regionCastor
 
const G4Region * regionEcal
 
const G4Region * regionHcal
 
const G4Region * regionMuonIron
 
const G4Region * regionPreShower
 
const G4Region * regionWorld
 
bool saveFirstSecondary
 
bool savePDandCinAll
 
bool savePDandCinCalo
 
bool savePDandCinMuon
 
bool savePDandCinTracker
 
const TrackingActiontrackAction
 
std::vector< const G4Region * > trackerRegions
 
bool trackNeutrino
 

Detailed Description

Definition at line 17 of file StackingAction.h.

Constructor & Destructor Documentation

StackingAction::StackingAction ( const TrackingAction trka,
const edm::ParameterSet ps 
)

Definition at line 20 of file StackingAction.cc.

StackingAction::~StackingAction ( )
virtual

Definition at line 215 of file StackingAction.cc.

Member Function Documentation

G4ClassificationOfNewTrack StackingAction::ClassifyNewTrack ( const G4Track *  aTrack)
virtual

Definition at line 220 of file StackingAction.cc.

void StackingAction::initPointer ( )
private

Definition at line 416 of file StackingAction.cc.

int StackingAction::isItFromPrimary ( const G4Track &  mother,
int  flagIn 
) const
private

Definition at line 551 of file StackingAction.cc.

bool StackingAction::isItLongLived ( const G4Track *  aTrack) const
private

Definition at line 562 of file StackingAction.cc.

int StackingAction::isItPrimaryDecayProductOrConversion ( const G4Track *  aTrack,
const G4Track &  mother 
) const
private

Definition at line 506 of file StackingAction.cc.

bool StackingAction::isThisRegion ( const G4Region *  reg,
std::vector< const G4Region * > &  regions 
) const
private

Definition at line 492 of file StackingAction.cc.

void StackingAction::NewStage ( )

Definition at line 412 of file StackingAction.cc.

void StackingAction::PrepareNewEvent ( )

Definition at line 414 of file StackingAction.cc.

void StackingAction::printRegions ( const std::vector< const G4Region * > &  reg,
const std::string &  word 
) const
private

Definition at line 580 of file StackingAction.cc.

bool StackingAction::rrApplicable ( const G4Track *  aTrack,
const G4Track &  mother 
) const
private

Definition at line 523 of file StackingAction.cc.

Member Data Documentation

std::vector<const G4Region*> StackingAction::caloRegions
private

Definition at line 65 of file StackingAction.h.

std::vector<std::string> StackingAction::deadRegionNames
private

Definition at line 60 of file StackingAction.h.

std::vector<const G4Region*> StackingAction::deadRegions
private

Definition at line 67 of file StackingAction.h.

bool StackingAction::gRRactive
private

Definition at line 105 of file StackingAction.h.

double StackingAction::gRusRoCastor
private

Definition at line 98 of file StackingAction.h.

double StackingAction::gRusRoEcal
private

Definition at line 86 of file StackingAction.h.

double StackingAction::gRusRoEnerLim
private

Definition at line 81 of file StackingAction.h.

double StackingAction::gRusRoHcal
private

Definition at line 89 of file StackingAction.h.

double StackingAction::gRusRoMuonIron
private

Definition at line 92 of file StackingAction.h.

double StackingAction::gRusRoPreShower
private

Definition at line 95 of file StackingAction.h.

double StackingAction::gRusRoWorld
private

Definition at line 101 of file StackingAction.h.

bool StackingAction::killDeltaRay
private

Definition at line 51 of file StackingAction.h.

bool StackingAction::killGamma
private

Definition at line 52 of file StackingAction.h.

bool StackingAction::killHeavy
private

Definition at line 51 of file StackingAction.h.

bool StackingAction::killInCalo
private

Definition at line 50 of file StackingAction.h.

bool StackingAction::killInCaloEfH
private

Definition at line 50 of file StackingAction.h.

double StackingAction::kmaxGamma
private

Definition at line 55 of file StackingAction.h.

double StackingAction::kmaxIon
private

Definition at line 54 of file StackingAction.h.

double StackingAction::kmaxNeutron
private

Definition at line 54 of file StackingAction.h.

double StackingAction::kmaxProton
private

Definition at line 54 of file StackingAction.h.

double StackingAction::limitEnergyForVacuum
private

Definition at line 53 of file StackingAction.h.

std::vector<const G4Region*> StackingAction::lowdensRegions
private

Definition at line 66 of file StackingAction.h.

std::vector<std::string> StackingAction::maxTimeNames
private

Definition at line 59 of file StackingAction.h.

std::vector<const G4Region*> StackingAction::maxTimeRegions
private

Definition at line 62 of file StackingAction.h.

double StackingAction::maxTrackTime
private

Definition at line 56 of file StackingAction.h.

std::vector<double> StackingAction::maxTrackTimes
private

Definition at line 58 of file StackingAction.h.

std::vector<const G4Region*> StackingAction::muonRegions
private

Definition at line 64 of file StackingAction.h.

NewTrackAction* StackingAction::newTA
private

Definition at line 70 of file StackingAction.h.

bool StackingAction::nRRactive
private

Definition at line 106 of file StackingAction.h.

double StackingAction::nRusRoCastor
private

Definition at line 99 of file StackingAction.h.

double StackingAction::nRusRoEcal
private

Definition at line 87 of file StackingAction.h.

double StackingAction::nRusRoEnerLim
private

Definition at line 82 of file StackingAction.h.

double StackingAction::nRusRoHcal
private

Definition at line 90 of file StackingAction.h.

double StackingAction::nRusRoMuonIron
private

Definition at line 93 of file StackingAction.h.

double StackingAction::nRusRoPreShower
private

Definition at line 96 of file StackingAction.h.

double StackingAction::nRusRoWorld
private

Definition at line 102 of file StackingAction.h.

unsigned int StackingAction::numberTimes
private

Definition at line 57 of file StackingAction.h.

bool StackingAction::pRRactive
private

Definition at line 107 of file StackingAction.h.

double StackingAction::pRusRoCastor
private

Definition at line 100 of file StackingAction.h.

double StackingAction::pRusRoEcal
private

Definition at line 88 of file StackingAction.h.

double StackingAction::pRusRoEnerLim
private

Definition at line 83 of file StackingAction.h.

double StackingAction::pRusRoHcal
private

Definition at line 91 of file StackingAction.h.

double StackingAction::pRusRoMuonIron
private

Definition at line 94 of file StackingAction.h.

double StackingAction::pRusRoPreShower
private

Definition at line 97 of file StackingAction.h.

double StackingAction::pRusRoWorld
private

Definition at line 103 of file StackingAction.h.

const G4Region* StackingAction::regionCastor
private

Definition at line 77 of file StackingAction.h.

const G4Region* StackingAction::regionEcal
private

Definition at line 73 of file StackingAction.h.

const G4Region* StackingAction::regionHcal
private

Definition at line 74 of file StackingAction.h.

const G4Region* StackingAction::regionMuonIron
private

Definition at line 75 of file StackingAction.h.

const G4Region* StackingAction::regionPreShower
private

Definition at line 76 of file StackingAction.h.

const G4Region* StackingAction::regionWorld
private

Definition at line 78 of file StackingAction.h.

bool StackingAction::saveFirstSecondary
private

Definition at line 48 of file StackingAction.h.

bool StackingAction::savePDandCinAll
private

Definition at line 49 of file StackingAction.h.

bool StackingAction::savePDandCinCalo
private

Definition at line 47 of file StackingAction.h.

bool StackingAction::savePDandCinMuon
private

Definition at line 48 of file StackingAction.h.

bool StackingAction::savePDandCinTracker
private

Definition at line 47 of file StackingAction.h.

const TrackingAction* StackingAction::trackAction
private

Definition at line 69 of file StackingAction.h.

std::vector<const G4Region*> StackingAction::trackerRegions
private

Definition at line 63 of file StackingAction.h.

bool StackingAction::trackNeutrino
private

Definition at line 51 of file StackingAction.h.