Example Applications and Screenshots

Example Application of KiNOKO Using a MiniWire Chamber

Date: January 20th, 2002
System Used: SmallKinoko
Measurements by: REPIC - RinEi Precision Instruments Corporation

Points of Consideration

System of Measurement

We measured time distribution of the wire chamber using TDC.

Measurement Environment

CPU PentiumIII 1GHz
Memory 256MB
OS Linux 2.2 (RedHat Linux7.0J)
CAMAC Controller HOHSHIN CCP-F/PCI
Wire Chamber CMS-001(PM bought separately)
Module Used REPIC RPC-061(TDC)/RPC-360(CMS)/RPC-290(Discriminator)
iseg-CHQ203(HV)

figure: Mini Wire Chamber System

Readout Script

/* trial01.kts */

datasource Trial01
{
    int station_number;
    long readout_channels = #0..#7;

    CamacCrate crate;
    CamacController controller("Toyo-CC7x00");
    CamacModule tdc("Rinei-RPC060");
    CamacModule tdc2("Rinei-RPC060");
    CamacModule cms("Rinei-RPC360");
    
    crate.installController(controller);
    crate.installModule(tdc, station_number=7);
    crate.installModule(tdc2,station_number=8);
    crate.installModule(cms,station_number=6);

    on run_begin{
	cms.clearCounter();
	cms.startCounter();
	cms.writeRegister(0x0,0x01);
    }	

    on trigger(cms) {
	cms.read(#1);
        tdc.read(readout_channels);
	tdc2.read(readout_channels);
        tdc.clear();
	tdc2.clear();
	cms.writeRegister(0x0,0x01);
    }
}

View Script

/* trial01.kvs */

display Trial01
{
    Histogram histogram_tdc_00("TDC1 ch0-7", 0, 4000, 128);
    Histogram histogram_tdc_01("TDC2 ch0-7", 0, 4000, 128);

    ValueList valuelist_tdc_all("TDC1 values");
    ValueList valuelist_tdc_all2("TDC2 values");
    
    History history_cms_01("CMS ch 01",0,65565,60);

    sequence ViewTrial("Trial01") {
	DataElement tdc_00("tdc", 0);
	DataElement tdc_01("tdc2", 0);
	DataElement tdc_all("tdc");
        DataElement tdc_all2("tdc2");
	DataElement cms_01("cms", 1);

	histogram_tdc_00.take(tdc_all);
	histogram_tdc_01.take(tdc_all2);
	
	valuelist_tdc_all.takeOne(tdc_all);
	valuelist_tdc_all2.takeOne(tdc_all2);
	history_cms_01.take(cms_01);
    }
}

Screen Shot

screen shot

Conclusion

The study, evaluation, and testing of a wire chamber is possible with KiNOKO.  
The readout script and the view script can be completed in just a few lines so researchers are able to concentrate on their experiments.