lcdd/include
diff -N Cerenkov.hh
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ Cerenkov.hh 17 Jun 2013 22:06:28 -0000 1.1
@@ -0,0 +1,43 @@
+/* ------------------------------------------------------------------------
+ |\___/|
+ ) (
+ =\ /=
+ )===(
+ / \ CaTS: Calorimeter and Tracker Simulation
+ | | Author: Hans Wenzel (Fermilab)
+ / \
+ \ /
+ \__ _/
+ ( (
+ ) )
+ (_(
+-------------------------------------------------------------------------*/
+//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
+
+#ifndef Cerenkov_h
+#define Cerenkov_h 1
+
+
+#include <vector>
+#include "G4PhysicsOrderedFreeVector.hh"
+#include "G4Material.hh"
+#include "G4MaterialPropertyVector.hh"
+
+//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
+
+class Cerenkov {
+public:
+ Cerenkov();
+ ~Cerenkov();
+ void Initialize();
+ G4double GetAverageNumberOfPhotons(const G4double, const G4double, const G4String) const;
+private:
+ std::vector<G4String> CAI;
+ std::vector<G4PhysicsOrderedFreeVector*> CerenkovAngleIntegrals;
+ std::vector<G4MaterialPropertyVector*> RefractionIndeces;
+};
+
+//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
+
+#endif
+
lcdd/include
diff -u -r1.5 -r1.6
--- G4OpticalCalorimeterSD.hh 6 Dec 2010 21:48:46 -0000 1.5
+++ G4OpticalCalorimeterSD.hh 17 Jun 2013 22:06:28 -0000 1.6
@@ -6,6 +6,7 @@
// stl
#include <vector>
+class Cerenkov;
/**
@class G4OpticalCalorimeterSD
@@ -13,7 +14,8 @@
*/
class G4OpticalCalorimeterSD : public G4CalorimeterSD
{
-
+ private:
+ Cerenkov* CerenGenerator;
public:
//enum for the two Hit Collections (cerenkov and edep):
enum HCType { eEdep=0, eCerenkov=1};