Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


Code Block
languagepy
themeRDark
########################################################## 
## User Input start -->
########################################################## 
##adding raw timetool traces:
#defaultDets.append(ttRawDetector(env=ds.env()))
##adding wave8 traces:
#defaultDets.append(wave8Detector('Wave8WF'))
########################################################## 
## <-- User Input end 
########################################################## 

Time tool analysis

XTCAV values

Run-dependent variables

Area detectors analysis

In order to keep the filesizes small to avoid issue when analysis the smallData files, we try to extract the important information gleaned from areaDetectors at an event-by-event basis and only save these pieces of data. Implementation examples of each of the analysis functions that are readily available can be found in <smalldata_tools>/producers/smalldata_producer_template.py.

In general, reach out to your data and controls POC to discuss analysis needs for your experiments. The POC will make sure the functions you need are prepared in the main producer file, and you should only have to change the parameters, such as region of interest or thresholds.

Generally speaking, the parameters for each analysis functions are set from a run-dependent logic like this:

Code Block
languagepy
themeRDark
titleAnallysis function parameters
linenumberstrue
def getFuncParam(run):
	"""
    """
    if isinstance(run,str):
        run=int(run)
    ret_dict = {}
    if run>0run<21:
    	func_dict = {}
        func_dict['param1'] = param1.0
        func_dict['param2'] = param2.0
        func_dict['param3'] = param3.0
        ret_dict['detname'] = func_dict
	else:
     if run<21:
    	func_dict = {}
        func_dict['param1'] = param1.1
        func_dict['param2'] = param2.1
        func_dict['param3'] = param3.1
        ret_dict['detname'] = func_dict      
	return ret_dict