45#ifndef G4PolarizationManager_h
46#define G4PolarizationManager_h 1
100 if (!activated)
return zeroPolarization;
101 PolarizationMap::const_iterator cit=volumePolarizations.find(lVol);
102 if (cit!=volumePolarizations.end())
return cit->second;
103 return zeroPolarization;
110 if (!activated)
return false;
111 PolarizationMap::const_iterator cit=volumePolarizations.find(lVol);
112 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)