// Magma code for the lmfdb family of higher genus curves 5.60-5.0.3-3-5.1
// The results are stored in a list of records called 'data'

RecFormat:=recformat<group,gp_id, signature,gen_vectors,conj_classes,genus,dimension,r,g0, passport_label,gen_vect_label, is_hyperelliptic, hyp_involution, is_cyclic_trigonal,cyc_auto,full_auto, full_sign,topological_class,braid_class>;

data:=[];

// Create group as a permutation group, and generate data which is the same for all entries.
gp_id:=[60,5];
H:=SmallGroup(gp_id[1],gp_id[2]); n:=#H; LP:=[]; LG:=[g : g in H]; for i in [1..n] do x:=LG[i]; Tx:=[LG[j]*x : j in [1..n]]; permL:=[]; for j in [1..n] do for k in [1..n] do if Tx[j] eq LG[k] then permL[j]:=k;  break; end if; end for; end for; Append(~LP,permL); end for; G:=PermutationGroup<n|LP>; 
signature:=[0,3,3,5];
genus:=5;
r:=#signature-1;
g0:=signature[1];
dim:=3*g0-3+r;
S:=Sym(gp_id[1]);

// Here we add an action to data.
gen_vectors:=[[4, 21, 13, 42, 45, 9, 51, 3, 17, 20, 14, 36, 8, 27, 30, 19, 6, 38, 52, 55, 24, 41, 33, 2, 5, 29, 11, 23, 37, 40, 34, 56, 28, 47, 50, 39, 26, 58, 12, 15, 44, 1, 53, 22, 25, 49, 31, 43, 57, 60, 54, 16, 48, 7, 10, 59, 46, 18, 32, 35], [8, 42, 25, 19, 51, 13, 17, 55, 29, 36, 3, 27, 40, 44, 21, 58, 52, 10, 34, 46, 28, 2, 45, 39, 11, 33, 37, 15, 49, 56, 23, 47, 60, 4, 41, 18, 12, 30, 54, 6, 48, 22, 5, 59, 31, 53, 57, 35, 9, 16, 43, 7, 20, 24, 1, 38, 32, 50, 14, 26], [20, 44, 27, 31, 48, 30, 19, 42, 46, 58, 45, 29, 17, 56, 33, 35, 54, 12, 1, 43, 40, 4, 47, 51, 8, 50, 39, 2, 6, 18, 5, 49, 37, 16, 53, 55, 14, 32, 21, 3, 60, 24, 7, 11, 28, 10, 59, 22, 26, 38, 25, 9, 57, 36, 13, 15, 34, 52, 41, 23]];
cc:=[3,3,4];
gen_vectors_as_perm:=[S!perm : perm in gen_vectors];
passport_label:=1;
gen_vect_label:=1;
braid_class:=1;
topological_class:=[1, 1];
full_auto:=[120,35];
full_sign:=[0,2,3,10];
Append(~data, rec<RecFormat | group:=G, gp_id:=gp_id, signature:=signature, gen_vectors:=gen_vectors_as_perm, conj_classes:=cc, genus:=genus, dimension:=dim, r:=r, g0:=g0, passport_label:= passport_label,gen_vect_label:=gen_vect_label, braid_class:=braid_class, topological_class:=topological_class, full_auto:=full_auto, full_sign:=full_sign>);
