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  TreatSecondary(const TreatSecondary &) = delete; // stop default
20  const TreatSecondary &operator=(const TreatSecondary &) = delete;
21  virtual ~TreatSecondary();
22 
23  void initTrack(const G4Track *trk);
24  std::vector<math::XYZTLorentzVector> tracks(
25  const G4Step *step, std::string &procName, int &procID, bool &intr, double &deltaE, std::vector<int> &charges);
26 
27 private:
29  double minDeltaE, eTrack;
31  int step, nHad, nsecL;
32 };
33 
34 #endif
virtual ~TreatSecondary()
std::vector< math::XYZTLorentzVector > tracks(const G4Step *step, std::string &procName, int &procID, bool &intr, double &deltaE, std::vector< int > &charges)
G4ProcessTypeEnumerator * typeEnumerator
TreatSecondary(const edm::ParameterSet &p)
const TreatSecondary & operator=(const TreatSecondary &)=delete
void initTrack(const G4Track *trk)
step
Definition: StallMonitor.cc:98
charges
only generated particles of these IDs are considered