Class ECCommon

java.lang.Object
org.jlab.service.ec.ECCommon

public class ECCommon extends Object
Author:
gavalian
  • Field Details

    • ecDetector

      public static Detector ecDetector
    • myStrips

      public static List<ECStrip> myStrips
    • myPeaks

      public static List<ECPeak> myPeaks
    • myClusters

      public static List<ECCluster> myClusters
    • stripThreshold

      public static int[] stripThreshold
    • peakThreshold

      public static int[] peakThreshold
    • clusterThreshold

      public static int[] clusterThreshold
    • clusterSize

      public static float[] clusterSize
    • clusterDeltaT

      public static float[] clusterDeltaT
    • touchID

      public static int touchID
    • splitMethod

      public static int splitMethod
    • stripSortMethod

      public static int stripSortMethod
    • splitThresh

      public static int[] splitThresh
    • isMC

      public static Boolean isMC
    • debug

      public static Boolean debug
    • debugSplit

      public static Boolean debugSplit
    • isSingleThreaded

      public static Boolean isSingleThreaded
    • singleEvent

      public static Boolean singleEvent
    • useNewTimeCal

      public static Boolean useNewTimeCal
    • useUnsharedEnergy

      public static Boolean useUnsharedEnergy
    • useTWCorrections

      public static Boolean useTWCorrections
    • useDTCorrections

      public static Boolean useDTCorrections
    • usePass2Recon

      public static Boolean usePass2Recon
    • usePass2Timing

      public static Boolean usePass2Timing
    • usePass2Energy

      public static Boolean usePass2Energy
    • UnsharedEnergyCut

      public static int UnsharedEnergyCut
    • useUnsharedTime

      public static Boolean useUnsharedTime
    • useFADCTime

      public static Boolean useFADCTime
    • useFTpcal

      public static Boolean useFTpcal
    • useCCDBGain

      public static Boolean useCCDBGain
    • logParam

      public static double logParam
    • config

      public static String config
    • variation

      public static String variation
    • geomVariation

      public static String geomVariation
    • pcTrackingPlane

      public static int pcTrackingPlane
    • ecTrackingPlane

      public static int ecTrackingPlane
    • eventNumber

      public static int eventNumber
    • H1_ecEng

      public static DetectorCollection<org.jlab.groot.data.H1F> H1_ecEng
    • H2_ecEng

      public static DetectorCollection<org.jlab.groot.data.H2F> H2_ecEng
    • veff

      public static float veff
  • Constructor Details

    • ECCommon

      public ECCommon()
  • Method Details

    • initHistos

      public static void initHistos()
    • resetHistos

      public static void resetHistos()
    • setDebug

      public static void setDebug(boolean val)
    • setisSingleThreaded

      public static void setisSingleThreaded(boolean val)
    • setSingleEvent

      public static void setSingleEvent(boolean val)
    • clearMyStructures

      public static void clearMyStructures()
    • getMyStrips

      public static List<ECStrip> getMyStrips()
    • getMyPeaks

      public static List<ECPeak> getMyPeaks()
    • getMyClusters

      public static List<ECCluster> getMyClusters()
    • getRunNumber

      public static int getRunNumber(DataEvent de)
    • initEC

      public static List<ECStrip> initEC(DataEvent event, ConstantsManager manager)
    • readStripsHipo

      public static List<ECStrip> readStripsHipo(DataEvent event, int run, ConstantsManager manager)
    • createPeaks

      public static List<ECPeak> createPeaks(List<ECStrip> stripList)
    • processPeaks

      public static List<ECPeak> processPeaks(List<ECPeak> peaks)
    • getPeaks

      public static List<ECPeak> getPeaks(int sector, int layer, List<ECPeak> peaks)
    • createClusters

      public static List<ECCluster> createClusters(List<ECPeak> peaks, int layer)
    • goodPeaks

      public static boolean goodPeaks(int sector, int layer, List<ECPeak> peaks)
    • getClusters

      public static List<ECCluster> getClusters(List<ECPeak> peaks, int layer)
    • processClusters

      public static List<ECCluster> processClusters(List<ECCluster> clusters)
    • filterClusters

      public static List<ECCluster> filterClusters(List<ECCluster> clusters)
    • processSingleThreaded

      public static void processSingleThreaded(ECCluster c)
    • shareClustersEnergy

      public static void shareClustersEnergy(List<ECCluster> clusters)
    • isGoodStrip

      public static boolean isGoodStrip(ECStrip s)
    • isGoodPeak

      public static boolean isGoodPeak(ECPeak p)
    • isGoodCluster

      public static boolean isGoodCluster(ECCluster c)
    • getZone

      public static int getZone(int layer, int u, int v, int w)
    • OldcreateClusters

      public static List<ECCluster> OldcreateClusters(List<ECPeak> peaks, int startLayer)