def createTPCHistogramGroups(subsystem): # Sort the filenames of the histograms into catagories for better presentation # The order in which these are added is the order in which they are processed! subsystem.histGroups.append(processingClasses.histogramGroupContainer("TPC Cluster", "tpc_clust")) subsystem.histGroups.append(processingClasses.histogramGroupContainer("TPC Constrain", "tpc_constrain")) subsystem.histGroups.append(processingClasses.histogramGroupContainer("TPC Event RecVertex", "event_recvertex")) subsystem.histGroups.append(processingClasses.histogramGroupContainer("Match Tracking Efficiency", "match_trackingeff")) subsystem.histGroups.append(processingClasses.histogramGroupContainer("All RecVertex", "all_recvertex")) subsystem.histGroups.append(processingClasses.histogramGroupContainer("Negative RecVertex", "neg_recvertex")) subsystem.histGroups.append(processingClasses.histogramGroupContainer("Positive RecVertex", "pos_recvertex")) subsystem.histGroups.append(processingClasses.histogramGroupContainer("event_6", "event_6")) # Catch all other TPC hists subsystem.histGroups.append(processingClasses.histogramGroupContainer("Other TPC", "TPC")) # Catch all of the other hists # NOTE: We only want to do this if we are using a subsystem that actually has a file. Otherwise, you end up with lots of irrelevant histograms if subsystem.subsystem == subsystem.fileLocationSubsystem: subsystem.histGroups.append(processingClasses.histogramGroupContainer("Non TPC", ""))
def createEMCHistogramGroups(subsystem): # Sort the filenames of the histograms into catagories for better presentation # The order in which these are added is the order in which they are processed! # Plot by SM subsystem.histGroups.append(processingClasses.histogramGroupContainer("FEE vs TRU", "FEEvsTRU_SM", "_SM")) subsystem.histGroups.append(processingClasses.histogramGroupContainer("FEE vs STU", "FEEvsSTU_SM", "_SM")) subsystem.histGroups.append(processingClasses.histogramGroupContainer("FastOR L0 (hits with ADC > 0)", "FastORL0_SM", "_SM")) subsystem.histGroups.append(processingClasses.histogramGroupContainer("FastOR L0 Amp (hits weighted with ADC value)", "FastORL0Amp_SM", "_SM")) subsystem.histGroups.append(processingClasses.histogramGroupContainer("FastOR L0 Large Amp (hits above 400 ADC)", "FastORL0LargeAmp_SM", "_SM")) subsystem.histGroups.append(processingClasses.histogramGroupContainer("FastOR L1 (hits with ADC > 0)", "FastORL1_SM", "_SM")) subsystem.histGroups.append(processingClasses.histogramGroupContainer("FastOR L1 Amp (hits weighted with ADC value)", "FastORL1Amp_SM", "_SM")) subsystem.histGroups.append(processingClasses.histogramGroupContainer("FastOR L1 Large Amp (hits above 400 ADC)", "FastORL1LargeAmp_SM", "_SM")) # Trigger classes subsystem.histGroups.append(processingClasses.histogramGroupContainer("Gamma Trigger Low", "GAL")) subsystem.histGroups.append(processingClasses.histogramGroupContainer("Gamma Trigger High", "GAH")) subsystem.histGroups.append(processingClasses.histogramGroupContainer("Jet Trigger Low", "JEL")) subsystem.histGroups.append(processingClasses.histogramGroupContainer("Jet Trigger High", "JEH")) subsystem.histGroups.append(processingClasses.histogramGroupContainer("L0", "EMCL0")) subsystem.histGroups.append(processingClasses.histogramGroupContainer("Background", "BKG")) # FastOR subsystem.histGroups.append(processingClasses.histogramGroupContainer("FastOR", "FastOR")) # Other EMC subsystem.histGroups.append(processingClasses.histogramGroupContainer("Other EMC", "EMC")) # Catch all of the other hists # NOTE: We only want to do this if we are using a subsystem that actually has a file. Otherwise, you end up with lots of irrelevant histograms if subsystem.subsystem == subsystem.fileLocationSubsystem: subsystem.histGroups.append(processingClasses.histogramGroupContainer("Non EMC", ""))