23 """This function checks in your AO2D and produces converter tasks automatically if they needed
24
25 Args:
26 ttreeList (list): TTree list in AO2D file
27 deps (list): Dependency List for running analysis task
28 """
29
30 logging.info("Converter Manager initialize")
31 ttreeList = list(ttreeList)
32
33 if ("O2track_iu" in ttreeList):
34 logging.info("o2-analysis-track-propagation will added your workflow")
35 deps.append("o2-analysis-track-propagation")
36
37 if ("O2fdd" in ttreeList) and ("O2fdd_001" not in ttreeList):
38 logging.info("o2-analysis-fdd-converter will added your workflow")
39 deps.append("o2-analysis-fdd-converter")
40
41
42 if ("O2v0" in ttreeList) and ("O2v0_001" not in ttreeList):
43 logging.info("o2-analysis-weak-decay-indices will added your workflow")
44 deps.append("o2-analysis-weak-decay-indices")
45
46 if ("O2mcparticle" in ttreeList) and ("O2mcparticle_001" not in ttreeList):
47 logging.info("o2-analysis-mc-converter will added your workflow")
48 deps.append("o2-analysis-mc-converter")
49
50 logging.info("Process done")