CMS 3D CMS Logo

TreatSecondary.h
Go to the documentation of this file.
1 #ifndef SimG4Core_CheckSecondary_TreatSecondary_H
2 #define SimG4Core_CheckSecondary_TreatSecondary_H
3 
6 
7 #include <iostream>
8 #include <memory>
9 #include <string>
10 #include <vector>
11 
12 class G4Step;
13 class G4Track;
15 
17 public:
19  virtual ~TreatSecondary();
20 
21  void initTrack(const G4Track *trk);
22  std::vector<math::XYZTLorentzVector> tracks(
23  const G4Step *step, std::string &procName, int &procID, bool &intr, double &deltaE, std::vector<int> &charges);
24 
25 private:
26  TreatSecondary(const TreatSecondary &) = delete; // stop default
27  const TreatSecondary &operator=(const TreatSecondary &) = delete;
28 
29 private:
31  double minDeltaE, eTrack;
33  int step, nHad, nsecL;
34 };
35 
36 #endif
CosmicGenFilterHelix_cfi.charges
charges
only generated particles of these IDs are considered
Definition: CosmicGenFilterHelix_cfi.py:6
TreatSecondary
Definition: TreatSecondary.h:16
TreatSecondary::tracks
std::vector< math::XYZTLorentzVector > tracks(const G4Step *step, std::string &procName, int &procID, bool &intr, double &deltaE, std::vector< int > &charges)
Definition: TreatSecondary.cc:46
TreatSecondary::eTrack
double eTrack
Definition: TreatSecondary.h:31
step
step
Definition: StallMonitor.cc:94
TreatSecondary::~TreatSecondary
virtual ~TreatSecondary()
Definition: TreatSecondary.cc:30
TreatSecondary::minSec
int minSec
Definition: TreatSecondary.h:30
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
G4ProcessTypeEnumerator
Definition: G4ProcessTypeEnumerator.h:6
TreatSecondary::nHad
int nHad
Definition: TreatSecondary.h:33
TreatSecondary::operator=
const TreatSecondary & operator=(const TreatSecondary &)=delete
TreatSecondary::minDeltaE
double minDeltaE
Definition: TreatSecondary.h:31
TreatSecondary::TreatSecondary
TreatSecondary(const edm::ParameterSet &p)
Definition: TreatSecondary.cc:17
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition: ParameterSet.h:36
EgHLTOffHistBins_cfi.deltaE
deltaE
Definition: EgHLTOffHistBins_cfi.py:28
LorentzVector.h
TreatSecondary::killAfter
int killAfter
Definition: TreatSecondary.h:30
TreatSecondary::typeEnumerator
G4ProcessTypeEnumerator * typeEnumerator
Definition: TreatSecondary.h:32
TreatSecondary::initTrack
void initTrack(const G4Track *trk)
Definition: TreatSecondary.cc:35
TreatSecondary::verbosity
int verbosity
Definition: TreatSecondary.h:30
TreatSecondary::step
int step
Definition: TreatSecondary.h:33
ParameterSet.h
TreatSecondary::nsecL
int nsecL
Definition: TreatSecondary.h:33