diff --git a/Inputs/DetectorConfiguration/gaspardTestSpheric.detector b/Inputs/DetectorConfiguration/gaspardTestSpheric.detector index 0b46aa52e28136c98ca6f08579ed95bd42818ac6..e0378a74c782b8641df960d3aa955961d2a5a492 100644 --- a/Inputs/DetectorConfiguration/gaspardTestSpheric.detector +++ b/Inputs/DetectorConfiguration/gaspardTestSpheric.detector @@ -9,7 +9,8 @@ GeneralTarget %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Target - THICKNESS= 9.7 +% THICKNESS= 10.3 + THICKNESS= 0.0001 ANGLE= 0 RADIUS= 12 MATERIAL= CD2 @@ -32,7 +33,7 @@ GPDDummyShape BETA= 0 0 0 FIRSTSTAGE= 1 SECONDSTAGE= 1 - THIRDSTAGE= 1 + THIRDSTAGE= 0 VIS= all %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%1 GPDDummyShape @@ -42,7 +43,7 @@ GPDDummyShape BETA= 0 0 0 FIRSTSTAGE= 1 SECONDSTAGE= 1 - THIRDSTAGE= 1 + THIRDSTAGE= 0 VIS= all %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%2 GPDDummyShape @@ -52,7 +53,7 @@ GPDDummyShape BETA= 0 0 0 FIRSTSTAGE= 1 SECONDSTAGE= 1 - THIRDSTAGE= 1 + THIRDSTAGE= 0 VIS= all %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%3 GPDDummyShape @@ -62,7 +63,7 @@ GPDDummyShape BETA= 0 0 0 FIRSTSTAGE= 1 SECONDSTAGE= 1 - THIRDSTAGE= 1 + THIRDSTAGE= 0 VIS= all %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%4 GPDDummyShape @@ -72,7 +73,7 @@ GPDDummyShape BETA= 0 0 0 FIRSTSTAGE= 1 SECONDSTAGE= 1 - THIRDSTAGE= 1 + THIRDSTAGE= 0 VIS= all %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%5 GPDDummyShape @@ -82,7 +83,7 @@ GPDDummyShape BETA= 0 0 0 FIRSTSTAGE= 1 SECONDSTAGE= 1 - THIRDSTAGE= 1 + THIRDSTAGE= 0 VIS= all %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%6 GPDDummyShape @@ -92,7 +93,7 @@ GPDDummyShape BETA= 0 0 0 FIRSTSTAGE= 1 SECONDSTAGE= 1 - THIRDSTAGE= 1 + THIRDSTAGE= 0 VIS= all %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%7 GPDDummyShape @@ -102,7 +103,7 @@ GPDDummyShape BETA= 0 0 0 FIRSTSTAGE= 1 SECONDSTAGE= 1 - THIRDSTAGE= 1 + THIRDSTAGE= 0 VIS= all %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%8 GPDDummyShape @@ -112,7 +113,7 @@ GPDDummyShape BETA= 0 0 0 FIRSTSTAGE= 1 SECONDSTAGE= 1 - THIRDSTAGE= 1 + THIRDSTAGE= 0 VIS= all %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%9 GPDDummyShape @@ -122,7 +123,7 @@ GPDDummyShape BETA= 0 0 0 FIRSTSTAGE= 1 SECONDSTAGE= 1 - THIRDSTAGE= 1 + THIRDSTAGE= 0 VIS= all %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%10 GPDDummyShape @@ -132,7 +133,7 @@ GPDDummyShape BETA= 0 0 0 FIRSTSTAGE= 1 SECONDSTAGE= 1 - THIRDSTAGE= 1 + THIRDSTAGE= 0 VIS= all %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%11 GPDDummyShape @@ -142,7 +143,7 @@ GPDDummyShape BETA= 0 0 0 FIRSTSTAGE= 1 SECONDSTAGE= 1 - THIRDSTAGE= 1 + THIRDSTAGE= 0 VIS= all %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%12 First Cone (forward) GPDDummyShape @@ -152,7 +153,7 @@ GPDDummyShape BETA= 0 0 0 FIRSTSTAGE= 1 SECONDSTAGE= 1 - THIRDSTAGE= 1 + THIRDSTAGE= 0 VIS= all %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%13 GPDDummyShape @@ -162,7 +163,7 @@ GPDDummyShape BETA= 0 0 0 FIRSTSTAGE= 1 SECONDSTAGE= 1 - THIRDSTAGE= 1 + THIRDSTAGE= 0 VIS= all %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%14 GPDDummyShape @@ -172,7 +173,7 @@ GPDDummyShape BETA= 0 0 0 FIRSTSTAGE= 1 SECONDSTAGE= 1 - THIRDSTAGE= 1 + THIRDSTAGE= 0 VIS= all %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%15 GPDDummyShape @@ -182,7 +183,7 @@ GPDDummyShape BETA= 0 0 0 FIRSTSTAGE= 1 SECONDSTAGE= 1 - THIRDSTAGE= 1 + THIRDSTAGE= 0 VIS= all %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%16 GPDDummyShape @@ -192,7 +193,7 @@ GPDDummyShape BETA= 0 0 0 FIRSTSTAGE= 1 SECONDSTAGE= 1 - THIRDSTAGE= 1 + THIRDSTAGE= 0 VIS= all %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%17 GPDDummyShape @@ -202,7 +203,7 @@ GPDDummyShape BETA= 0 0 0 FIRSTSTAGE= 1 SECONDSTAGE= 1 - THIRDSTAGE= 1 + THIRDSTAGE= 0 VIS= all %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%18 GPDDummyShape @@ -212,7 +213,7 @@ GPDDummyShape BETA= 0 0 0 FIRSTSTAGE= 1 SECONDSTAGE= 1 - THIRDSTAGE= 1 + THIRDSTAGE= 0 VIS= all %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%19 GPDDummyShape @@ -222,7 +223,7 @@ GPDDummyShape BETA= 0 0 0 FIRSTSTAGE= 1 SECONDSTAGE= 1 - THIRDSTAGE= 1 + THIRDSTAGE= 0 VIS= all %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%20 GPDDummyShape @@ -232,7 +233,7 @@ GPDDummyShape BETA= 0 0 0 FIRSTSTAGE= 1 SECONDSTAGE= 1 - THIRDSTAGE= 1 + THIRDSTAGE= 0 VIS= all %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%21 Second Cone (forward) GPDDummyShape @@ -242,7 +243,7 @@ GPDDummyShape BETA= 0 0 0 FIRSTSTAGE= 1 SECONDSTAGE= 1 - THIRDSTAGE= 1 + THIRDSTAGE= 0 VIS= all %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%22 GPDDummyShape @@ -252,7 +253,7 @@ GPDDummyShape BETA= 0 0 0 FIRSTSTAGE= 1 SECONDSTAGE= 1 - THIRDSTAGE= 1 + THIRDSTAGE= 0 VIS= all %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%23 GPDDummyShape @@ -262,7 +263,7 @@ GPDDummyShape BETA= 0 0 0 FIRSTSTAGE= 1 SECONDSTAGE= 1 - THIRDSTAGE= 1 + THIRDSTAGE= 0 VIS= all %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%24 GPDDummyShape @@ -272,7 +273,7 @@ GPDDummyShape BETA= 0 0 0 FIRSTSTAGE= 1 SECONDSTAGE= 1 - THIRDSTAGE= 1 + THIRDSTAGE= 0 VIS= all %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%25 First Cone (backward) GPDDummyShape @@ -282,7 +283,7 @@ GPDDummyShape BETA= 0 0 0 FIRSTSTAGE= 1 SECONDSTAGE= 1 - THIRDSTAGE= 1 + THIRDSTAGE= 0 VIS= all %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%26 GPDDummyShape @@ -292,7 +293,7 @@ GPDDummyShape BETA= 0 0 0 FIRSTSTAGE= 1 SECONDSTAGE= 1 - THIRDSTAGE= 1 + THIRDSTAGE= 0 VIS= all %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%27 GPDDummyShape @@ -302,7 +303,7 @@ GPDDummyShape BETA= 0 0 0 FIRSTSTAGE= 1 SECONDSTAGE= 1 - THIRDSTAGE= 1 + THIRDSTAGE= 0 VIS= all %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%28 GPDDummyShape @@ -312,7 +313,7 @@ GPDDummyShape BETA= 0 0 0 FIRSTSTAGE= 1 SECONDSTAGE= 1 - THIRDSTAGE= 1 + THIRDSTAGE= 0 VIS= all %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%29 GPDDummyShape @@ -322,7 +323,7 @@ GPDDummyShape BETA= 0 0 0 FIRSTSTAGE= 1 SECONDSTAGE= 1 - THIRDSTAGE= 1 + THIRDSTAGE= 0 VIS= all %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%30 GPDDummyShape @@ -332,7 +333,7 @@ GPDDummyShape BETA= 0 0 0 FIRSTSTAGE= 1 SECONDSTAGE= 1 - THIRDSTAGE= 1 + THIRDSTAGE= 0 VIS= all %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%31 GPDDummyShape @@ -342,7 +343,7 @@ GPDDummyShape BETA= 0 0 0 FIRSTSTAGE= 1 SECONDSTAGE= 1 - THIRDSTAGE= 1 + THIRDSTAGE= 0 VIS= all %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%32 GPDDummyShape @@ -352,7 +353,7 @@ GPDDummyShape BETA= 0 0 0 FIRSTSTAGE= 1 SECONDSTAGE= 1 - THIRDSTAGE= 1 + THIRDSTAGE= 0 VIS= all %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%33 GPDDummyShape @@ -362,7 +363,7 @@ GPDDummyShape BETA= 0 0 0 FIRSTSTAGE= 1 SECONDSTAGE= 1 - THIRDSTAGE= 1 + THIRDSTAGE= 0 VIS= all %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%34 Second Cone (backward) GPDDummyShape @@ -372,7 +373,7 @@ GPDDummyShape BETA= 0 0 0 FIRSTSTAGE= 1 SECONDSTAGE= 1 - THIRDSTAGE= 1 + THIRDSTAGE= 0 VIS= all %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%35 GPDDummyShape @@ -382,7 +383,7 @@ GPDDummyShape BETA= 0 0 0 FIRSTSTAGE= 1 SECONDSTAGE= 1 - THIRDSTAGE= 1 + THIRDSTAGE= 0 VIS= all %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%36 GPDDummyShape @@ -392,7 +393,7 @@ GPDDummyShape BETA= 0 0 0 FIRSTSTAGE= 1 SECONDSTAGE= 1 - THIRDSTAGE= 1 + THIRDSTAGE= 0 VIS= all %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%37 GPDDummyShape @@ -402,7 +403,7 @@ GPDDummyShape BETA= 0 0 0 FIRSTSTAGE= 1 SECONDSTAGE= 1 - THIRDSTAGE= 1 + THIRDSTAGE= 0 VIS= all %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%38 End Cap (forward) GPDDummyShape @@ -412,7 +413,7 @@ GPDDummyShape BETA= 0 0 0 FIRSTSTAGE= 1 SECONDSTAGE= 1 - THIRDSTAGE= 1 + THIRDSTAGE= 0 VIS= all %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%39 End Cap (backward) GPDDummyShape @@ -422,5 +423,5 @@ GPDDummyShape BETA= 0 0 0 FIRSTSTAGE= 1 SECONDSTAGE= 1 - THIRDSTAGE= 1 + THIRDSTAGE= 0 VIS= all diff --git a/Inputs/EventGenerator/132Sndp.reaction b/Inputs/EventGenerator/132Sndp.reaction index 0ff5e1462fc0390a7e3c5e73f62dc6c39c91404f..fd88541645b7aa52806ca9d3908786444a3768b9 100644 --- a/Inputs/EventGenerator/132Sndp.reaction +++ b/Inputs/EventGenerator/132Sndp.reaction @@ -10,8 +10,8 @@ Transfert ExcitationEnergy= 0.0 BeamEnergy= 1320 BeamEnergySpread= 0 - SigmaX= 0.851 - SigmaY= 0.851 + SigmaX= 0 + SigmaY= 0 SigmaThetaX= 0 SigmaPhiY= 0 CrossSectionPath= sn132dp_gs_10AMeV.txt diff --git a/NPAnalysis/Gaspard/src/Analysis.cc b/NPAnalysis/Gaspard/src/Analysis.cc index f7c83fdf944fd876200cfbdcd132f4dd587959a0..5e17b75f772bc9d822ced9bfb3cb48c41372ff9f 100644 --- a/NPAnalysis/Gaspard/src/Analysis.cc +++ b/NPAnalysis/Gaspard/src/Analysis.cc @@ -78,7 +78,7 @@ int main(int argc,char** argv) ThetaStrip = ThetaCalculation (A ,TVector3(0,0,1)); // Correct for energy loss in the target - E = DeutonTargetCD2.EvaluateInitialEnergy(E, 4.85*micrometer, ThetaStrip); +// E = DeutonTargetCD2.EvaluateInitialEnergy(E, 4.85*micrometer, ThetaStrip); // Calculate excitation energy if (Theta/deg > 90) { diff --git a/NPLib/GASPARD/TGaspardTrackerData.cxx b/NPLib/GASPARD/TGaspardTrackerData.cxx index 72199549b2244e52310ea3480bd270d7d1f460e3..97ae3e74d203491dc7d409247d6830ea36f23385 100644 --- a/NPLib/GASPARD/TGaspardTrackerData.cxx +++ b/NPLib/GASPARD/TGaspardTrackerData.cxx @@ -89,7 +89,7 @@ void TGaspardTrackerData::Clear() -void TGaspardTrackerData::Dump() +void TGaspardTrackerData::Dump() const { cout << "XXXXXXXXXXXXXXXXXXXXXXXX New Event XXXXXXXXXXXXXXXXX" << endl; diff --git a/NPLib/GASPARD/TGaspardTrackerData.h b/NPLib/GASPARD/TGaspardTrackerData.h index b88c42ff7d6aac07ca63ab644d4888f234d270ed..3be1dc39375ce6418a552254a29d82d12df23bbc 100644 --- a/NPLib/GASPARD/TGaspardTrackerData.h +++ b/NPLib/GASPARD/TGaspardTrackerData.h @@ -82,7 +82,8 @@ public: virtual ~TGaspardTrackerData(); void Clear(); - void Dump(); + void Clear(const Option_t*) {}; + void Dump() const; ///////////////////// SETTERS //////////////////////// // DSSD diff --git a/NPLib/GASPARD/TGaspardTrackerPhysics.h b/NPLib/GASPARD/TGaspardTrackerPhysics.h index 5f8426c0598c66e710ec4c90691d68f0d9ae057b..425d5e601e76a95d638d894893fa6492fc23cabd 100644 --- a/NPLib/GASPARD/TGaspardTrackerPhysics.h +++ b/NPLib/GASPARD/TGaspardTrackerPhysics.h @@ -39,6 +39,7 @@ public: public: void Clear(); + void Clear(const Option_t*) {}; void BuildPhysicalEvent(TGaspardTrackerData* Data); void BuildSimplePhysicalEvent(TGaspardTrackerData* Data); diff --git a/NPLib/InitialConditions/TInitialConditions.cxx b/NPLib/InitialConditions/TInitialConditions.cxx index e76622b63d814b5b222b18969e06f52342a0b207..be597460ded1fc13e750111c15194a477cbf6d22 100644 --- a/NPLib/InitialConditions/TInitialConditions.cxx +++ b/NPLib/InitialConditions/TInitialConditions.cxx @@ -68,7 +68,7 @@ void TInitialConditions::Clear() -void TInitialConditions::Dump() +void TInitialConditions::Dump() const { cout << "XXXXXXXXXXXXX Initial conditions XXXXXXXXXXXXXXXX" << endl; diff --git a/NPLib/InitialConditions/TInitialConditions.h b/NPLib/InitialConditions/TInitialConditions.h index ab3a94278a5406358a7e493728c3aad251668f63..96d8e9cec26be5fa2b1a2b918fd80e2ac7d31c01 100644 --- a/NPLib/InitialConditions/TInitialConditions.h +++ b/NPLib/InitialConditions/TInitialConditions.h @@ -66,7 +66,8 @@ public: virtual ~TInitialConditions(); void Clear(); - void Dump(); + void Clear(const Option_t*) {}; + void Dump() const; ///////////////////// SETTERS //////////////////////// // Incident particle properties (before interactions in the target) diff --git a/NPLib/InteractionCoordinates/TInteractionCoordinates.cxx b/NPLib/InteractionCoordinates/TInteractionCoordinates.cxx index 25e71b4f36ec59f741a4089304621bf14fcd12b9..624060e12b144eb54f64a5aeffbd5adcbba363eb 100644 --- a/NPLib/InteractionCoordinates/TInteractionCoordinates.cxx +++ b/NPLib/InteractionCoordinates/TInteractionCoordinates.cxx @@ -52,7 +52,7 @@ void TInteractionCoordinates::Clear() -void TInteractionCoordinates::Dump() +void TInteractionCoordinates::Dump() const { cout << "XXXXXXXXXXXXX Interaction coordinates XXXXXXXXXXXXXXXX" << endl; diff --git a/NPLib/InteractionCoordinates/TInteractionCoordinates.h b/NPLib/InteractionCoordinates/TInteractionCoordinates.h index c722d5143db392458281f9b9925ce5aab901716f..ffd1fcc3c2eb4b0c10da88bdf23081d88802e64f 100644 --- a/NPLib/InteractionCoordinates/TInteractionCoordinates.h +++ b/NPLib/InteractionCoordinates/TInteractionCoordinates.h @@ -46,9 +46,13 @@ private: public: TInteractionCoordinates(); virtual ~TInteractionCoordinates(); - +/* void Clear(); void Dump(); +*/ + void Clear(); + void Clear(const Option_t*) {}; + void Dump() const; ///////////////////// SETTERS //////////////////////// // Incident particle properties (before interactions in the target) diff --git a/NPLib/Plastic/TPlasticData.cxx b/NPLib/Plastic/TPlasticData.cxx index ac7ae2789f7dbc19afa275fa5a13ba9496561132..8b4f51ecef036ffa7b599ffc82323ec7238c14cf 100644 --- a/NPLib/Plastic/TPlasticData.cxx +++ b/NPLib/Plastic/TPlasticData.cxx @@ -27,11 +27,11 @@ void TPlasticData::Clear() -void TPlasticData::Dump() +void TPlasticData::Dump() const { cout << "XXXXXXXXXXXXXXXXXXXXXXXX New Event XXXXXXXXXXXXXXXXX" << endl; - for(short i = 0 ; i<fPlastic_Energy.size() ; i ++) + for(unsigned short i = 0 ; i<fPlastic_Energy.size() ; i ++) { cout << "Plastic Number " << fPlastic_Number[i] << " Energy: " << fPlastic_Energy[i] << " Time: "<< fPlastic_Time[i] << endl; diff --git a/NPLib/Plastic/TPlasticData.h b/NPLib/Plastic/TPlasticData.h index 15b2a590139036d0cd6c468f35eeea92a36693b5..253213c861471f1fdeb210cce2b46ec0f9265370 100644 --- a/NPLib/Plastic/TPlasticData.h +++ b/NPLib/Plastic/TPlasticData.h @@ -19,7 +19,8 @@ class TPlasticData : public TObject { virtual ~TPlasticData(); void Clear(); - void Dump(); + void Clear(const Option_t*) {}; + void Dump() const; ///////////////////// GETTERS //////////////////////// // (E) diff --git a/NPSimulation/include/GaspardTrackerDummyShape.hh b/NPSimulation/include/GaspardTrackerDummyShape.hh index 49eb5e54ca1868d9272328ea8c480caed7dfa5f3..db4cdec8c74c89abb692feedb2e68d3019e56480 100644 --- a/NPSimulation/include/GaspardTrackerDummyShape.hh +++ b/NPSimulation/include/GaspardTrackerDummyShape.hh @@ -143,7 +143,7 @@ namespace GPDDUMMYSHAPE { // Resolution const G4double ResoFirstStage = 0.0213; // = 50 keV of Resolution // Unit is MeV/2.35 - const G4double ResoSecondStage = 0.0213; // = 50 keV of resolution // Unit is MeV/2.35 + const G4double ResoSecondStage = 0.0213 * sqrt(2); // = 50 keV of resolution // Unit is MeV/2.35 const G4double ResoThirdStage = 0.0213; // = 50 keV of resolution // Unit is MeV/2.35 const G4double ResoTimeGpd = 0.212765957;// = 500ps // Unit is ns/2.35 @@ -165,7 +165,7 @@ namespace GPDDUMMYSHAPE // Second stage const G4double SecondStageFace = FirstStageFace; - const G4double SecondStageThickness = 1*mm; + const G4double SecondStageThickness = 2*mm; // Third stage const G4double ThirdStageFace = FirstStageFace;