586{
587 if ( command == fSetFileNameCmd ) {
590 }
591 else if ( command == fSetHistoDirNameCmd ) {
593 }
594 else if ( command == fSetNtupleDirNameCmd ) {
596 }
597 else if ( command == fSetActivationCmd ) {
599 }
600 else if ( command == fVerboseCmd ) {
602 }
603 else if ( command == fCreateH1Cmd ) {
609 std::istringstream is(newValues.data());
610 is >> name >> title >> nbins >> vmin >> vmax >> sunit >> sfcn;
611 fManager->
CreateH1(name, title, nbins, vmin, vmax, sunit, sfcn);
612 }
613 else if ( command == fSetH1Cmd ) {
619 std::istringstream is(newValues.data());
620 is >> id >> nbins >> vmin >> vmax >> sunit >> sfcn;
621 fManager->
SetH1(
id, nbins, vmin, vmax, sunit, sfcn);
622 }
623 else if ( command == fSetH1AsciiCmd ) {
626 }
627 else if ( command == fSetH1TitleCmd ) {
630 std::istringstream is(newValues.data());
631 is >> id;
632 getline(is, title);
634 }
635 else if ( command == fSetH1XAxisCmd ) {
638 std::istringstream is(newValues.data());
639 is >> id;
640 getline(is, xaxis);
642 }
643 else if ( command == fSetH1YAxisCmd ) {
646 std::istringstream is(newValues.data());
647 is >> id;
648 getline(is, yaxis);
650 }
651 else if ( command == fSetH1ActivationCmd ) {
654 std::istringstream is(newValues.data());
655 is >> id >> sactivation;
658 }
659 else if ( command == fSetH1ActivationAllCmd ) {
662 }
663 else if ( command == fCreateH2Cmd ) {
665 G4int xnbins, ynbins;
666 G4double xvmin, xvmax, yvmin, yvmax;
667 G4String xsunit,xsfcn, ysunit, ysfcn;
668 std::istringstream is(newValues.data());
669 is >> name >> title
670 >> xnbins >> xvmin >> xvmax >> xsunit >> xsfcn
671 >> ynbins >> yvmin >> yvmax >> ysunit >> ysfcn;
673 xnbins, xvmin, xvmax, ynbins, yvmin, yvmax,
674 ysunit, ysfcn, ysunit, ysfcn);
675 }
676 else if ( command == fSetH2Cmd ) {
678 G4int xnbins, ynbins;
679 G4double xvmin, xvmax, yvmin, yvmax;
680 G4String xsunit,xsfcn, ysunit, ysfcn;
681 std::istringstream is(newValues.data());
682 is >> id
683 >> xnbins >> xvmin >> xvmax >> xsunit >> xsfcn
684 >> ynbins >> yvmin >> yvmax >> ysunit >> ysfcn;
686 xnbins, xvmin, xvmax, ynbins, yvmin, yvmax,
687 ysunit, ysfcn, ysunit, ysfcn);
688 }
689 else if ( command == fSetH2AsciiCmd ) {
692 }
693 else if ( command == fSetH2TitleCmd ) {
696 std::istringstream is(newValues.data());
697 is >> id;
698 getline(is, title);
700 }
701 else if ( command == fSetH2XAxisCmd ) {
704 std::istringstream is(newValues.data());
705 is >> id;
706 getline(is, xaxis);
708 }
709 else if ( command == fSetH2YAxisCmd ) {
712 std::istringstream is(newValues.data());
713 is >> id;
714 getline(is, yaxis);
716 }
717 else if ( command == fSetH2ZAxisCmd ) {
720 std::istringstream is(newValues.data());
721 is >> id;
722 getline(is, zaxis);
724 }
725 else if ( command == fSetH2ActivationCmd ) {
728 std::istringstream is(newValues.data());
729 is >> id >> sactivation;
732 }
733 else if ( command == fSetH2ActivationAllCmd ) {
736 }
737}
G4DLLIMPORT std::ostream G4cout
static G4bool GetNewBoolValue(const char *paramString)
static G4int GetNewIntValue(const char *paramString)
static G4bool ConvertToBool(const char *st)
void SetAscii(ObjectType type, G4int id, G4bool ascii)
void SetActivation(G4bool activation)
virtual G4bool SetH2ZAxisTitle(G4int id, const G4String &title)=0
virtual G4int CreateH1(const G4String &name, const G4String &title, G4int nbins, G4double xmin, G4double xmax, const G4String &unitName="none", const G4String &fcnName="none")=0
virtual G4bool SetH1(G4int id, G4int nbins, G4double xmin, G4double xmax, const G4String &unitName="none", const G4String &fcnName="none")=0
virtual G4bool SetH2Title(G4int id, const G4String &title)=0
virtual G4bool SetH1Title(G4int id, const G4String &title)=0
virtual G4bool SetH1YAxisTitle(G4int id, const G4String &title)=0
virtual G4bool SetHistoDirectoryName(const G4String &dirName)
virtual G4bool SetH1XAxisTitle(G4int id, const G4String &title)=0
virtual void SetVerboseLevel(G4int verboseLevel)
virtual G4bool SetFileName(const G4String &fileName)
virtual G4bool SetH2YAxisTitle(G4int id, const G4String &title)=0
virtual G4bool SetNtupleDirectoryName(const G4String &dirName)
virtual G4bool SetH2(G4int id, G4int nxbins, G4double xmin, G4double xmax, G4int nybins, G4double ymin, G4double ymax, const G4String &xunitName="none", const G4String &yunitName="none", const G4String &xfcnName="none", const G4String &yfcnName="none")=0
virtual G4bool SetH2XAxisTitle(G4int id, const G4String &title)=0
virtual G4int CreateH2(const G4String &name, const G4String &title, G4int nxbins, G4double xmin, G4double xmax, G4int nybins, G4double ymin, G4double ymax, const G4String &xunitName="none", const G4String &yunitName="none", const G4String &xfcnName="none", const G4String &yfcnName="none")=0