function[pname,fname,thresholdPercent,riseTimeMin,riseTimeMax,fwhmMin,fwhmMax,ampMin,ampMax,FW3Mcutoff,flat]=L2Params(whichset)

    
    if(whichset==2)
    
%         pname = '/Volumes/NO NAME/MCP measurements/5-27_MCPscriptbasedMeasurementsy72-78/';
%         fname = '1000_2300_3600_20mVscale_centered_CH2max_'         

        pname = '/home/preston/matlabs3/bin/workspaces/L1_processed/5-27_MCPscriptbasedMeasurementsy72-78/';
        fname = '1000_2300_3600_20mvsc/1000_2300_3600_20mVsc_centered_CH2max_pt3.mat'; 
        
        %flat is 0 if doesnt saturate scale, 1 if it does
        flat=0;
        
%         pname = '/home/preston/matlabs3/bin/workspaces/debug/';
%         fname = 'debug.mat';        

        thresholdPercent = .2;
        
        riseTimeMin=0;
        riseTimeMax=1e-9;
        
        fwhmMin=.2e-9;
        fwhmMax=3e-9;
        
        ampMin=1e5;
        ampMax=2e7;
        
        % for double humps
        FW3Mcutoff=3e-9;
        

    end


%     if(whichset==3)
%     
%         pname = '/Volumes/NO NAME/MCP measurements/4-23-10_MCP_72-78/';
%         fname = '1100_2400_3700_20mVscale_5k_';
%     
%         swv=1;
%         nwvs=10;
%         cutlow = 1;
%         cuthigh =1;
%         lowcut = .065;
%         uppercut = 0.2;
%         lowtime = -1.5e-9;
%         hightime = 3.0e-9;
%         FWHMcut = 1.0e-9;
%         zeroORmax=1;
%         uppercut=0;
%     end
end
