44#ifndef G4PolarizationManager_h
45#define G4PolarizationManager_h 1
98 if (!activated)
return zeroPolarization;
99 PolarizationMap::const_iterator cit=volumePolarizations.find(lVol);
100 if (cit!=volumePolarizations.end())
return cit->second;
101 return zeroPolarization;
108 if (!activated)
return false;
109 PolarizationMap::const_iterator cit=volumePolarizations.find(lVol);
110 return (cit!=volumePolarizations.end());
std::map< G4LogicalVolume *, G4ThreeVector > PolarizationMap
bool IsPolarized(G4LogicalVolume *lVol) const
void SetVolumePolarization(G4LogicalVolume *lVol, const G4ThreeVector &pol)
virtual ~G4PolarizationManager()
static G4PolarizationManager * GetInstance()
const G4ThreeVector & GetVolumePolarization(G4LogicalVolume *lVol) const
void SetVerbose(G4int val)
void SetActivated(G4bool val)