> It seems that branchs in TTree which is created by ROME is not compressed.
>
> So I changed src/framework/XXEventLoop.cpp like
>
> .
> .
> .
> tree = new TTree("Trigger","Trigger");
> tree->Branch("Info","ROMETreeInfo",&fTreeInfo,32000,99);
> tree->GetBranch("Info")->SetCompressionLevel(1);
> tree->Branch("LPADCData","TClonesArray",gAnalyzer->GetLPADCDataObjectsAddress(),32000,99);
> tree->GetBranch("LPADCData")->SetCompressionLevel(1);
> .
> .
> .
>
> After this change, file size which was 739MB became 235MB.
Yes your right.
I added that. |