Skip to content

Commit

Permalink
fixed compillation for obsolete classes
Browse files Browse the repository at this point in the history
  • Loading branch information
civanch authored and ktf committed Mar 25, 2014
1 parent a149634 commit e7a838a
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 41 deletions.
9 changes: 0 additions & 9 deletions SimG4Core/CustomPhysics/src/ToyModelHadronicProcess.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#include "G4ProcessManager.hh"
#include "G4ParticleTable.hh"
#include "G4Track.hh"
#include "G4InelasticInteraction.hh"
#include "Randomize.hh"
//Our includes
#include "SimG4Core/CustomPhysics/interface/ToyModelHadronicProcess.hh"
Expand Down Expand Up @@ -344,14 +343,6 @@ G4VParticleChange* ToyModelHadronicProcess::PostStepDoIt(const G4Track& track,
}
}









//clear interaction length
ClearNumberOfInteractionLengthLeft();
//return the result
Expand Down
60 changes: 30 additions & 30 deletions SimG4Core/GFlash/interface/G4MiscLHEPBuilder_WP.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
#include "G4AntiXiMinusInelasticProcess.hh"
#include "G4OmegaMinusInelasticProcess.hh"
#include "G4AntiOmegaMinusInelasticProcess.hh"

/*
#include "G4LEAntiProtonInelastic.hh"
#include "G4LEAntiNeutronInelastic.hh"
#include "G4LELambdaInelastic.hh"
Expand Down Expand Up @@ -88,7 +88,7 @@
#include "G4HEAntiXiMinusInelastic.hh"
#include "G4HEOmegaMinusInelastic.hh"
#include "G4HEAntiOmegaMinusInelastic.hh"

*/
class GflashHadronWrapperProcess;

class G4MiscLHEPBuilder_WP
Expand All @@ -104,76 +104,76 @@ class G4MiscLHEPBuilder_WP

// anti-proton
G4AntiProtonInelasticProcess theAntiProtonInelastic;
G4LEAntiProtonInelastic* theLEAntiProtonModel;
G4HEAntiProtonInelastic* theHEAntiProtonModel;
// G4LEAntiProtonInelastic* theLEAntiProtonModel;
// G4HEAntiProtonInelastic* theHEAntiProtonModel;

// anti-proton wrapper process for Gflash
GflashHadronWrapperProcess* theWrappedAntiProtonInelastic;

// anti-neutron
G4AntiNeutronInelasticProcess theAntiNeutronInelastic;
G4LEAntiNeutronInelastic* theLEAntiNeutronModel;
G4HEAntiNeutronInelastic* theHEAntiNeutronModel;
// G4LEAntiNeutronInelastic* theLEAntiNeutronModel;
// G4HEAntiNeutronInelastic* theHEAntiNeutronModel;

// Lambda
G4LambdaInelasticProcess theLambdaInelastic;
G4LELambdaInelastic* theLELambdaModel;
G4HELambdaInelastic* theHELambdaModel;
// G4LELambdaInelastic* theLELambdaModel;
// G4HELambdaInelastic* theHELambdaModel;

// AntiLambda
G4AntiLambdaInelasticProcess theAntiLambdaInelastic;
G4LEAntiLambdaInelastic* theLEAntiLambdaModel;
G4HEAntiLambdaInelastic* theHEAntiLambdaModel;
// G4LEAntiLambdaInelastic* theLEAntiLambdaModel;
// G4HEAntiLambdaInelastic* theHEAntiLambdaModel;

// SigmaMinus
G4SigmaMinusInelasticProcess theSigmaMinusInelastic;
G4LESigmaMinusInelastic* theLESigmaMinusModel;
G4HESigmaMinusInelastic* theHESigmaMinusModel;
// G4LESigmaMinusInelastic* theLESigmaMinusModel;
// G4HESigmaMinusInelastic* theHESigmaMinusModel;

// AntiSigmaMinus
G4AntiSigmaMinusInelasticProcess theAntiSigmaMinusInelastic;
G4LEAntiSigmaMinusInelastic* theLEAntiSigmaMinusModel;
G4HEAntiSigmaMinusInelastic* theHEAntiSigmaMinusModel;
// G4LEAntiSigmaMinusInelastic* theLEAntiSigmaMinusModel;
// G4HEAntiSigmaMinusInelastic* theHEAntiSigmaMinusModel;

// SigmaPlus
G4SigmaPlusInelasticProcess theSigmaPlusInelastic;
G4LESigmaPlusInelastic* theLESigmaPlusModel;
G4HESigmaPlusInelastic* theHESigmaPlusModel;
// G4LESigmaPlusInelastic* theLESigmaPlusModel;
// G4HESigmaPlusInelastic* theHESigmaPlusModel;

// AntiSigmaPlus
G4AntiSigmaPlusInelasticProcess theAntiSigmaPlusInelastic;
G4LEAntiSigmaPlusInelastic* theLEAntiSigmaPlusModel;
G4HEAntiSigmaPlusInelastic* theHEAntiSigmaPlusModel;
// G4LEAntiSigmaPlusInelastic* theLEAntiSigmaPlusModel;
// G4HEAntiSigmaPlusInelastic* theHEAntiSigmaPlusModel;

// XiZero
G4XiZeroInelasticProcess theXiZeroInelastic;
G4LEXiZeroInelastic* theLEXiZeroModel;
G4HEXiZeroInelastic* theHEXiZeroModel;
// G4LEXiZeroInelastic* theLEXiZeroModel;
// G4HEXiZeroInelastic* theHEXiZeroModel;

// AntiXiZero
G4AntiXiZeroInelasticProcess theAntiXiZeroInelastic;
G4LEAntiXiZeroInelastic* theLEAntiXiZeroModel;
G4HEAntiXiZeroInelastic* theHEAntiXiZeroModel;
// G4LEAntiXiZeroInelastic* theLEAntiXiZeroModel;
// G4HEAntiXiZeroInelastic* theHEAntiXiZeroModel;

// XiMinus
G4XiMinusInelasticProcess theXiMinusInelastic;
G4LEXiMinusInelastic* theLEXiMinusModel;
G4HEXiMinusInelastic* theHEXiMinusModel;
// G4LEXiMinusInelastic* theLEXiMinusModel;
// G4HEXiMinusInelastic* theHEXiMinusModel;

// AntiXiMinus
G4AntiXiMinusInelasticProcess theAntiXiMinusInelastic;
G4LEAntiXiMinusInelastic* theLEAntiXiMinusModel;
G4HEAntiXiMinusInelastic* theHEAntiXiMinusModel;
// G4LEAntiXiMinusInelastic* theLEAntiXiMinusModel;
// G4HEAntiXiMinusInelastic* theHEAntiXiMinusModel;

// OmegaMinus
G4OmegaMinusInelasticProcess theOmegaMinusInelastic;
G4LEOmegaMinusInelastic* theLEOmegaMinusModel;
G4HEOmegaMinusInelastic* theHEOmegaMinusModel;
// G4LEOmegaMinusInelastic* theLEOmegaMinusModel;
// G4HEOmegaMinusInelastic* theHEOmegaMinusModel;

// AntiOmegaMinus
G4AntiOmegaMinusInelasticProcess theAntiOmegaMinusInelastic;
G4LEAntiOmegaMinusInelastic* theLEAntiOmegaMinusModel;
G4HEAntiOmegaMinusInelastic* theHEAntiOmegaMinusModel;
// G4LEAntiOmegaMinusInelastic* theLEAntiOmegaMinusModel;
// G4HEAntiOmegaMinusInelastic* theHEAntiOmegaMinusModel;

G4bool wasActivated;
};
Expand Down
5 changes: 3 additions & 2 deletions SimG4Core/GFlash/src/G4MiscLHEPBuilder_WP.cc
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ G4MiscLHEPBuilder_WP::~G4MiscLHEPBuilder_WP()

void G4MiscLHEPBuilder_WP::Build()
{
G4ProcessManager * aProcMan = 0;
//G4ProcessManager * aProcMan = 0;
wasActivated = true;

/*
// anti-Proton
aProcMan = G4AntiProton::AntiProton()->GetProcessManager();
theLEAntiProtonModel = new G4LEAntiProtonInelastic();
Expand Down Expand Up @@ -190,6 +190,7 @@ void G4MiscLHEPBuilder_WP::Build()
theAntiOmegaMinusInelastic.RegisterMe(theLEAntiOmegaMinusModel);
theAntiOmegaMinusInelastic.RegisterMe(theHEAntiOmegaMinusModel);
aProcMan->AddDiscreteProcess(&theAntiOmegaMinusInelastic);
*/
}

// 2002 by J.P. Wellisch
2 changes: 2 additions & 0 deletions SimG4Core/SaveSimTrackAction/src/SaveSimTrack.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
#include "FWCore/MessageLogger/interface/MessageLogger.h"

#include "G4Track.hh"
#include "G4PhysicalConstants.hh"
#include "G4SystemOfUnits.hh"

SaveSimTrack::SaveSimTrack(edm::ParameterSet const & p) {

Expand Down

0 comments on commit e7a838a

Please sign in to comment.