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
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:94
charges
only generated particles of these IDs are considered