9#ifndef TRGGRLUNPACKER_H
10#define TRGGRLUNPACKER_H
15#include "rawdata/dataobjects/RawTRG.h"
16#include "trg/grl/dataobjects/TRGGRLUnpackerStore.h"
18#include <framework/core/Module.h>
19#include <framework/datastore/StoreArray.h>
20#include <framework/datastore/StoreObjPtr.h>
28 namespace TRGGRLUNPACKERSPACE {
31 const int nLeafs = 139 + 7 + 32 + 7;
33 const int nLeafsExtra = 7;
37 const int nBits = 2048;
39 const char* LeafNames[nLeafs + nLeafsExtra] = {
219 "firmid",
"firmver",
"evt",
"clk",
"coml1",
"b2ldly",
"maxrvc"
266 e_ml_tau_nn_output_0,
267 e_ml_tau_nn_output_9,
268 e_ml_tau_nn_output_8,
269 e_ml_tau_nn_output_7,
270 e_ml_tau_nn_output_6,
271 e_ml_tau_nn_output_5,
383 e_ml_tau_nn_output_4,
384 e_ml_tau_nn_output_3,
392 e_ml_tau_nn_output_2,
393 e_ml_tau_nn_output_1,
408 e_firmid, e_firmver, e_evt, e_clk, e_coml1, e_b2ldly, e_maxrvc
412 const int BitMap[nLeafs][2] = {
502 {1648 - 216 * 2, 11},
507 {1613 - 216 * 2, 11},
512 {1578 - 216 * 2, 11},
517 {1543 - 216 * 2, 11},
522 {1508 - 216 * 2, 11},
527 {1473 - 216 * 2, 11},
618 GetStoreLeaf(TRGGRLUnpackerStore* store,
int leafID)
620 if (leafID == e_2GeV_15)
return store->get_2GeV_ECL(15);
621 if (leafID == e_2GeV_14)
return store->get_2GeV_ECL(14);
622 if (leafID == e_2GeV_13)
return store->get_2GeV_ECL(13);
623 if (leafID == e_2GeV_12)
return store->get_2GeV_ECL(12);
624 if (leafID == e_2GeV_11)
return store->get_2GeV_ECL(11);
625 if (leafID == e_2GeV_10)
return store->get_2GeV_ECL(10);
626 if (leafID == e_2GeV_9)
return store->get_2GeV_ECL(9);
627 if (leafID == e_2GeV_8)
return store->get_2GeV_ECL(8);
628 if (leafID == e_2GeV_7)
return store->get_2GeV_ECL(7);
629 if (leafID == e_2GeV_6)
return store->get_2GeV_ECL(6);
630 if (leafID == e_2GeV_5)
return store->get_2GeV_ECL(5);
631 if (leafID == e_2GeV_4)
return store->get_2GeV_ECL(4);
632 if (leafID == e_2GeV_3)
return store->get_2GeV_ECL(3);
633 if (leafID == e_2GeV_2)
return store->get_2GeV_ECL(2);
634 if (leafID == e_2GeV_1)
return store->get_2GeV_ECL(1);
635 if (leafID == e_2GeV_0)
return store->get_2GeV_ECL(0);
636 if (leafID == e_1GeV_15)
return store->get_1GeV_ECL(15);
637 if (leafID == e_1GeV_14)
return store->get_1GeV_ECL(14);
638 if (leafID == e_1GeV_13)
return store->get_1GeV_ECL(13);
639 if (leafID == e_1GeV_12)
return store->get_1GeV_ECL(12);
640 if (leafID == e_1GeV_11)
return store->get_1GeV_ECL(11);
641 if (leafID == e_1GeV_10)
return store->get_1GeV_ECL(10);
642 if (leafID == e_1GeV_9)
return store->get_1GeV_ECL(9);
643 if (leafID == e_1GeV_8)
return store->get_1GeV_ECL(8);
644 if (leafID == e_1GeV_7)
return store->get_1GeV_ECL(7);
645 if (leafID == e_1GeV_6)
return store->get_1GeV_ECL(6);
646 if (leafID == e_1GeV_5)
return store->get_1GeV_ECL(5);
647 if (leafID == e_1GeV_4)
return store->get_1GeV_ECL(4);
648 if (leafID == e_1GeV_3)
return store->get_1GeV_ECL(3);
649 if (leafID == e_1GeV_2)
return store->get_1GeV_ECL(2);
650 if (leafID == e_1GeV_1)
return store->get_1GeV_ECL(1);
651 if (leafID == e_1GeV_0)
return store->get_1GeV_ECL(0);
653 if (leafID == e_wirecnt_tsf0)
return store->get_wirecnt_tsf0();
654 if (leafID == e_wirecnt_tsf1)
return store->get_wirecnt_tsf1();
655 if (leafID == e_wirecnt_tsf2)
return store->get_wirecnt_tsf2();
656 if (leafID == e_wirecnt_tsf3)
return store->get_wirecnt_tsf3();
657 if (leafID == e_wirecnt_tsf4)
return store->get_wirecnt_tsf4();
658 if (leafID == e_wirecnt_tsf5)
return store->get_wirecnt_tsf5();
659 if (leafID == e_wirecnt_tsf6)
return store->get_wirecnt_tsf6();
660 if (leafID == e_wirecnt_tsf7)
return store->get_wirecnt_tsf7();
661 if (leafID == e_wirecnt_tsf8)
return store->get_wirecnt_tsf8();
663 if (leafID == e_ml_tau_nn_output_0)
return store->get_ml_tau_nn_output_0();
664 if (leafID == e_ml_tau_nn_output_1)
return store->get_ml_tau_nn_output_1();
665 if (leafID == e_ml_tau_nn_output_2)
return store->get_ml_tau_nn_output_2();
666 if (leafID == e_ml_tau_nn_output_3)
return store->get_ml_tau_nn_output_3();
667 if (leafID == e_ml_tau_nn_output_4)
return store->get_ml_tau_nn_output_4();
668 if (leafID == e_ml_tau_nn_output_5)
return store->get_ml_tau_nn_output_5();
669 if (leafID == e_ml_tau_nn_output_6)
return store->get_ml_tau_nn_output_6();
670 if (leafID == e_ml_tau_nn_output_7)
return store->get_ml_tau_nn_output_7();
671 if (leafID == e_ml_tau_nn_output_8)
return store->get_ml_tau_nn_output_8();
672 if (leafID == e_ml_tau_nn_output_9)
return store->get_ml_tau_nn_output_9();
673 if (leafID == e_ml_tau_nn_input)
return store->get_ml_tau_nn_input();
675 if (leafID == e_theta_11)
return store->get_theta_ECL(11);
676 if (leafID == e_phi_11)
return store->get_phi_ECL(11);
677 if (leafID == e_t_11)
return store->get_t_ECL(11);
678 if (leafID == e_E_11)
return store->get_E_ECL(11);
679 if (leafID == e_theta_10)
return store->get_theta_ECL(10);
680 if (leafID == e_phi_10)
return store->get_phi_ECL(10);
681 if (leafID == e_t_10)
return store->get_t_ECL(10);
682 if (leafID == e_E_10)
return store->get_E_ECL(10);
683 if (leafID == e_theta_9)
return store->get_theta_ECL(9);
684 if (leafID == e_phi_9)
return store->get_phi_ECL(9);
685 if (leafID == e_t_9)
return store->get_t_ECL(9);
686 if (leafID == e_E_9)
return store->get_E_ECL(9);
687 if (leafID == e_theta_8)
return store->get_theta_ECL(8);
688 if (leafID == e_phi_8)
return store->get_phi_ECL(8);
689 if (leafID == e_t_8)
return store->get_t_ECL(8);
690 if (leafID == e_E_8)
return store->get_E_ECL(8);
691 if (leafID == e_theta_7)
return store->get_theta_ECL(7);
692 if (leafID == e_phi_7)
return store->get_phi_ECL(7);
693 if (leafID == e_t_7)
return store->get_t_ECL(7);
694 if (leafID == e_E_7)
return store->get_E_ECL(7);
695 if (leafID == e_theta_6)
return store->get_theta_ECL(6);
696 if (leafID == e_phi_6)
return store->get_phi_ECL(6);
697 if (leafID == e_t_6)
return store->get_t_ECL(6);
698 if (leafID == e_E_6)
return store->get_E_ECL(6);
699 if (leafID == e_X_1)
return store->get_X_1();
700 if (leafID == e_N_cluster_1)
return store->get_N_cluster_1();
701 if (leafID == e_ECL_trg_1)
return store->get_ECL_trg_1();
702 if (leafID == e_theta_5)
return store->get_theta_ECL(5);
703 if (leafID == e_phi_5)
return store->get_phi_ECL(5);
704 if (leafID == e_t_5)
return store->get_t_ECL(5);
705 if (leafID == e_E_5)
return store->get_E_ECL(5);
706 if (leafID == e_theta_4)
return store->get_theta_ECL(4);
707 if (leafID == e_phi_4)
return store->get_phi_ECL(4);
708 if (leafID == e_t_4)
return store->get_t_ECL(4);
709 if (leafID == e_E_4)
return store->get_E_ECL(4);
710 if (leafID == e_theta_3)
return store->get_theta_ECL(3);
711 if (leafID == e_phi_3)
return store->get_phi_ECL(3);
712 if (leafID == e_t_3)
return store->get_t_ECL(3);
713 if (leafID == e_E_3)
return store->get_E_ECL(3);
714 if (leafID == e_theta_2)
return store->get_theta_ECL(2);
715 if (leafID == e_phi_2)
return store->get_phi_ECL(2);
716 if (leafID == e_t_2)
return store->get_t_ECL(2);
717 if (leafID == e_E_2)
return store->get_E_ECL(2);
718 if (leafID == e_theta_1)
return store->get_theta_ECL(1);
719 if (leafID == e_phi_1)
return store->get_phi_ECL(1);
720 if (leafID == e_t_1)
return store->get_t_ECL(1);
721 if (leafID == e_E_1)
return store->get_E_ECL(1);
722 if (leafID == e_theta_0)
return store->get_theta_ECL(0);
723 if (leafID == e_phi_0)
return store->get_phi_ECL(0);
724 if (leafID == e_t_0)
return store->get_t_ECL(0);
725 if (leafID == e_E_0)
return store->get_E_ECL(0);
726 if (leafID == e_X_0)
return store->get_X_0();
727 if (leafID == e_N_cluster_0)
return store->get_N_cluster_0();
728 if (leafID == e_ECL_trg_0)
return store->get_ECL_trg_0();
729 if (leafID == e_ECL_trg)
return store->get_ECL_trg();
730 if (leafID == e_ECL_trg_delay)
return store->get_ECL_trg_delay();
731 if (leafID == e_N_track_cut)
return store->get_N_track_cut();
732 if (leafID == e_N_track_NN)
return store->get_N_track_NN();
733 if (leafID == e_N_track_3D)
return store->get_N_track_3D();
734 if (leafID == e_CDCL1_count)
return store->get_CDCL1_count();
735 if (leafID == e_phi_CDC_int_1)
return store->get_phi_CDC_int(1);
736 if (leafID == e_phi_CDC_int_0)
return store->get_phi_CDC_int(0);
737 if (leafID == e_phi_i_int_1)
return store->get_phi_i_int(1);
738 if (leafID == e_phi_i_int_0)
return store->get_phi_i_int(0);
739 if (leafID == e_N_track)
return store->get_N_track();
740 if (leafID == e_b2b_1to3)
return store->get_b2b_1to3();
741 if (leafID == e_b2b_1to5)
return store->get_b2b_1to5();
742 if (leafID == e_b2b_1to7)
return store->get_b2b_1to7();
743 if (leafID == e_b2b_1to9)
return store->get_b2b_1to9();
744 if (leafID == e_opening)
return store->get_opening();
745 if (leafID == e_samehem_1)
return store->get_samehem(1);
746 if (leafID == e_opphem_1)
return store->get_opphem(1);
747 if (leafID == e_c_b2b_1to9_1)
return store->get_c_b2b_1to9(1);
748 if (leafID == e_c_b2b_1to7_1)
return store->get_c_b2b_1to7(1);
749 if (leafID == e_c_b2b_1to5_1)
return store->get_c_b2b_1to5(1);
750 if (leafID == e_c_b2b_1to3_1)
return store->get_c_b2b_1to3(1);
751 if (leafID == e_tc_b2b_1to9_1)
return store->get_tc_b2b_1to9(1);
752 if (leafID == e_tc_b2b_1to7_1)
return store->get_tc_b2b_1to7(1);
753 if (leafID == e_tc_b2b_1to5_1)
return store->get_tc_b2b_1to5(1);
754 if (leafID == e_tc_b2b_1to3_1)
return store->get_tc_b2b_1to3(1);
755 if (leafID == e_TOPL1_count)
return store->get_TOPL1_count();
756 if (leafID == e_KLML1_count)
return store->get_KLML1_count();
757 if (leafID == e_sector_KLM_int)
return store->get_sector_KLM_int();
758 if (leafID == e_sector_CDC_int)
return store->get_sector_CDC_int();
759 if (leafID == e_N_KLMmatch)
return store->get_N_KLMmatch();
760 if (leafID == e_samehem_0)
return store->get_samehem(0);
761 if (leafID == e_opphem_0)
return store->get_opphem(0);
762 if (leafID == e_N_match_2GeV_0)
return store->get_N_match_2GeV(0);
763 if (leafID == e_N_match_0)
return store->get_N_match(0);
764 if (leafID == e_N_g_1GeV_0)
return store->get_N_g_1GeV(0);
765 if (leafID == e_N_g_2GeV_0)
return store->get_N_g_2GeV(0);
766 if (leafID == e_ECLL1_count)
return store->get_ECLL1_count();
767 if (leafID == e_c_b2b_1to9_0)
return store->get_c_b2b_1to9(0);
768 if (leafID == e_c_b2b_1to7_0)
return store->get_c_b2b_1to7(0);
769 if (leafID == e_c_b2b_1to5_0)
return store->get_c_b2b_1to5(0);
770 if (leafID == e_c_b2b_1to3_0)
return store->get_c_b2b_1to3(0);
771 if (leafID == e_tc_b2b_1to9_0)
return store->get_tc_b2b_1to9(0);
772 if (leafID == e_tc_b2b_1to7_0)
return store->get_tc_b2b_1to7(0);
773 if (leafID == e_tc_b2b_1to5_0)
return store->get_tc_b2b_1to5(0);
774 if (leafID == e_tc_b2b_1to3_0)
return store->get_tc_b2b_1to3(0);
775 if (leafID == e_CDC3DL1_count)
return store->get_CDC3DL1_count();
776 if (leafID == e_CDCNNL1_count)
return store->get_CDCNNL1_count();
777 if (leafID == e_slot_CDC_int)
return store->get_slot_CDC_int();
778 if (leafID == e_slot_TOP_int)
return store->get_slot_TOP_int();
779 if (leafID == e_N_TOPmatch)
return store->get_N_TOPmatch();
780 if (leafID == e_N_match_2GeV_1)
return store->get_N_match_2GeV(1);
781 if (leafID == e_N_match_1)
return store->get_N_match(1);
782 if (leafID == e_N_g_1GeV_1)
return store->get_N_g_1GeV(1);
783 if (leafID == e_N_g_2GeV_1)
return store->get_N_g_2GeV(1);
784 if (leafID == e_TSFL1_count)
return store->get_TSFL1_count();
785 if (leafID == e_map_TSF3_int_1)
return store->get_map_TSF3_int(1);
786 if (leafID == e_map_TSF3_int_0)
return store->get_map_TSF3_int(0);
787 if (leafID == e_map_TSF1_int_1)
return store->get_map_TSF1_int(1);
788 if (leafID == e_map_TSF1_int_0)
return store->get_map_TSF1_int(0);
789 if (leafID == e_N_ST)
return store->get_N_ST();
790 if (leafID == e_map_ST_int_1)
return store->get_map_ST_int(1);
791 if (leafID == e_map_ST_int_0)
return store->get_map_ST_int(0);
792 if (leafID == e_map_veto_int_1)
return store->get_map_veto_int(1);
793 if (leafID == e_map_veto_int_0)
return store->get_map_veto_int(0);
794 if (leafID == e_map_TSF4_int_1)
return store->get_map_TSF4_int(1);
795 if (leafID == e_map_TSF4_int_0)
return store->get_map_TSF4_int(0);
796 if (leafID == e_map_TSF2_int_1)
return store->get_map_TSF2_int(1);
797 if (leafID == e_map_TSF2_int_0)
return store->get_map_TSF2_int(0);
798 if (leafID == e_map_TSF0_int_1)
return store->get_map_TSF0_int(1);
799 if (leafID == e_map_TSF0_int_0)
return store->get_map_TSF0_int(0);
800 if (leafID == e_charge_flag)
return store->get_charge_flag();
801 if (leafID == e_charge_sum)
return store->get_charge_sum();
802 if (leafID == e_revoclk)
return store->get_revoclk();
803 if (leafID == e_aaaa)
return store->get_aaaa();
804 if (leafID == e_evt)
return store->get_evt();
805 if (leafID == e_clk)
return store->get_clk();
806 if (leafID == e_firmid)
return store->get_firmid();
807 if (leafID == e_firmver)
return store->get_firmver();
808 if (leafID == e_coml1)
return store->get_coml1();
809 if (leafID == e_b2ldly)
return store->get_b2ldly();
810 if (leafID == e_maxrvc)
return store->get_maxrvc();
812 B2WARNING(
"!!!getting leaf out of list!!!");
818 SetStoreLeaf(TRGGRLUnpackerStore* store,
int leafID,
int value)
820 if (leafID == e_2GeV_15) store->set_2GeV_ECL(15, value);
821 if (leafID == e_2GeV_14) store->set_2GeV_ECL(14, value);
822 if (leafID == e_2GeV_13) store->set_2GeV_ECL(13, value);
823 if (leafID == e_2GeV_12) store->set_2GeV_ECL(12, value);
824 if (leafID == e_2GeV_11) store->set_2GeV_ECL(11, value);
825 if (leafID == e_2GeV_10) store->set_2GeV_ECL(10, value);
826 if (leafID == e_2GeV_9) store->set_2GeV_ECL(9, value);
827 if (leafID == e_2GeV_8) store->set_2GeV_ECL(8, value);
828 if (leafID == e_2GeV_7) store->set_2GeV_ECL(7, value);
829 if (leafID == e_2GeV_6) store->set_2GeV_ECL(6, value);
830 if (leafID == e_2GeV_5) store->set_2GeV_ECL(5, value);
831 if (leafID == e_2GeV_4) store->set_2GeV_ECL(4, value);
832 if (leafID == e_2GeV_3) store->set_2GeV_ECL(3, value);
833 if (leafID == e_2GeV_2) store->set_2GeV_ECL(2, value);
834 if (leafID == e_2GeV_1) store->set_2GeV_ECL(1, value);
835 if (leafID == e_2GeV_0) store->set_2GeV_ECL(0, value);
836 if (leafID == e_1GeV_15) store->set_1GeV_ECL(15, value);
837 if (leafID == e_1GeV_14) store->set_1GeV_ECL(14, value);
838 if (leafID == e_1GeV_13) store->set_1GeV_ECL(13, value);
839 if (leafID == e_1GeV_12) store->set_1GeV_ECL(12, value);
840 if (leafID == e_1GeV_11) store->set_1GeV_ECL(11, value);
841 if (leafID == e_1GeV_10) store->set_1GeV_ECL(10, value);
842 if (leafID == e_1GeV_9) store->set_1GeV_ECL(9, value);
843 if (leafID == e_1GeV_8) store->set_1GeV_ECL(8, value);
844 if (leafID == e_1GeV_7) store->set_1GeV_ECL(7, value);
845 if (leafID == e_1GeV_6) store->set_1GeV_ECL(6, value);
846 if (leafID == e_1GeV_5) store->set_1GeV_ECL(5, value);
847 if (leafID == e_1GeV_4) store->set_1GeV_ECL(4, value);
848 if (leafID == e_1GeV_3) store->set_1GeV_ECL(3, value);
849 if (leafID == e_1GeV_2) store->set_1GeV_ECL(2, value);
850 if (leafID == e_1GeV_1) store->set_1GeV_ECL(1, value);
851 if (leafID == e_1GeV_0) store->set_1GeV_ECL(0, value);
853 if (leafID == e_wirecnt_tsf0) store->set_wirecnt_tsf0(value);
854 if (leafID == e_wirecnt_tsf1) store->set_wirecnt_tsf1(value);
855 if (leafID == e_wirecnt_tsf2) store->set_wirecnt_tsf2(value);
856 if (leafID == e_wirecnt_tsf3) store->set_wirecnt_tsf3(value);
857 if (leafID == e_wirecnt_tsf4) store->set_wirecnt_tsf4(value);
858 if (leafID == e_wirecnt_tsf5) store->set_wirecnt_tsf5(value);
859 if (leafID == e_wirecnt_tsf6) store->set_wirecnt_tsf6(value);
860 if (leafID == e_wirecnt_tsf7) store->set_wirecnt_tsf7(value);
861 if (leafID == e_wirecnt_tsf8) store->set_wirecnt_tsf8(value);
863 if (leafID == e_ml_tau_nn_output_0) store->set_ml_tau_nn_output_0(value);
864 if (leafID == e_ml_tau_nn_output_1) store->set_ml_tau_nn_output_1(value);
865 if (leafID == e_ml_tau_nn_output_2) store->set_ml_tau_nn_output_2(value);
866 if (leafID == e_ml_tau_nn_output_3) store->set_ml_tau_nn_output_3(value);
867 if (leafID == e_ml_tau_nn_output_4) store->set_ml_tau_nn_output_4(value);
868 if (leafID == e_ml_tau_nn_output_5) store->set_ml_tau_nn_output_5(value);
869 if (leafID == e_ml_tau_nn_output_6) store->set_ml_tau_nn_output_6(value);
870 if (leafID == e_ml_tau_nn_output_7) store->set_ml_tau_nn_output_7(value);
871 if (leafID == e_ml_tau_nn_output_8) store->set_ml_tau_nn_output_8(value);
872 if (leafID == e_ml_tau_nn_output_9) store->set_ml_tau_nn_output_9(value);
873 if (leafID == e_ml_tau_nn_input) store->set_ml_tau_nn_input(value);
875 if (leafID == e_theta_11) store->set_theta_ECL(11, value);
876 if (leafID == e_phi_11) store->set_phi_ECL(11, value);
877 if (leafID == e_t_11) store->set_t_ECL(11, value);
878 if (leafID == e_E_11) store->set_E_ECL(11, value);
879 if (leafID == e_theta_10) store->set_theta_ECL(10, value);
880 if (leafID == e_phi_10) store->set_phi_ECL(10, value);
881 if (leafID == e_t_10) store->set_t_ECL(10, value);
882 if (leafID == e_E_10) store->set_E_ECL(10, value);
883 if (leafID == e_theta_9) store->set_theta_ECL(9, value);
884 if (leafID == e_phi_9) store->set_phi_ECL(9, value);
885 if (leafID == e_t_9) store->set_t_ECL(9, value);
886 if (leafID == e_E_9) store->set_E_ECL(9, value);
887 if (leafID == e_theta_8) store->set_theta_ECL(8, value);
888 if (leafID == e_phi_8) store->set_phi_ECL(8, value);
889 if (leafID == e_t_8) store->set_t_ECL(8, value);
890 if (leafID == e_E_8) store->set_E_ECL(8, value);
891 if (leafID == e_theta_7) store->set_theta_ECL(7, value);
892 if (leafID == e_phi_7) store->set_phi_ECL(7, value);
893 if (leafID == e_t_7) store->set_t_ECL(7, value);
894 if (leafID == e_E_7) store->set_E_ECL(7, value);
895 if (leafID == e_theta_6) store->set_theta_ECL(6, value);
896 if (leafID == e_phi_6) store->set_phi_ECL(6, value);
897 if (leafID == e_t_6) store->set_t_ECL(6, value);
898 if (leafID == e_E_6) store->set_E_ECL(6, value);
899 if (leafID == e_X_1) store->set_X_1(value);
900 if (leafID == e_N_cluster_1) store->set_N_cluster_1(value);
901 if (leafID == e_ECL_trg_1) store->set_ECL_trg_1(value);
902 if (leafID == e_theta_5) store->set_theta_ECL(5, value);
903 if (leafID == e_phi_5) store->set_phi_ECL(5, value);
904 if (leafID == e_t_5) store->set_t_ECL(5, value);
905 if (leafID == e_E_5) store->set_E_ECL(5, value);
906 if (leafID == e_theta_4) store->set_theta_ECL(4, value);
907 if (leafID == e_phi_4) store->set_phi_ECL(4, value);
908 if (leafID == e_t_4) store->set_t_ECL(4, value);
909 if (leafID == e_E_4) store->set_E_ECL(4, value);
910 if (leafID == e_theta_3) store->set_theta_ECL(3, value);
911 if (leafID == e_phi_3) store->set_phi_ECL(3, value);
912 if (leafID == e_t_3) store->set_t_ECL(3, value);
913 if (leafID == e_E_3) store->set_E_ECL(3, value);
914 if (leafID == e_theta_2) store->set_theta_ECL(2, value);
915 if (leafID == e_phi_2) store->set_phi_ECL(2, value);
916 if (leafID == e_t_2) store->set_t_ECL(2, value);
917 if (leafID == e_E_2) store->set_E_ECL(2, value);
918 if (leafID == e_theta_1) store->set_theta_ECL(1, value);
919 if (leafID == e_phi_1) store->set_phi_ECL(1, value);
920 if (leafID == e_t_1) store->set_t_ECL(1, value);
921 if (leafID == e_E_1) store->set_E_ECL(1, value);
922 if (leafID == e_theta_0) store->set_theta_ECL(0, value);
923 if (leafID == e_phi_0) store->set_phi_ECL(0, value);
924 if (leafID == e_t_0) store->set_t_ECL(0, value);
925 if (leafID == e_E_0) store->set_E_ECL(0, value);
926 if (leafID == e_X_0) store->set_X_0(value);
927 if (leafID == e_N_cluster_0) store->set_N_cluster_0(value);
928 if (leafID == e_ECL_trg_0) store->set_ECL_trg_0(value);
929 if (leafID == e_ECL_trg) store->set_ECL_trg(value);
930 if (leafID == e_ECL_trg_delay) store->set_ECL_trg_delay(value);
931 if (leafID == e_N_track_cut) store->set_N_track_cut(value);
932 if (leafID == e_N_track_NN) store->set_N_track_NN(value);
933 if (leafID == e_N_track_3D) store->set_N_track_3D(value);
934 if (leafID == e_CDCL1_count) store->set_CDCL1_count(value);
935 if (leafID == e_phi_CDC_int_1) store->set_phi_CDC_int(1, value);
936 if (leafID == e_phi_CDC_int_0) store->set_phi_CDC_int(0, value);
937 if (leafID == e_phi_i_int_1) store->set_phi_i_int(1, value);
938 if (leafID == e_phi_i_int_0) store->set_phi_i_int(0, value);
939 if (leafID == e_N_track) store->set_N_track(value);
940 if (leafID == e_b2b_1to3) store->set_b2b_1to3(value);
941 if (leafID == e_b2b_1to5) store->set_b2b_1to5(value);
942 if (leafID == e_b2b_1to7) store->set_b2b_1to7(value);
943 if (leafID == e_b2b_1to9) store->set_b2b_1to9(value);
944 if (leafID == e_opening) store->set_opening(value);
945 if (leafID == e_samehem_1) store->set_samehem(1, value);
946 if (leafID == e_opphem_1) store->set_opphem(1, value);
947 if (leafID == e_c_b2b_1to9_1) store->set_c_b2b_1to9(1, value);
948 if (leafID == e_c_b2b_1to7_1) store->set_c_b2b_1to7(1, value);
949 if (leafID == e_c_b2b_1to5_1) store->set_c_b2b_1to5(1, value);
950 if (leafID == e_c_b2b_1to3_1) store->set_c_b2b_1to3(1, value);
951 if (leafID == e_tc_b2b_1to9_1) store->set_tc_b2b_1to9(1, value);
952 if (leafID == e_tc_b2b_1to7_1) store->set_tc_b2b_1to7(1, value);
953 if (leafID == e_tc_b2b_1to5_1) store->set_tc_b2b_1to5(1, value);
954 if (leafID == e_tc_b2b_1to3_1) store->set_tc_b2b_1to3(1, value);
955 if (leafID == e_TOPL1_count) store->set_TOPL1_count(value);
956 if (leafID == e_KLML1_count) store->set_KLML1_count(value);
957 if (leafID == e_sector_KLM_int) store->set_sector_KLM_int(value);
958 if (leafID == e_sector_CDC_int) store->set_sector_CDC_int(value);
959 if (leafID == e_N_KLMmatch) store->set_N_KLMmatch(value);
960 if (leafID == e_samehem_0) store->set_samehem(0, value);
961 if (leafID == e_opphem_0) store->set_opphem(0, value);
962 if (leafID == e_N_match_2GeV_0) store->set_N_match_2GeV(0, value);
963 if (leafID == e_N_match_0) store->set_N_match(0, value);
964 if (leafID == e_N_g_1GeV_0) store->set_N_g_1GeV(0, value);
965 if (leafID == e_N_g_2GeV_0) store->set_N_g_2GeV(0, value);
966 if (leafID == e_ECLL1_count) store->set_ECLL1_count(value);
967 if (leafID == e_c_b2b_1to9_0) store->set_c_b2b_1to9(0, value);
968 if (leafID == e_c_b2b_1to7_0) store->set_c_b2b_1to7(0, value);
969 if (leafID == e_c_b2b_1to5_0) store->set_c_b2b_1to5(0, value);
970 if (leafID == e_c_b2b_1to3_0) store->set_c_b2b_1to3(0, value);
971 if (leafID == e_tc_b2b_1to9_0) store->set_tc_b2b_1to9(0, value);
972 if (leafID == e_tc_b2b_1to7_0) store->set_tc_b2b_1to7(0, value);
973 if (leafID == e_tc_b2b_1to5_0) store->set_tc_b2b_1to5(0, value);
974 if (leafID == e_tc_b2b_1to3_0) store->set_tc_b2b_1to3(0, value);
975 if (leafID == e_CDC3DL1_count) store->set_CDC3DL1_count(value);
976 if (leafID == e_CDCNNL1_count) store->set_CDCNNL1_count(value);
977 if (leafID == e_slot_CDC_int) store->set_slot_CDC_int(value);
978 if (leafID == e_slot_TOP_int) store->set_slot_TOP_int(value);
979 if (leafID == e_N_TOPmatch) store->set_N_TOPmatch(value);
980 if (leafID == e_N_match_2GeV_1) store->set_N_match_2GeV(1, value);
981 if (leafID == e_N_match_1) store->set_N_match(1, value);
982 if (leafID == e_N_g_1GeV_1) store->set_N_g_1GeV(1, value);
983 if (leafID == e_N_g_2GeV_1) store->set_N_g_2GeV(1, value);
984 if (leafID == e_TSFL1_count) store->set_TSFL1_count(value);
985 if (leafID == e_map_TSF3_int_1) store->set_map_TSF3_int(1, value);
986 if (leafID == e_map_TSF3_int_0) store->set_map_TSF3_int(0, value);
987 if (leafID == e_map_TSF1_int_1) store->set_map_TSF1_int(1, value);
988 if (leafID == e_map_TSF1_int_0) store->set_map_TSF1_int(0, value);
989 if (leafID == e_N_ST) store->set_N_ST(value);
990 if (leafID == e_map_ST_int_1) store->set_map_ST_int(1, value);
991 if (leafID == e_map_ST_int_0) store->set_map_ST_int(0, value);
992 if (leafID == e_map_veto_int_1) store->set_map_veto_int(1, value);
993 if (leafID == e_map_veto_int_0) store->set_map_veto_int(0, value);
994 if (leafID == e_map_TSF4_int_1) store->set_map_TSF4_int(1, value);
995 if (leafID == e_map_TSF4_int_0) store->set_map_TSF4_int(0, value);
996 if (leafID == e_map_TSF2_int_1) store->set_map_TSF2_int(1, value);
997 if (leafID == e_map_TSF2_int_0) store->set_map_TSF2_int(0, value);
998 if (leafID == e_map_TSF0_int_1) store->set_map_TSF0_int(1, value);
999 if (leafID == e_map_TSF0_int_0) store->set_map_TSF0_int(0, value);
1000 if (leafID == e_charge_flag) store->set_charge_flag(value);
1001 if (leafID == e_charge_sum) store->set_charge_sum(value);
1002 if (leafID == e_revoclk) store->set_revoclk(value);
1003 if (leafID == e_aaaa) store->set_aaaa(value);
1004 if (leafID == e_evt) store->set_evt(value);
1005 if (leafID == e_clk) store->set_clk(value);
1006 if (leafID == e_firmid) store->set_firmid(value);
1007 if (leafID == e_firmver) store->set_firmver(value);
1008 if (leafID == e_coml1) store->set_coml1(value);
1009 if (leafID == e_b2ldly) store->set_b2ldly(value);
1010 if (leafID == e_maxrvc) store->set_maxrvc(value);
1028 virtual void event()
override;
1037 virtual void endRun()
override;
TRGGRLUnpackerModule()
Constructor.
bool m_pciedata
PCIe40 data or copper data.
virtual void initialize() override
Initializes TRGGRLUnpackerUnpackerModule.
virtual void event() override
Called event by event.
virtual void endRun() override
Called when run ended.
virtual void terminate() override
Called when processing ended.
virtual void beginRun() override
Called when new run started.
virtual ~TRGGRLUnpackerModule()
Destructor.
std::string version() const
returns version of TRGGRLUnpackerModule.
virtual void fillTreeTRGGRLUnpacker(int *buf, int evt)
Unpacker main function.
Abstract base class for different kinds of events.