y2014 : simulation without IST

tests of simulation for y2014 without the IST

1) change in the geometry 
STARSIM has to be aware of the removal of IST.

a) in /pams/geometry/geometr/geometry.g  : line for the IST is commented
REPLACE [exe y2014;] with ["Y2014 first cut geometry"; 
    exe FGTDof;      "switch off FGT"; 
    exe TPCE04r;     "agstar version of yf model with reduced Rmax"; 
    exe BTOFv8;      "time of flight"; 
    exe CALB02;      "updated bemc model"; 
    exe ECALv6;      "several bugfixes in eemc geometry"; 
    exe EMCUTS(eemc,1);   "10 keV EM thresholds in barrel and endcap calorimeters"; 
    exe EMCUTS(bemc,1);   "10 keV EM thresholds in barrel and endcap calorimeters"; 
    exe BBCMon;      "beam beam counters"; 
    exe FPDMof;      "Latest version of FPD"; 
    exe VPDD07;      "Latest version of VPD"; 
    exe FTPCof;      "no FTPC"; 
    exe SVTTof;      "No SVT"; 
    exe PHMDof;      "Photon mult detector off"; 
    exe MUTD14;      "Muon telescope detector"; 
    exe CAVE05;      "Cave and tunnel"; 
    exe IDSM14;      "Inner detector support"; 
    exe SISD85;      "SSD version 7" 
    exe PIPEv3;      "The small diameter beam pipe"; 
    !//exe ISTD02;      "IST version 2"; 
    exe PXST01;      "PIXEL detector support version 1"; 
    exe PIXL06;      "Full config of the pixl detector"; 
    exe DTUB01;      "DTUB"; 
    exe PSUP01;      "1st version of pixl supports"; 
] 

b) then when using STARSIM to generate tracks, it knows that the IDS has no IST


c) create a y2014.h based on this geometry
  • cvs co $STAR/StarDb/AgiGeometry
  • cvs co $STAR/StarDb/AgMlGeometry
  • load y2014 geometry within STARSIM and save it as y2014.rz
  • g2root y2014.rz : it creates a y2014.C file 
  • move y2014.C into 1) .h 2) in STAR/StarDb/AgiGeometry

2) changes in the reconstruction environment
a) the ROOT geometry also has to be aware of the removal of IST.
In /StarVMC/Geometry/macros/StarDbGeometryDb.C : IST flag is commented

geom.select = "y2014"; { 
    geom.tpcRefSys = true; // set reference system for TPC 
    // ================================================ 
    geom.caveFlag = "CAVE05";  geom.caveStat = 1; 
    // ================================================ 
    geom.sconFlag = "SCONof";  geom.sconStat = 0; 
    geom.ftroFlag = "FTROof";  geom.ftroStat = 0; 
    geom.ftpcFlag = "FTPCof";  geom.ftpcStat = 0; 
    geom.svttFlag = "SVTTof";  geom.svttStat = 0; 
    geom.phmdFlag = "PHMDof";  geom.phmdStat = 0; 
    geom.fpdmFlag = "FPDMof";  geom.fpdmStat = 0; 
    geom.fgtdFlag = "FGTDof";  geom.fgtdStat = 0; 
    // ================================================ 
    geom.tpceFlag = "TPCE04r"; geom.tpceStat = 1; 
    geom.btofFlag = "BTOFv8";  geom.btofStat = 1; 
    geom.calbFlag = "CALB02";  geom.calbStat = 1; geom.calbCuts = 1; 
    geom.ecalFlag = "ECALv6";  geom.ecalStat = 1; geom.ecalCuts = 1; 
    geom.bbcmFlag = "BBCMon";  geom.bbcmStat = 1; 
    geom.vpddFlag = "VPDD07";  geom.vpddStat = 1; 
    geom.mutdFlag = "MUTD14";  geom.mutdStat = 1; 
    geom.pipeFlag = "PIPEv3";  geom.pipeStat = 1; 
    geom.sisdFlag = "SISD85";  geom.sisdStat = 1; 
    // ================================================ 
    geom.pixlFlag = "PIXL06";  geom.pixlStat = 1; 
    //geom.istdFlag = "ISTD02";  geom.istdStat = 1; 
    // ================================================ 
    geom.pxstFlag = "PXST01";  geom.pxstStat = 1; 
    geom.dtubFlag = "DTUB01";  geom.dtubStat = 1; 
    geom.psupFlag = "PSUP01";  geom.psupStat = 1; 
    geom.dtubFlag = "DTUB01";  geom.dtubStat = 1; 
    geom.idsmFlag = "IDSM14";  geom.idsmStat = 1; 
    // ================================================ 
    // 
    setTitle("Y2014 first cut geometry"); 
    // 
    // ================================================ 
    geom.fill(); 
  }; 

## UPDATE 09/23 ##

1) create geometry for starsim by modifying a local version /pams/geometry/geometry/geometry.g
2)create the same geometry for the reconstruction by modidying the geometry in /StarVMC/Geometry/macros/StarDbGeometry.C
(and setting the ststus to 0)
root4star [0] .L StarVMC/Geometry/macros/loadStarGeometry.C
root4star [1] loadStarGeometry( "y2014a" )
StInfo: 
StInfo:   Geometry: AgML constructing geometry tag y2014a
StInfo: 
StInfo:   Geometry: cave: CAVE05 magp: MAGPv1 pipe: PIPEv3 bbcm: BBCMon
StInfo:   Geometry: vpdd: VPDD07 zcal: ZCALon btof: BTOFv8 mutd: MUTD14
StInfo:   Geometry: phmd: PHMDof svtt: SVTTof sisd: SISD85 scon: SCONof
StInfo:   Geometry: idsm: IDSM14 ftpc: FTPCof ftro: FTROof fgtd: FGTDof
StInfo:   Geometry: calb: CALB02 ecal: ECALv6 fpdm: FPDMof upst: UPSTon
StInfo:   Geometry: fsce: FSCEof eidd: EIDDof istd: ISTD02 pxst: PXST01
StInfo:   Geometry: hcal: HCALof
StInfo: 
StInfo:   Geometry: AgML/Geometry creating module CaveGeo2
StInfo:   Geometry: AgML/Geometry setting top module CaveGeo2 / volume HALL
StInfo:   CaveGeo2:   [ Runtime data assignment cvcf.config = 5 (int) ]
StInfo:   CaveGeo2:   [ Runtime data assignment cvcf.tpcrefsys = 1 (int) ]
StInfo:   CaveGeo2: CaveGeo Module is called CONFIG=  5
StInfo:   Geometry: AgML/Geometry creating module MagpGeo
StInfo:    MagpGeo:   [ Runtime data assignment magg.version = 2 (float) ]
StInfo:   Geometry: AgML/Geometry creating module BbcmGeo
StInfo:   Geometry: AgML/Geometry creating module VpddGeo2
StInfo:   VpddGeo2:   [ Runtime data assignment vpdv.vpdconfig = 7 (float) ]
StInfo:   Geometry: AgML/Geometry creating module ZcalGeo
StInfo:   Geometry: AgML/Geometry creating module BtofGeo8
StInfo:   BtofGeo8:   [ Runtime data assignment btog.choice = 13 (float) ]
StInfo:   Geometry: AgML/Geometry creating module MutdGeo5
StInfo:   MutdGeo5:   [ Runtime data assignment mtdg.config = 14 (float) ]
StInfo:       MUTD: Number of MTD trays placed=122
StInfo:   Geometry: AgML/Geometry creating module TpceGeo3a
StInfo:  TpceGeo3a:   [ Runtime data assignment tpcc.version = 3.1 (float) ]
StInfo:  TpceGeo3a:   [ Runtime data assignment tpcg.rmax = 207.77 (float) ]
StInfo:   Geometry: AgML/Geometry creating module IdsmGeo2
StInfo:   IdsmGeo2:   [ Runtime data assignment idsc.version = 14 (float) ]
StInfo:   IdsmGeo2: Inner Detector Support Module with IDSC.version = 14.00
StInfo:   Geometry: AgML/Geometry creating module PipeGeo3
StInfo:   PipeGeo3:   [ Runtime data assignment pipv.pipeflag = 1 (int) ]
StInfo:   Geometry: AgML/Geometry creating module DtubGeo1
StInfo:   Geometry: AgML/Geometry creating module IstdGeo1
StInfo:   Geometry: AgML/Geometry creating module PxstGeo1
StInfo:   Geometry: AgML/Geometry creating module PsupGeo

StInfo:   Geometry: AgML/Geometry creating module CalbGeo2
StInfo:   CalbGeo2:   [ Runtime data assignment ccut.absorber = 1 (float) ]
StInfo:   CalbGeo2:   [ Runtime data assignment ccut.sensitive = 1 (float) ]
StInfo:   Geometry: AgML/Geometry creating module EcalGeo6
StInfo:   EcalGeo6:   [ Runtime data assignment emcg.onoff = 1 (int) ]
StInfo:   EcalGeo6:   [ Runtime data assignment emcg.fillmode = 3 (int) ]
StInfo:   Geometry: AgML/Geometry creating module UpstGeo
root4star [2] gGeoManager->Export( "y2014a.C" )
(Int_t)1