| Message: Parameterization Problems | Not Logged In (login) |
|
Hello, I am trying to create a cerenkov detector. The detector is a quartz sphere with 121 quartz channels extending from one side of the sphere. I am trying to make the channels using parameterized tubs extending from one hemisphere of the quartz sphere. Then I would like to put MultiFunctionalDetectors at the bottom of each channel.
My problem is when trying to compile and link my code I get Compiling Ex06ChannelParameterisation.cc ... src/Ex06ChannelParameterisation.cc:45: error: declaration of 'EXN06ChannelParameterisation::EXN06ChannelParameterisation(G4int, G4double, G4double, G4double)' outside of class is not definition I am not sure what this is referring to because my .hh file is defined as
class EXN06ChannelParameterisation : public G4VPVParameterisation
{
public:
EXN06ChannelParameterisation(G4int NoChambers,
G4double zPlace,
G4double start,
G4double spacing);
virtual ~EXN06ChannelParameterisation();
void ComputeTransformation (const G4int copyNo,
G4VPhysicalVolume* ChannelPhys) const;
And my parameterization source file defines the object as
EXN06ChannelParameterisation::EXN06ChannelParameterisation(
G4int NoChambers,
G4double zPLace,
G4double start,
G4double spacing);
Any light on this error would be much appreciated. Thanks for your time.
|
| Inline Depth: | Outline Depth: | Add message: |
|
to: |