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 <vector>
10 #include <string>
11 
12 class G4Step;
13 class G4Track;
15 
17 
18 public:
20  virtual ~TreatSecondary();
21 
22  void initTrack(const G4Track* trk);
23  std::vector<math::XYZTLorentzVector> tracks(const G4Step * step,
24  std::string & procName,
25  int & procID, bool & intr,
26  double & deltaE,
27  std::vector<int> & charges);
28 
29 private:
30  TreatSecondary(const TreatSecondary&) = delete; // stop default
31  const TreatSecondary& operator=(const TreatSecondary&) = delete;
32 
33 private:
35  double minDeltaE, eTrack;
37  int step, nHad, nsecL;
38 };
39 
40 #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