Package gov.nist.microanalysis.NISTMonte.Gen3

Examples of gov.nist.microanalysis.NISTMonte.Gen3.XRayTransport3


        CharacteristicXRayGeneration3 characGen =
                CharacteristicXRayGeneration3.create(mcss);
        characGen.initialize(); // Bug fix

        BremsstrahlungXRayGeneration3 bremmsGen = null;
        if (hasFluo)
            bremmsGen = BremsstrahlungXRayGeneration3.create(mcss);
        else {
            for (PhotonDetector det : phDets) {
                if (det.requiresBremmstrahlung()) {
View Full Code Here



    public XRayTransport3 getBremmstrahlungTransport(MonteCarloSS mcss)
            throws EPQException {
        double[] pos = getDetectorPosition();
        BremsstrahlungXRayGeneration3 bremssGen =
                BremsstrahlungXRayGeneration3.create(mcss);
        return XRayTransport3.create(mcss, pos, bremssGen);
    }
View Full Code Here

        AlgorithmClass classFluo = strategy.getAlgorithm(FluorescenceMC.class);
        boolean hasFluo =
                classFluo == FluorescenceMC.Fluorescence ||
                        classFluo == FluorescenceMC.FluorescenceCompton;

        CharacteristicXRayGeneration3 characGen =
                CharacteristicXRayGeneration3.create(mcss);
        characGen.initialize(); // Bug fix

        BremsstrahlungXRayGeneration3 bremmsGen = null;
        if (hasFluo)
            bremmsGen = BremsstrahlungXRayGeneration3.create(mcss);
        else {
View Full Code Here


    public XRayTransport3 getCharacteristicTransport(MonteCarloSS mcss)
            throws EPQException {
        double[] pos = getDetectorPosition();
        CharacteristicXRayGeneration3 characGen =
                CharacteristicXRayGeneration3.create(mcss);
        return XRayTransport3.create(mcss, pos, characGen);
    }
View Full Code Here

                    break;
                }
            }
        }

        FluorescenceXRayGeneration3 characFluoGen = null;
        if (hasFluo) {
            characFluoGen = FluorescenceXRayGeneration3.create(mcss, characGen);
            characFluoGen
                    .setIncludeCompton(classFluo == FluorescenceMC.FluorescenceCompton);
        }

        FluorescenceXRayGeneration3 bremssFluoGen = null;
        if (hasFluo) {
            bremssFluoGen = FluorescenceXRayGeneration3.create(mcss, bremmsGen);
        }

        // Transport and setup
View Full Code Here


    public XRayTransport3 getCharacteristicFluoTransport(MonteCarloSS mcss,
            XRayTransport3 charac) throws EPQException {
        double[] pos = getDetectorPosition();
        FluorescenceXRayGeneration3 charactGenFluo =
                FluorescenceXRayGeneration3.create(mcss, charac.getSource());
        charactGenFluo.setIncludeCompton(true);
        return XRayTransport3.create(mcss, pos, charactGenFluo);
    }
View Full Code Here


    public XRayTransport3 getBremmstrahlungFluoTransport(MonteCarloSS mcss,
            XRayTransport3 bremss) throws EPQException {
        double[] pos = getDetectorPosition();
        FluorescenceXRayGeneration3 bremssGenFluo =
                FluorescenceXRayGeneration3.create(mcss, bremss.getSource());
        return XRayTransport3.create(mcss, pos, bremssGenFluo);
    }
View Full Code Here

        double zMax = c1[2];

        // Setup PRZs
        if (charac == null)
            throw new NullPointerException("charact == null");
        przCharac = new PhiRhoZ3(charac, zMin, zMax, channels);
        charac.addXRayListener(przCharac);

        // Setup zs
        zs = new double[channels];
        double width = przCharac.binWidth();
View Full Code Here

            XRayTransport3 bremssFluo) throws EPQException {
        Collection<XRayTransition> transitions = findAllXRayTransitions(mcss);

        if (charac == null)
            throw new NullPointerException("charact == null");
        accumCharac = new XRayAccumulator3(transitions, "characteristic");
        charac.addXRayListener(accumCharac);

        if (characFluo != null) {
            accumCharacFluo =
                    new XRayAccumulator3(transitions,
                            "characteristic fluorescence");
            characFluo.addXRayListener(accumCharacFluo);
        }

        if (bremssFluo != null) {
            accumBremssFluo =
                    new XRayAccumulator3(transitions,
                            "Bremmstrahlung fluorescence");
            bremssFluo.addXRayListener(accumBremssFluo);
        }
    }
View Full Code Here

        Map<Integer, XRayTransport3> characFluoMap = new HashMap<>();
        Map<Integer, XRayTransport3> bremssFluoMap = new HashMap<>();

        Integer hashCode;
        double[] detPosition;
        XRayTransport3 charac, bremss, characFluo, bremssFluo;
        for (PhotonDetector det : phDets) {
            detPosition = det.getDetectorPosition();
            hashCode = Arrays.hashCode(detPosition);

            charac = characMap.get(hashCode);
View Full Code Here

TOP

Related Classes of gov.nist.microanalysis.NISTMonte.Gen3.XRayTransport3

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.